Skip to main content
The Payment object contains all the information needed to process a payment transaction.

Properties

FieldTypeRequiredDescription
amountnumberPayment amount in the smallest currency unit (e.g., cents for USD)
currencystringISO 4217 currency code (e.g., “USD”, “EUR”)
paymentMethodPaymentMethodThe chosen payment method details (e.g., card)
merchantReferencestringMerchant’s unique identifier for this payment (idempotency/business tracking)
goodsTypestringType of goods being purchased
Values: PHYSICAL (tangible items), DIGITAL (non-physical items), MIXED (combination of both)
productItemsarray of ProductItemList of product or service items included in this payment
captureNowbooleanDetermines how the payment is processed
Behavior: false (default) - Authorization only, true - Sale (authorize and capture in one step)
descriptorstringText shown on the customer’s bank statement (e.g., merchant or product name)
consumerConsumerConsumer details such as name, email, phone
billingBillingBilling address information
shippingShipping⚠️Shipping address and recipient details. Required when goodsType is not "DIGITAL"
previousFailuresarray of PreviousFailureArray of previous failed payment attempts with other providers. Providing this context can help improve approval rates when retrying payments