Skip to main content

Our structure

In this API, the total transaction value, sent in the amount field, is composed of the following parts:
  • shippingFee: transaction shipping fee, in BRL.
  • extraFee: other fees, such as installment fees, in BRL.
  • discount: transaction discount, in BRL.
  • products[n].price: product price, in BRL.
  • products[n].quantity: product quantity.

How to calculate

To correctly calculate the total order amount, sum each product price multiplied by its quantity, add shipping, add extra fees, and subtract the discount.

Formula