billing_info object — REQUIREDBilling information relevant to a sale. It is used to register the sale composition and calculate amounts for the authorization request. Multiple formats are supported to accommodate different experiences. currency string — REQUIRED | totals objectThis object provides an overview of the sale amounts. You can use either the totals object or the items object, but not both, to report taxes and withholdings. Taxes and withholdings reported in one must not be duplicated in the other. taxes object[]amount float — REQUIREDTotal tax amount, as displayed to the payer. Taxes are assumed to be included in the gross amount. | key string — REQUIREDUnique identifier for the tax in the platform. Required for validation and authorization. | percentage float — REQUIREDTax percentage applied to the sale or item. Required for validations. | label stringDescriptive name for the tax, used in receipts and transaction history. |
| gross objectamount float — REQUIREDGross total amount to be authorized by the processor. It may be adjusted based on financial costs. | label stringDescriptive label for the total amount, used in receipts, transaction history, and reports. |
|
| items object[]Detailed breakdown of the items in the sale. If provided, the total gross amount sent to the processor will be calculated as the sum of all item gross amounts. Taxes and withholdings may be specified at the item level or in the totals object, but not both. gross_amount float — REQUIREDTotal price of the item, including applicable taxes and withholdings. This amount contributes to the total gross sale amount. | label string — REQUIREDInformative description of the item. Displayed on vouchers, history, etc. | quantity int — REQUIREDNumber of units of this item in the sale. Used along with gross_amount to determine the total amount for authorization. | reference stringUnique reference identifier for the item, if applicable to a catalog sale. Its requirement depends on platform settings. | taxes object[]Taxes related to the item. If provided, all item taxes will be summarized for the authorization request. amount float — REQUIREDTotal tax amount, as displayed to the payer. Taxes are assumed to be included in the gross amount. | key string — REQUIREDUnique identifier for the tax in the platform. Required for validation and authorization. | percentage float — REQUIREDTax percentage applied to the sale or item. Required for validations. | label stringDescriptive name for the tax, used in receipts and transaction history. |
|
| tip objectamount float — REQUIREDTotal tip amount. If the sale includes tips, it should always be sent in this field. |
|
|