Accounts
Accounts represent financial containers used to hold and manage funds.
Each account can store balances
, receive or send funds, and be associated with a specific user or organization. Accounts can be created, updated, and deleted via the API
, and are identified by a unique ID.
Use the Accounts API to list all accounts, create new ones, retrieve details of a specific account, update metadata, or delete an account when it’s no longer needed.
GET /accounts
POST /accounts
GET /accounts/:id
PATCH /accounts/:id
DELETE /accounts/:id
Schema representing an internal account used for handling financial operations within the system.
Unique identifier for the internal account.
Identifier linking the internal account to an organization or user.
External reference identifier for integrations.
The type of internal account.
Indicates the custody type managing the internal account.
Total balance available in the internal account.
^\d+(\.\d+)?$
Amount of funds available for transactions.
^\d+(\.\d+)?$
The currency in which the internal account operates. Please check "currencies" page.
A friendly name assigned to the internal account.
Internal reference number for the account.
Name of the entity or user owning the internal account.
The current status of the account (e.g., PENDING, ACTIVE, BLOCKED).
Identifier of the parent account if this is a sub-account.
The account object
{
"id": "text",
"identityId": "text",
"externalId": "text",
"type": "CHECKING",
"custody": "text",
"balance": "text",
"availableFunds": "text",
"currency": "text",
"name": "text",
"accountNumber": "text",
"accountHolder": "text",
"status": "text",
"parentId": "text",
"subAccounts": {
"balance": "text",
"availableFunds": "text"
},
"custodyBankAccount": {
"accountNumber": "text",
"bank": "text",
"currency": "text",
"typeAccount": "text",
"country": "text"
}
}
Parent's account Id
Account number of the specific account
External Id of the specific account
Identity Id owner of the account
The type of internal account.
Country of operations for the entity, specified using the ISO 3166-1 alpha-3 standard (e.g., CHL
, USA
, MEX
). Go to the countries page for the complete list of supported values.
Status of the account
Created at start (DD/MM/YYYY)
Created at end (DD/MM/YYYY)
Specifies the maximum number of items to return in a single request.
A cursor indicating the position of the last retrieved item.
A cursor indicating how many items to skip from the request
The API key used for authentication when making requests to the API Gateway.
Identifies the application making the request.
GET /accounts HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: text
User-Agent: text
Accept: */*
{
"pagination": {
"pagination": {
"count": 1,
"next": 1,
"previous": 1,
"total": 1
},
"results": [
{
"id": "text",
"identityId": "text",
"externalId": "text",
"type": "CHECKING",
"custody": "text",
"balance": "text",
"availableFunds": "text",
"currency": "text",
"name": "text",
"accountNumber": "text",
"accountHolder": "text",
"status": "text",
"parentId": "text",
"subAccounts": {
"balance": "text",
"availableFunds": "text"
},
"custodyBankAccount": {
"accountNumber": "text",
"bank": "text",
"currency": "text",
"typeAccount": "text",
"country": "text"
}
}
]
}
}
The API key used for authentication when making requests to the API Gateway.
Identifies the application making the request.
ConomyApp/2.1.1
Identifier linking the internal account to an organization or user.
External reference identifier for integrations.
The type of internal account.
Indicates the custody type managing the internal account.
The currency in which the internal account operates. Please check "currencies" page.
A friendly name assigned to the internal account.
Identifier of the parent account if this is a sub-account.
POST /accounts HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: text
User-Agent: text
Content-Type: application/json
Accept: */*
Content-Length: 178
{
"identityId": "069b63ba-a8cd-4b0e-bb2f-ffc7d71f2dac",
"externalId": "1",
"type": "real",
"currency": "PKR",
"name": "Auto Loan Account",
"parentId": "a3f87719-1dd7-46c7-9953-e0f3a71542a3"
}
{
"id": "text",
"identityId": "text",
"externalId": "text",
"type": "CHECKING",
"custody": "text",
"balance": "text",
"availableFunds": "text",
"currency": "text",
"name": "text",
"accountNumber": "text",
"accountHolder": "text",
"status": "text",
"parentId": "text",
"subAccounts": {
"balance": "text",
"availableFunds": "text"
},
"custodyBankAccount": {
"accountNumber": "text",
"bank": "text",
"currency": "text",
"typeAccount": "text",
"country": "text"
}
}
Endpoint to get the accounts by a certain filter, could be the id, identityId, accountNumber.
Unique identifier for the account.
The API key used for authentication when making requests to the API Gateway.
Identifies the application making the request.
ConomyApp
GET /accounts/{id} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: text
User-Agent: text
Accept: */*
{
"id": "text",
"identityId": "text",
"externalId": "text",
"type": "CHECKING",
"custody": "text",
"balance": "text",
"availableFunds": "text",
"currency": "text",
"name": "text",
"accountNumber": "text",
"accountHolder": "text",
"status": "text",
"parentId": "text",
"subAccounts": {
"balance": "text",
"availableFunds": "text"
},
"custodyBankAccount": {
"accountNumber": "text",
"bank": "text",
"currency": "text",
"typeAccount": "text",
"country": "text"
}
}
Unique identifier for the account.
The API key used for authentication when making requests to the API Gateway.
Identifies the application making the request.
PATCH /accounts/{id} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: text
User-Agent: text
Content-Type: application/json
Accept: */*
Content-Length: 20
{
"status": "BLOCKED"
}
{
"id": "text",
"identityId": "text",
"externalId": "text",
"type": "CHECKING",
"custody": "text",
"balance": "text",
"availableFunds": "text",
"currency": "text",
"name": "text",
"accountNumber": "text",
"accountHolder": "text",
"status": "text",
"parentId": "text",
"subAccounts": {
"balance": "text",
"availableFunds": "text"
},
"custodyBankAccount": {
"accountNumber": "text",
"bank": "text",
"currency": "text",
"typeAccount": "text",
"country": "text"
}
}
Unique identifier for the account.
The API key used for authentication when making requests to the API Gateway.
Identifies the application making the request.
ConomyApp
DELETE /accounts/{id} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
x-api-key: text
User-Agent: text
Accept: */*
{}
Last updated