v1
latestOpenAPI 3.1.02026-07-228956435.8 KBAccounts
Create an account
Creates an account for an entity of your organization, in the live or test mode of the API key used.
post/accounts
Request body
Example request
{
"entity_id": "ent_2eGhTp1rLqWnXkZbYc4JsKmAvD9",
"description": "Main collection account"
}Response
The created account.
Example response
{
"id": "acc_2daFu0zqqDtZGJaSi2TGI2Mm1nN",
"available_balance": 1050000,
"currency": "MXN",
"description": "Main collection account",
"entity": {
"id": "ent_2eGhTp1rLqWnXkZbYc4JsKmAvD9",
"holder_id": "000000000",
"holder_name": "Test Customer 1",
"is_root": true
},
"is_root": true,
"mode": "test",
"root_account_number": "646180111800000000",
"root_account_number_id": "acno_2fJkRm7tBvQxNzYpLc5WsHaDfT3",
"status": "active"
}