POST1https://api.example.com/qr

Generates a QR for payment collection.

Headers

Authorization: Bearer token
Content-Type: application/json

Request Type

FORM-DATA/ RAW-DATA

Request Fields

FieldDescriptionValidation
client_reference_idClient reference IDMust be alphanumeric up to 160 characters long
unique_account_numberUnique account numberMust be numeric or alphanumeric depending on system requirement
amountTransaction amountMust be a valid number
email_idCustomer email IDMust be a valid email format
additional_infoAny additional key-value metadataJSON object with key-value pairs
encryptionEncrypted payload (if applicable)Depends on encryption scheme used
mobile_numberMobile number must be 10 digit long

Request Body

{
  "client_reference_id": "XXXXXXX",
  "unique_account_number": "XXXXXXX",
  "amount": "1",
  "email_id": "",
  "additional_info": {
    "key_1": "value_1"
  },
  "encryption": ""
}

Response Fields

FieldDescriptionValidation
client_reference_idClient reference IDMust be alphanumeric up to 160 characters long
unique_account_numberUnique account numberMust be numeric or alphanumeric depending on system requirement
amountTransaction amountMust be a valid number
email_idCustomer email IDMust be a valid email format
additional_infoAny additional key-value metadataJSON object with key-value pairs
encryptionEncrypted payload (if applicable)Depends on encryption scheme used
mobile_numberMobile number must be 10 digit long

Response Types

{
  "status": "success",
  "message": "This has been posted"
}
{
  "status": "failed",
  "message": "Request failed"
}
{
  "status": "pending",
  "message": "Request is pending"
}