/

to search

Introducing Setu Changelog Check it out ↗

#Check status history

MethodGET
Path/merchants/payments/product-instances/{id}/history
HeadermerchantId
Authorization: Bearer <insert_token_here>. Generate this token using OAuth or JWT.

Content-Type—will be application/json

#Sample response

{
"payments": [
{
"amount": 10000,
"createdAt": "2023-09-04T12:08:20+0530",
"currency": "INR",
"customerVpa": "test-auto-tyvmm59i9b@pineaxis",
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"merchantId": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"merchantReferenceId": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"merchantVpa": "test-auto-beibfev2oq@pineaxis",
"productInstanceId": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"reason": {
"failureReason": "unable-to-fulfill-request",
"npciErrCode": "YG"
},
"refId": "1240689979139556558",
"rrn": "124068997913",
"status": "initiated",
"txnId": "SETmBZkQOV0M7wyyP1V4PIFhRSzW5eSjmYI",
"txnNote": "testpay"
},
{
"amount": 10000,
"createdAt": "2023-09-04T12:08:20+0530",
"currency": "INR",
"customerVpa": "test-auto-tyvmm59i9b@pineaxis",
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"merchantId": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"merchantReferenceId": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"merchantVpa": "test-auto-beibfev2oq@pineaxis",
"productInstanceId": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"reason": {
"failureReason": "unable-to-fulfill-request",
"npciErrCode": "YG"
},
"refId": "1240689979139556558",
"rrn": "124068997913",
"status": "initiated",
"txnId": "SETmBZkQOV0M7wyyP1V4PIFhRSzW5eSjmYI",
"txnNote": "testpay"
},
{
"amount": 10000,
"createdAt": "2023-09-04T12:08:20+0530",
"currency": "INR",
"customerVpa": "test-auto-tyvmm59i9b@pineaxis",
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"merchantId": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"merchantReferenceId": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"merchantVpa": "test-auto-beibfev2oq@pineaxis",
"productInstanceId": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"reason": {
"failureReason": "unable-to-fulfill-request",
"npciErrCode": "YG"
},
"refId": "1240689979139556558",
"rrn": "124068997913",
"status": "initiated",
"txnId": "SETmBZkQOV0M7wyyP1V4PIFhRSzW5eSjmYI",
"txnNote": "testpay"
},
{
"amount": 10000,
"createdAt": "2023-09-04T12:08:20+0530",
"currency": "INR",
"customerVpa": "test-auto-tyvmm59i9b@pineaxis",
"id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"merchantId": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"merchantReferenceId": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"merchantVpa": "test-auto-beibfev2oq@pineaxis",
"productInstanceId": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
"reason": {
"failureReason": "unable-to-fulfill-request",
"npciErrCode": "YG"
},
"refId": "1240689979139556558",
"rrn": "124068997913",
"status": "initiated",
"txnId": "SETmBZkQOV0M7wyyP1V4PIFhRSzW5eSjmYI",
"txnNote": "testpay"
}
]
}
Check status history API