Create an Electronic Challan
POST
/api/pay/v1/order/{order_id}/challanCreates an e-challan for a given order. The challan contains virtual account details that customers can use for payment.
Requires
Bearer token. Get token →Path Parameters
| Field | Details |
|---|---|
order_idstringrequired | Unique identifier of the order in the Pine Labs Online database. |
Header Parameters
| Field | Details |
|---|---|
Request-Timestampstringdate-time | ISO 8601 UTC timestamp of the request. Used for idempotency and audit. |
Request-IDstring | Use a global unique identifier [GUID] for the request. Constraints Minimum length: 1 characterMaximum length: 50 characters |
Request Bodyrequired
| Field | Details |
|---|---|
convenience_fee_breakdownobject5 nested fields | An object that contains the convenience fee breakdown details. |
Response
| Field | Details |
|---|---|
challan_idstring | Unique identifier of the challan. |
order_idstring | Unique identifier of the order. |
virtual_account_idstring | Unique customer account identifier. |
account_namestring | Account holder's name. |
account_ifscstring | IFSC code of the account. |
account_bank_namestring | Name of the bank. |
account_bank_branchstring | Branch of the bank. |
challan_pdf_urlstring | URL to download the challan PDF. |
amount_dueinteger | Total amount due against the e-challan (in paisa). |
expiry_datestring | Date when the e-challan expires. |
created_datestringdate-time | ISO 8601 UTC timestamp when the challan was created. |
Status Codes
200 | Challan created successfully. |
400 | The request was malformed or missing required fields. |
Request
curl --request POST \
--url https://pluraluat.v2.pinepg.in/api/pay/v1/order/v1-250912053834-aa-a6T94l/challan \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--header 'Request-ID: a1b2c3d4-e5f6-7890-abcd-ef1234567890' \
--header 'Request-Timestamp: 2024-10-01T10:30:00Z' \
--data '{
"convenience_fee_breakdown": {
"fee_amount": {
"value": 1000,
"currency": "INR"
},
"tax_amount": {
"value": 180,
"currency": "INR"
},
"additional_fee_amount": {
"value": 0,
"currency": "INR"
},
"maximum_fee_amount": {
"value": 99999999,
"currency": "INR"
},
"applicable_fee_amount": {
"value": 1180,
"currency": "INR"
}
}
}'{
"challan_id": "v1-cha-250912053848-aa-xrldQX",
"order_id": "v1-250912053834-aa-a6T94l",
"virtual_account_id": "PINEMFGEPXDRCSOKYO7SUQS8",
"account_name": "Amazon Group",
"account_ifsc": "UTIB0005717",
"account_bank_name": "Axis Bank",
"account_bank_branch": "Axis Bank Branch, CRC Greater Noida West",
"challan_pdf_url": "https://payins-service-dev.v2.pinepg.in/api/pay/v1/order/v1-250912053834-aa-a6T94l/challan/pdf",
"amount_due": 1001180,
"expiry_date": "2025-09-19",
"created_date": "2025-09-12T05:38:48.260Z"
}