Getting Started
Ledger Balances
Transactions
Identities
Create Account
POST
/
accounts
curl --request POST \
--url http://localhost:5001/accounts \
--header 'Content-Type: application/json' \
--data '{
"bank_name": "Bknk bank",
"number": "30888334",
"balance_id": "bln_0be360ca-86fe-457d-be43-daa3f966d8f0",
"identity_id": "idt_0b5f333d-e0b8-4422-8e0e-5d41a767f1db"
}'
{
"account_id": "acc_463b25b8-7b24-4e8b-aa49-7844d9074019",
"name": "Chijioke Adeola",
"number": "294364850431",
"bank_name": "Blnk Bank",
"currency": "NGN",
"created_at": "2024-02-20T05:35:55.720731136Z",
"balance_id": "bln_0be360ca-86fe-457d-be43-daa3f966d8f0",
"identity_id": "idt_0b5f333d-e0b8-4422-8e0e-5d41a767f1db",
"ledger_id": "ldg_073f7ffe-9dfd-42ce-aa50-d1dca1788adc",
"meta_data": null,
"ledger": null,
"balance": null,
"identity": null
}
Body
application/json
The body is of type object
.
Response
201 - application/json; charset=utf-8
Created
The response is of type object
.
Was this page helpful?
curl --request POST \
--url http://localhost:5001/accounts \
--header 'Content-Type: application/json' \
--data '{
"bank_name": "Bknk bank",
"number": "30888334",
"balance_id": "bln_0be360ca-86fe-457d-be43-daa3f966d8f0",
"identity_id": "idt_0b5f333d-e0b8-4422-8e0e-5d41a767f1db"
}'
{
"account_id": "acc_463b25b8-7b24-4e8b-aa49-7844d9074019",
"name": "Chijioke Adeola",
"number": "294364850431",
"bank_name": "Blnk Bank",
"currency": "NGN",
"created_at": "2024-02-20T05:35:55.720731136Z",
"balance_id": "bln_0be360ca-86fe-457d-be43-daa3f966d8f0",
"identity_id": "idt_0b5f333d-e0b8-4422-8e0e-5d41a767f1db",
"ledger_id": "ldg_073f7ffe-9dfd-42ce-aa50-d1dca1788adc",
"meta_data": null,
"ledger": null,
"balance": null,
"identity": null
}