v1
latestOpenAPI 3.1.02026-07-2418201.6 MBGenerate Payment Link
This API allows the platform to create a payment link/intent flow using Decentro's UPI stack.
post/v3/payments/upi/link
Headers
client_idstring required
Decentro assigned client_id during on boarding.
client_secretstring required
Decentro assigned client_secret during on boarding.
x_on_behalf_ofstring
This allows parent merchant to consume the API on behalf of sub-merchant.
authorizationstring
Customers can generate JWT using our Auth API with various grant types in the request body. JWT is valid for 15minutes.
Request body
Response
200
Example response
{
"decentro_txn_id": "C674C2A49Dxxxxxxxxxxxx52AEF9",
"api_status": "SUCCESS",
"message": "Payment Link created Successfully.",
"data": {
"upi_uris": {
"common_uri": "<UPI payment link>"
},
"transaction_status": "PENDING"
},
"response_key": "success_payment_link_created"
}