v1

latestOpenAPI 3.1.02026-07-2418201.6 MB

Generate Static QR

This API allows the platform to create a Static QR flow using Decentro's UPI stack.

post/v3/payments/static/upi/qr

Headers

client_idstring required

Decentro assigned client_id during on boarding.

client_secretstring required

Decentro assigned client_secret during on boarding.

Request body

reference_idstring required

A unique ID assigned by clients for every API request.

consumer_urnstring required

A unique identifier assigned to client's by Decentro during On boarding.

amountstring

The transaction amount (in INR) you intent to collect. Min = 1.00 and MAX = 250000.00. The limits on the amount can be changed depending on merchant use case. Please contact support@decentro.tech for further assistance.

is_company_logo_presentstring

true/false depending on the choice to generate custom QR code with client's logo uploaded during on boarding. Default value: false

vpastring

The Virtual Payment Address (UPI ID) linked to the generated QR code.

Response

200

decentro_txn_idstring
api_statusstring
messagestring
response_keystring

Example response

{
  "decentro_txn_id": "0372012CC3B446E089E7BDDC96975DD3",
  "api_status": "SUCCESS",
  "message": "Static QR created Successfully.",
  "data": [
    {
      "vpa": "xxxxe@xxxxx",
      "intent_url": "xxxxxxx",
      "template_url": "xxxxxxxx"
    }
  ],
  "response_key": "success_static_qr_created"
}