Ledger API - Accounts
Get account details
post/pty/account/v1/pws_get_account
Request
- Base URLhttps://api.uat.paymentology.com
- URLhttps://api.uat.paymentology.com/pty/account/v1/pws_get_account
- AuthHTTP bearer
Request body
Example request
{
"ac_id": 9876542,
"api_call_unique_identifier": "438574845790657485",
"client_id": 760131,
"user_id": "string",
"remarks": "string"
}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_name": "John Blogs",
"ac_ext_ref": "EXT-001",
"ac_desc": "Main account",
"ac_parent": 542283189,
"bill_ccy": "048",
"set_ccy": "826",
"cre_dt": "2020-08-30 11:12:15",
"program_id": 100,
"ac_status": 1
}
}Changes
No recorded changes to this operation across all 1 revision of this API.