- GETGet Account
- GETGet cards
- GETGet a card
- POSTPost a Card
- PATCHPatch a card
- PATCHPatch a card
- PATCHPatch a card
- DELDelete a card
- POSTPost mobile money
- POSTPost bank transfer
- POSTPost airtime
- POSTPost mobile internet
- POSTPost bill pay
- GETGet person
Accounts
Cards
Mobile Money
Bank Transfers
Airtime
Internet
Bills
People
Get transaction
This endpoint gets a transaction using a transactionId.
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
This is the ID of the transaction
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"
}
}
}
}
Query
This is the ID of the transaction
Response
Indicates whether the call was successful. 1 if successful, 0 if not.
The contents of the transaction
The unique id of the transaction
The id that your system uses to identify the transaction
The batch id of the transaction. This is useful if it was sent as part of a bulk/batch payment
This is the name of the user group provided in the request body.
name of person or business that did transaction
Currency of the transaction
Amount of the transaction
fees on the transaction
Who initiated the transaction
Who approved the transaction
Documents attached to transaction
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"
}
}
}
}