Payments
Fetch a payment by its transaction ID
This will fetch the given payment associated with this transaction id. Single payment transaction IDs begin with tbx-
get/payments/{txnId}?type=txn_id
Path parameters
txnIdstring required
Example:tbx-55fff4107740a1f40d844ff89607557f45bfafb3
The payment reference to fetch.
Response
Payment fetched successfully.
Example response
{
"transaction_id": "tbx-26929122a56954-0e15be",
"status": {
"id": 1,
"description": "Complete"
},
"payment_sequence": "oneoff",
"created_at": "2022-10-19T15:49:15.000000Z",
"price": {
"amount": 5.35,
"currency": "USD"
},
"fees": {
"tax": {
"currency": "USD"
},
"gateway": {
"amount": 0.45,
"currency": "USD"
}
},
"customer": {
"first_name": "Test",
"last_name": "Test",
"email": "test@test.com",
"ip": "1.2.3.4",
"country": "TS"
}
}