Supported workflows
| Workflow | Supported |
|---|---|
| Payrails SDK | ✔ |
| Payrails API | ✔ |
| Delayed / Manual Capture | ✖ |
| Instant Capture | ✔ |
| Cancel / Void | ✔ |
| Refund / Reverse | ✔ |
| Save Instruments | ✖ |
| Merchant Initiated Transaction (MIT) | ✖ |
Before you begin
Complete these steps before you send your first BCP payment through dLocal:- Set up a dLocal integration in your workspace. Follow the dLocal integration setup guide if you don’t have one yet.
- Ask dLocal to enable BCP on your dLocal account.
- In the Payrails Portal, go to Settings → Integrations, open your dLocal integration, select BCP under Payment methods, and save.
- Add BCP as a payment option in your workflow.
Request fields for dLocal
Send these fields in the authorize request, in addition to the standard authorize fields. Required fields must be present for the payment to succeed. Payrails sends Optional fields to the PSP when you include them.Authorize a BCP payment
Call authorize a payment withbcp as the paymentMethodCode. The response includes the redirect to the dLocal payment page, which shows the payment code.
Authorize request
How dLocal handles BCP
- Payrails sends BCP to dLocal as payment method
BC, a bank transfer with dLocal’s redirect flow. dLocal returns a redirect URL to its hosted page, where the customer gets the BCP payment code. - dLocal accepts BCP payments from 5.00 PEN. A payment code stays payable for up to 5 days.
- The payment stays pending until the customer pays the code, and Payrails completes it from the dLocal notification.
- To stop a pending payment before the customer pays it, cancel the payment.
- Payrails captures BCP payments through dLocal immediately, so a successful payment is final. To return funds, refund the payment. dLocal pays BCP refunds out to the customer’s bank account, and the refund completes from the dLocal notification.
- Each BCP payment is a one-time, customer-initiated payment.