Name | Type | Value |
---|
api-key | string | (get it from api credentials in api panel) |
content-type | string | application/json |
accept | string | application/json |
$header = [
'accept: application/json',
'api-key: XdWCmd0NF1ZVklnVPegOdL59WkFM7o4h91UYPAt1',
'content-type: application/json',
];
Name | Type | Value |
---|
partner_id | integer | (Get in from api panel you api parner id) |
apitxnid | String | Unique merchant id for every transaction |
$parameter = [
"partner_id" => "2",
"apitxnid" => "TXN12345678"
]
$body_json_string = json_encode($parameter);
Name | type | Value |
---|
body | String | Aes Encypted of Json Encoded Body Parameters String |
$request_body = [
"body" => "93A5D34BEED49E72621EAF6327DE97608ED7E550F2ABB04224033A9E886748708C8B57CFB04E5E41BD8582AB394DD673CFCB69FBE62F9A56283A6F8AB7B09FD4"
];
$final_body = json_encode($request_body);
Name | type | Condition | Possible Value |
---|
statuscode | String | All Time | TXN / ERR |
message | String | All Time | Transaction Response Message |
apitxnid | String | In Case TXN | Merchant Unique Transaction Id |
txnid | String | In Case TXN | Ebanker Transaction Id |
refno | String | In Case TXN | Billpayment Reference |
status | String | In Case TXN | success/pending/accept/failed |
amount | String | In Case TXN | Transaction Amount |