Status Enquiry

POST https://pixyrsapi.com/api/recharge/statusenquiry

Description

Partner can check the status of their transactions through Status Enquiry API

Request Parameters
referenceid alphanumeric   each transaction has a unique referenceid that will be sent to get the current status of the transaction
servicecode string   Each service has its corresponding service code. For Example, Recharge has its service code as " PRE "
Response List
StatusCode Description
0 Request has been failed
1 Request is Pending
2 Reecharge Success
cURL
curl -X POST     https://pixyrsapi.com/api/recharge/statusenquiry
-H    'content-type:application/json'
-H     'secretkey : 0012351512545'
-H     'accesskey : gsdgmvk552244ds'
-d    '{ "referenceid" : "fgjdf6231213212", "servicecode" : "PRE" }'
API Response
'{
"statuscode" : 2,
"status" : true,
"data" : {
"referenceid" : "JKL45621DFD",
"amount" : 10,
"servicecode" : "PRE"
}
}'
'{
"status" : false,
"statuscode" : 0,
"message" : "Authentication Failed"
}'