Create PG Link
Use this API to create a Payment Gateway Link to redirect and collect payments from your customers.
Supported Payment Modes:
UPI | Credit Card | Debit Card |
Net Banking | Wallets | Bank EMI |
Payment Flow:
- Create a PG Link using this API.
- Redirect your payer to the link in a browser.
- The payer completes the payment.
- Receive a webhook from Bulkpe with the collection status.
Set up Webhook from the Bulkpe Web App - learn more.
![Overall Payment Collection flow](/uploads/70530954eaa3d10a51930925b5ea72f2.png)
API URL: https://api.bulkpe.in/client/createPGCollection
Method: POST
Auth: Please refer to the Authorization page.
{
"reference_id": "REF0028", //should be an unique value
"amount": 50000,
"name": "Sathya", //payer name
"phone": "9999888899", //payer phoe
"email": "[email protected]", //payer email
"success_url": "https://app.bulkpe.in/app/dashboard", //payment success redirection
"failure_url": "https://bulkpe.in/" //payment failed redirection
}
Note: All body params are mandatory
{
"status": true,
"statusCode": 200,
"data": {
"reference_id": "REF0028",
"transaction_id": "TEBPPG0012", //Bulkpe Transaction ID
"redirectUrl": "https://pay.bulkpe.in/v2/pay/de9096a55bc7d4f16c9b88d1c63d32592163da32272c58e9fa1a7d3868c1cde8",
"amount": 50000,
"name": "Sathya",
"phone": "9999888899",
"email": "[email protected]",
"success_url": "https://app.bulkpe.in/app/dashboard",
"failure_url": "https://bulkpe.in/"
},
"message": ""
}