Ledger API - Accounts
Create account
post/pty/account/v1/pws_create_account
Request
- Base URLhttps://api.uat.paymentology.com
- URLhttps://api.uat.paymentology.com/pty/account/v1/pws_create_account
- AuthHTTP bearer
Request body
Example request
{
"ac_bill_ccy": "048",
"ac_parent_id": 542283189,
"ac_set_ccy": "826",
"account_name": "John Blogs",
"api_call_unique_identifier": "438574845790657485",
"client_id": 760131,
"user_id": "string",
"remarks": "string",
"ac_desc": "New account Desc",
"ac_ext_ref": "0",
"crd_prdct_id": 2,
"ac_level": 2,
"cu_id": 583198689,
"branch_name": "pokhara",
"program_id": 100
}Response
Request processed. Check header.error_id: 0 means success. Any other value is a business error, reported with HTTP 200 and an empty body. Common codes: 992 (invalid account id), 993 (invalid card token), 995 (validation failed), 1043 (account does not belong to the client), 1055 (invalid program_code), 1531 (invalid customer id).
Example response
{
"header": {
"error_desc": "success"
},
"body": {
"ac_id": 9876542
}
}Changes
No recorded changes to this operation across all 1 revision of this API.