Skip to main content
GET
/
api
/
transactions
/
{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"
            }
        }
    }
}

Documentation Index

Fetch the complete documentation index at: https://docs.xente.co/llms.txt

Use this file to discover all available pages before exploring further.

Query

id
string
This is the ID of the transaction

Response

success
number
Indicates whether the call was successful. 1 if successful, 0 if not.
data
object
The contents 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"
            }
        }
    }
}