Skip to main content
InputObject

Input Fields

fees
Any fee amounts.
totalAmount
required
The requested amount intended to be collected by this transaction. A positive decimal with precision depending on transaction currency. For example: $10.00 would be 10.00 or 10.
currency
required
The purchasing currency code of the request amount.
baseAmount
The base transaction amount intended to be collected by this payment not including any cashback, gratuity, fees, or taxes.
subtotalAmount
The sum of all item costs in the transaction before applying any additional charges such as taxes, or fees. Must be a non-negative value.
cashBackAmount
The cash back amount. Must be a non-negative value.
gratuityAmount
The gratuity amount. Must be a non-negative value.
totalTaxAmount
The total amount of all taxes for this payment transaction request. Must be present if either local or national tax are present. Must be a non-negative value.
localTaxAmount
The total amount of local tax for this payment transaction request. Local tax is imposed by municipal, city, or regional governments and may include sales tax, service tax, or other location-based levies applicable to the transaction. Must be a non-negative value.
nationalTaxAmount
The total amount of national tax for this payment transaction request. National tax is a government-imposed tax at the federal or country level, such as Goods and Services Tax (GST), or federal sales tax. Must be a non-negative value.
discountAmount
Total discount amount applied to the order. Must be a non-negative value.
dutyAmount
Total charges for any import or export duties included in the order. Must be a non-negative value.
shippingAmount
Total shipping charges for the transaction. Must be a non-negative value.
{
  "fees": [
    PaymentFeeInput
  ],
  "totalAmount": Decimal,
  "currency": "USD",
  "baseAmount": DecimalAmount,
  "subtotalAmount": DecimalAmount,
  "cashBackAmount": DecimalAmount,
  "gratuityAmount": DecimalAmount,
  "totalTaxAmount": Decimal,
  "localTaxAmount": Decimal,
  "nationalTaxAmount": Decimal,
  "discountAmount": Decimal,
  "dutyAmount": Decimal,
  "shippingAmount": Decimal
}