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) |
name | String | Name of agent |
mobile | String | Mobile of agent |
city | String | City of agent |
address | String | Address of agent |
pincode | String | Pincode of agent |
state | String | State of agent |
shopname | String | Shopname |
geocode | String | latitude/longitude of agent location |
$parameter = [
'partner_id' => '1'
'name' => "Test",
'mobile' => "1234567890",
'city' => 'lucknow',
'address' => 'lucknow',
'pincode' => '226010',
'state' => 'Uttar Pradesh',
'shopname' => 'Shop',
'geocode' => '23.0021/76.6767'
];
$body_json_string = json_encode($parameter);
Name | type | Value |
---|
body | String | Aes Encypted of Json Encoded Body Parameters String |
$request_body = [
"body" => "CE9BD8918E7971EFBA20CE7CF47582570B6B4932B6BF1D861071F02E92249698285B621186146CA93C8906DE3DB0D09216A579F7D89407E290BC5827ED770AE7305DAD79D50111144EC6EB6B793B5D4F83CB503CEA1279FF50F974F660E84851BCF53FA8FB132BEF412CC5084E6BC21B"
];
$final_body = json_encode($request_body);
Name | type | Condition | Possible Value |
---|
statuscode | String | All Time | TXN / ERR |
message | String | All Time | Transaction Response Message |
bbpsid | String | In Case TXN | Agent Unique Id |