Generate UPI Payment Link

🙌

Important Note

Please use only Staging Credentials on each API Reference page to test the APIs directly from our Documentation.

API Endpoints

Generate a payment link to send to a customer and/or a dynamic UPI QR code to show for a specific transaction.

📘

Simulation Data

Decentro provides the test data which will simulate various scenarios of the API when a transaction takes place.

Note: This test data is only valid in the Staging environment. Please use valid client id, client secret and module secret. Use Amount parameter to check the various test cases of this API.

Important: Please refer to the Simulation Data guide Click here

Simulation Data

Steps to use this data:

  1. Generate a payment link with amount parameter as either 10, 20, 30 depending on the test case being observed.
  2. Obtain the generated link in the response.
  3. Use decentro_txn_id from the response and pass in Get transaction status API to fetch the terminal status of the transaction.
  4. Depending on the Amount passed in step 1, you'll receive the terminal status.
  5. Please refer to the table below for Amount v/s transaction status test cases in staging simulation.
AmountTransaction statusTest case
10SuccessPayment link is created & Transaction status is Success
20FailurePayment link is created & Transaction status is Failed
30PendingPayment link is created & Transaction status is Pending
Language
Click Try It! to start a request and see the response here!