Order Transaction
Requires access scope or
access scope.
The object represents a payment transaction that's associated with an order. An order
transaction is a specific action or event that happens within the context of an order, such as a customer paying
for a purchase or receiving a refund, or other payment-related activity.
Use the object to capture the complete lifecycle of a payment, from initial
authorization to final settlement, including refunds and currency exchanges. Common use cases for using the
object include:
- Processing new payments for orders
- Managing payment authorizations and captures
- Processing refunds for returned items
- Tracking payment status and errors
- Managing multi-currency transactions
- Handling payment gateway integrations
Each object has a
kind
that defines the type of transaction and a status
that indicates the current state of the transaction. The object stores detailed information about payment
methods, gateway processing, and settlement details.
Learn more about payment processing and payment gateway integrations.
Anchor to FieldsFields
- Anchor to accountNumberaccount•String
Number The masked account number associated with the payment method.
- Anchor to amountRoundingSetamount•Money
Rounding Set Bag The rounding adjustment applied on the cash amount in shop and presentment currencies.
- Anchor to amountSetamount•Money
Set Bag! non-null The amount and currency of the transaction in shop and presentment currencies.