curl --location --request GET 'https://api.xente.co/transactions/{id}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
{
"code": 0,
"message": "Transaction retrieved successfully",
"data": {
"transactionId": "673cb118-fa10-462c-e1c0-08dc377e93f9",
"requestId": "323333543589",
"batchId": "batch5678",
"accountNumber": "6",
"name": null,
"currency": "UGX",
"amount": -1000.00,
"transactionType": "PAYOUT",
"product": {
"id": "MTNMOBILEMONEYPAYOUTUG",
"name": "Send mobile money"
},
"beneficiary": {
"id": "1223",
"name": "Jane Doe",
"data": {
"CustomerReference": "+1234567890",
"CustomerPhone": "+1234567890",
"CustomerEmail": "johndoe@example.com",
"Memo": "Payment received for invoice #1234"
}
}
}
}
This endpoint gets a transaction using a transactionId.
curl --location --request GET 'https://api.xente.co/transactions/{id}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
{
"code": 0,
"message": "Transaction retrieved successfully",
"data": {
"transactionId": "673cb118-fa10-462c-e1c0-08dc377e93f9",
"requestId": "323333543589",
"batchId": "batch5678",
"accountNumber": "6",
"name": null,
"currency": "UGX",
"amount": -1000.00,
"transactionType": "PAYOUT",
"product": {
"id": "MTNMOBILEMONEYPAYOUTUG",
"name": "Send mobile money"
},
"beneficiary": {
"id": "1223",
"name": "Jane Doe",
"data": {
"CustomerReference": "+1234567890",
"CustomerPhone": "+1234567890",
"CustomerEmail": "johndoe@example.com",
"Memo": "Payment received for invoice #1234"
}
}
}
}
Show Toggle object
curl --location --request GET 'https://api.xente.co/transactions/{id}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
{
"code": 0,
"message": "Transaction retrieved successfully",
"data": {
"transactionId": "673cb118-fa10-462c-e1c0-08dc377e93f9",
"requestId": "323333543589",
"batchId": "batch5678",
"accountNumber": "6",
"name": null,
"currency": "UGX",
"amount": -1000.00,
"transactionType": "PAYOUT",
"product": {
"id": "MTNMOBILEMONEYPAYOUTUG",
"name": "Send mobile money"
},
"beneficiary": {
"id": "1223",
"name": "Jane Doe",
"data": {
"CustomerReference": "+1234567890",
"CustomerPhone": "+1234567890",
"CustomerEmail": "johndoe@example.com",
"Memo": "Payment received for invoice #1234"
}
}
}
}