Coupon Status

This API used to get Coupon status.

Request Parameters:

ParameterDataData TypeDescription
keyMStringseckey of API partner provided by Nowpay
usernameMStringUnique id of API partner provided by Nowpay
ourrequestidMStringCoupon Purchase Request Id or Order Id

Response Parameters:

ParameterValueDescription
success1 = Success
0 = Failed
2 = Pending
Status of Transaction
messageStringDescription of transaction
coupon_statusAPPROVED
REJECTED
PENDING
Status of Coupons Purchased
psaidStringPAN Agent Id provided by UTI
Query Params
json
required
Defaults to /api/pan/coupon_status
Body Params
json
required
Defaults to {"username":"XXXXX","key":"b79983f8ed79f424e6ebc0872e", "ourrequestid":"20211028pm231537111806" }
Headers
string
required
Defaults to application/json
Responses

Language
LoadingLoading…
Response
Choose an example:
application/json