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 | Numeric | (Get in from api panel you api parner id) |
operator | Numeric | (Get it From Provider Data Api) |
number | String | Mobile number or Dth Number |
type | String | plan (Fixed Value) |
$parameter = [
'partner_id' => '1'
'operator' => "1",
'number' => '1234567890',
'type' => 'plan'
];
$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 |
data | Array | In Case TXN | All Plan Data |
key | Array | In Case TXN | All Plan Category |
value | Array | In Case TXN | Categorywise Plan value |