Get your wallet balance

Header

NameTypeValue
api-keystring(get it from api credentials in api panel)
content-typestringapplication/json
acceptstringapplication/json
$header = [  
    'accept: application/json',  
    'api-key: XdWCmd0NF1ZVklnVPegOdL59WkFM7o4h91UYPAt1',  
    'content-type: application/json',  
];

Request Body Parameters

NameTypeValue
partner_idinteger(Get in from api panel you api parner id)
productStringProduct List Provide Below
apitxnidStringUnique transaction id
transactionDateStringDate of Transaction. (YYYY-MM-DD) (2023-01-01)

Product List

#Product
1recharge
$parameter = [
    'partner_id' => '1',
  	'product'    => 'recharge',
  	'apitxnid'    => 'API1234',
  	'transactionDate'    => '2023-01-01'
];

$body_json_string = json_encode($parameter);

Request Body to be sent in Json

NametypeValue
bodyStringAes Encypted of Json Encoded Body Parameters String
$request_body = [
    "body" => "4CE81403397C441C3DEB0EEFE28E79910EF0B4FA3BF6574DC94196DF436C10CF"
];

$final_body = json_encode($request_body);

Response Body Parameters

NametypeConditionPossible Value
statuscodeStringAll TimeTXN / TNF / ERR
messageStringAll TimeTransaction Response Message
apitxnidStringIn Case TXNMerchant Unique Transaction Id
payidStringIn Case TXNEbanker Transaction Id
refnoStringIn Case TXNOperator Reference
numberStringIn Case TXNTransaction Number
txn_statusStringIn Case TXNsuccess/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
Language
Click Try It! to start a request and see the response here!