UPI Setu

Check status

API Playground

Check collect request payment status

This is a generic payment status api, that accepts the id of the collect request to show the status of the last payment.

Staging hosthttps://umap.setu.co/api
MethodGET
Path/v1/merchants/payments/product-instances/{collectRequestId}/last
Header

merchantId
Authorization: Bearer <insert_token_here>. Generate this token using OAuth or JWT.

Content-Type—will be application/json

API referenceCheck payment status ↗
Sample response
{
  "amount": 10000,
  "createdAt": "2023-09-04T12:08:20+0530",
  "currency": "INR",
  "customerAccountType": "savings",
  "customerVpa": "test-auto-tyvmm59i9b@pineaxis",
  "id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
  "merchantId": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
  "merchantReferenceId": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
  "merchantVpa": "test-auto-beibfev2oq@pineaxis",
  "productInstanceId": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
  "reason": {
    "code": "unable-to-fulfill-request",
    "desc": "unable-to-fulfill-request",
    "npciErrCode": "YG",
    "npciErrDesc": "MERCHANT ERROR (PAYEE PSP)",
    "npciRespCode": "YG",
    "npciRespDesc": "MERCHANT ERROR (PAYEE PSP)"
  },
  "refId": "1240689979139556558",
  "rrn": "124068997913",
  "status": "initiated",
  "txnId": "SETmBZkQOV0M7wyyP1V4PIFhRSzW5eSjmYI",
  "txnNote": "testpay"
}

In the above response:

  • id is a unique ID that is associated with this payment and can be used to track it later.
  • reason object is only populated when there are errors from the NPCI.

On this page