The sandbox environment does not connect to live bank systems or NPCI systems. Hence, we have developed an API
addCreditwhere you can pass certain parameters to simulate a successful transaction. You can check out the API reference here: https://docs.setu.co/collect/api#operation/addCredit.
Generate a UPI deep link using the create payment link API.
Note the parameter name
upiIDin the response.
Use this UPI ID in the
Use any UPI ID in the
amountas float value in rupees (caution: this is different from other Setu APIs where the amount is an integer value in paise), and
Send the add credit request, and you should receive a
If you have followed the above steps correctly, the payment status should change to
CREDIT_RECEIVED,and you should receive a hit on the callback URL.