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) |
product | String | Product List Provide Below |
apitxnid | String | Unique transaction id |
transactionDate | String | Date of Transaction. (YYYY-MM-DD) (2023-01-01) |
$parameter = [
'partner_id' => '1',
'product' => 'recharge',
'apitxnid' => 'API1234',
'transactionDate' => '2023-01-01'
];
$body_json_string = json_encode($parameter);
Name | type | Value |
---|
body | String | Aes Encypted of Json Encoded Body Parameters String |
$request_body = [
"body" => "4CE81403397C441C3DEB0EEFE28E79910EF0B4FA3BF6574DC94196DF436C10CF"
];
$final_body = json_encode($request_body);
Name | type | Condition | Possible Value |
---|
statuscode | String | All Time | TXN / TNF / ERR |
message | String | All Time | Transaction Response Message |
apitxnid | String | In Case TXN | Merchant Unique Transaction Id |
payid | String | In Case TXN | Ebanker Transaction Id |
refno | String | In Case TXN | Operator Reference |
number | String | In Case TXN | Transaction Number |
txn_status | String | In Case TXN | success/pending/failed/reversed |
🚧
Note :
- Only In case of statuscode = TXN , you need to update your transaction status
- txn_status = reversed , means transaction failed and amount refunded at your wallet
- statuscode = TNF, means transaction not found at our end
- statuscode = ERR, means transaction status not received, you don't need to update your transaction status