UPI

Generate UPI QR code

Generates a dynamic UPI QR code for a new transaction. The QR expires once the payment succeeds. Poll the verify endpoint until transaction_status=200.

post/airpay/pay/v4/api/generateorder/

Request

  • Base URL: https://kraken.airpay.co.in
  • URL: https://kraken.airpay.co.in/airpay/pay/v4/api/generateorder/
  • Auth: API key in query parameter token

Query parameters

tokenstring required

Request body

merchant_idstring required
privatekeystring required
encdatastring required

AES-encrypted order payload with: orderid, amount, currency_code, buyer_email, buyer_phone, buyer_firstname, buyer_lastname

checksumstring

Response

QR code and transaction details

status_code'200' | '400'

200 = success, 400 = error

status'success' | 'fail'
response_codestring
messagestring

Changes

No recorded changes to this operation across all 1 revision of this API.