v1
latestOpenAPI 3.0.02026-07-242035712.0 MBAccount
Create Account
<ul> <li class="docBullet">Allows to create an account in the Paymentology ledger.</li> <li class="docBullet">The user can, optionally, create an external reference for this account should they require.</li> <li class="docBullet">All accounts must sit within an account hierarchy in the ledger. This means that a parent account must be provided by the user.</li> <li class="docBullet">The new account is then a child of the parent account.</li> <li class="docBullet">This hierarchy is beneficial to the user as it allows accounts to be related as wallets and allows for reporting at multiple hierarchy levels.</li> </ul>post/pws/pws_create_account/
Request body
Example request
{
"ac_bill_ccy": "048",
"ac_parent_id": 542283189,
"ac_set_ccy": "826",
"account_name": "Joe Blogs",
"api_call_unique_identifier": "438574845790657485",
"client_id": 760131,
"ac_desc": "New account Desc",
"ac_ext_ref": "0",
"crd_prdct_id": 2,
"ac_level": 2,
"cu_id": 583198689,
"branch_name": "pokhara"
}Response
Successful Response
Example response
{
"header": {
"error_desc": "success"
},
"body": {
"ac_id": 9876542
}
}