Accounts
Get Account
Accounts
Transactions
Cards
Mobile Money
Bank Transfers
Airtime
Internet
Bills
People
Accounts
Get Account
This endpoint gets your Xente account details
GET
/
api
/
accounts
curl --location --request GET 'https://api.xente.co/v2/accounts/{id}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
{
"code": 0,
"message": "Account retrieved successfully",
"data": {
"accountNumber": 6,
"name": "Enaf Tech",
"description": "Enaf Tech",
"balance": 4000.00,
"currency": "UGX"
}
}
Response
Indicates whether the call was successful. 0 if successful, error code if not.
Status message on outcome of the API call
curl --location --request GET 'https://api.xente.co/v2/accounts/{id}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
{
"code": 0,
"message": "Account retrieved successfully",
"data": {
"accountNumber": 6,
"name": "Enaf Tech",
"description": "Enaf Tech",
"balance": 4000.00,
"currency": "UGX"
}
}
curl --location --request GET 'https://api.xente.co/v2/accounts/{id}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
{
"code": 0,
"message": "Account retrieved successfully",
"data": {
"accountNumber": 6,
"name": "Enaf Tech",
"description": "Enaf Tech",
"balance": 4000.00,
"currency": "UGX"
}
}