v1

latestOpenAPI 3.1.02026-07-2418201.6 MB

Penny Pull - Intent API

This API allows the platform to create an Intent link using Decentro's Penny pull stack.

post/v2/payments/penny_pull

Headers

client_idstring required
client_secretstring required
module_secretstring required
provider_secretstring required
Content-Typestring

Request body

reference_idstring required

Unique id assigned to each transaction. Special characters are prohibited.

generate_qrinteger

0/1 depending on the choice to generate QR. 1 for generating QR and 0 for not generating QR.

generate_uriinteger

0/1 depending on the choice to generate UPI data URI to implement customized flow based on URI data.

customized_qr_with_logointeger

0/1 depending on whether the client wants to show logo in the qr code. Note: Logo needs to be shared by client during on boarding to use this feature

Response

200

OR
OR

Example response

{
  "decentroTxnId": "A8E2XXXXXXXXXXXXXXXXXXXXXXXXXXX",
  "status": "SUCCESS",
  "responseCode": "S00000",
  "message": "Penny pull link created successfully.",
  "data": {
    "validationShortLink": "https://decf.in/penny_pull_intent/ahpdl615er",
    "validationStatus": "PENDING",
    "validationDescription": "Validation status is pending"
  },
  "responseKey": "success_payment_link_created"
}