POSTPre-notify Status API
Use Case
This is to check the status whether notification has been sent or not.
Request Attributes
Head
| Attribute | Description |
|---|---|
requestTimeStamp string optional | EPOCH timestamp of the time at which request is being sent. Example: 1588402269 |
signature string mandatory | AI router validates the request and ensures that parameters are not tempered by verifying the signature in the request. For creating the checksum (signature) refer to the steps given in Checksum Logic.
|
channelId string optional | The parameter value identifies the Channel for which the API call is initiated. Possible values: WEB , WAP |
Body
| Attribute | Description |
|---|---|
subscriptionId string mandatory | Unique Subscription ID generated by AI router for identifying a subscription transaction |
mid string mandatory | This is a unique identifier provided to every merchant by AI router. Example: 216820000002516036253 |
referenceId string mandatory | Unique Reference Id for refund transaction which is generated by merchant. Duplicate REFID will be rejected by the AI router. Example: REFID_98765 |
Response Attributes
Head
| Attribute | Description |
|---|---|
responseTimeStamp string | EPOCH timestamp of the time at which response is being sent. Example: 1588402269 |
Body
| Attribute | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
resultInfo Object | This parameter gives the information about the result in the API response | ||||||||
resultInfo +
| |||||||||
subscriptionId string | Unique Subscription ID generated by AI router for identifying a subscription transaction | ||||||||
txnDate string | Date of transaction. | ||||||||
notificationStatus string | Whether the notification has been successfully sent | ||||||||
Response Codes & Messages
| resultCode | resultStatus | resultMsg |
|---|---|---|
| 3006 | SUCCESS | SUCCESS |
| 3054 | FAILURE | Prenotfiy not found for the given params |
| 3004 | FAILURE | Subscription Not Found |
| 3060 | FAILURE | ReferenceId is mandatory |
| 3061 | FAILURE | SubscriptionId is mandatory |
| 3062 | FAILURE | MerchantId is mandatory |
| 500 | FAILURE | System Error |
| 3005 | FAILURE | Some error occured |
curl --location 'https://stage-router.paytm.in/aoa-subscription/api/subscription/prenotify/status' \
--header 'Content-Type: application/json' \
--data '{"head": {"clientId": "UMP","version": "v1","requestTimestamp": "1602247805430","channelId": "WEB","signature": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJyZXF1ZXN0VGltZXN0YW1wIjoiMTYwMjI0NzgwNTQzMCIsIm9yZGVySWQiOiJSRU5FVzEzMzE1MTQiLCJpc3MiOiJVTVAiLCJzdWJzY3JpcHRpb25JZCI6Ijk0MTMifQ.I7OL0MtdOhCtoUxjB5VvS0I5vfCmNCeZ-a1dtf9neik"},"body": {"subscriptionId": 10000064,"merchantId": "YOUR_MID_HERE","referenceId": "Billdesk_aoa_UPI_321_52"}}'