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',
];
All Parameters values are mandatory
Name | Type | Value |
---|
partner_id | integer | (Get in from api panel you api parner id) |
mode | String | UPI |
name | String | Account Holder Name |
vpa | String | Upi address |
mobile | Number | Customer Mobile number |
amount | Double | Transfer amount |
webhook | String | webhook url for get status of transaction |
latitude | String | Location Latitude |
longitude | String | Location Longitude |
apitxnid | String | Unique merchant transaction id |
$parameter = [
'partner_id' => '2'
'mode' => 'UPI',
'name' => 'Test',
'vpa' => 'adc@upi',
'mobile' => '9999999999',
'amount' => '100',
'webhook' => 'https://domain.com',
'latitude' => '11.2222',
'longitude'=> '11.2222',
'apitxnid' => 'TXN12345'
];
$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 / TUP / TXF / ERR |
message | String | All Time | Transaction Response Message |
txnid | String | In Case TXN / TXF | Payout reference id |
refno | String | In Case TXN | Payout Bank Reference |