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

code
number

Indicates whether the call was successful. 0 if successful, error code if not.

message
string

Status message on outcome of the API call

data
object

The contents of the account