Get a transaction by order ID. Every order that has been paid has a transaction associated with it. This endpoint returns the transaction details for a given order ID.
The API key to authenticate requests provided by Roastify. A Base or Pro plan is required to use the API.
The Id of the order
1"1ef87e47-266e-466f-ab06-a64994aefbb0"
Get a transaction by order ID
The date the transaction was created
"2021-08-25T20:00:00.000Z"
The order ID associated with the transaction
"65df6d09eb81B03ab600782c"
The amount of the transaction in cents. Ex: 1000 = $10.00
1000
The currency of the transaction
"USD"
The payment status of the transaction
"paid"
The payment method used for the transaction
"card"
Enum for the type of transaction, either balanceTransaction or paymentIntent. BalanceTransaction is used for adjusting the customer's balance. PaymentIntent is used for processing payments using the customer's default payment method.
balanceTransaction, paymentIntent, subscription "balanceTransaction"