Successful Payment

class bale.SuccessfulPayment(currency, total_amount, invoice_payload=None, shipping_option_id=None)

Bases: object

This object contains basic information about a successful payment.

currency

The currency in which the transaction was made.

Type:

str

total_amount

The total sum of the transaction amount.

Type:

int

invoice_payload

Bot specified invoice payload.

Type:

Optional[str]

shipping_option_id

Identifier of the shipping option chosen by the user.

Type:

Optional[str]

property payload

Aliases for invoice_payload