How a Capitec Pay payment works
Capitec Pay is a redirect payment method:- The customer selects Capitec Pay at checkout.
- Payrails returns a redirect URL from dLocal, and the customer goes to the dLocal payment page.
- The customer approves the payment with their bank.
- The customer returns to your
returnInfoURL. - Payrails receives the final result from dLocal and updates the payment.
Supported currencies and countries
Capitec Pay supports ZAR (South African rand) as its only presentment currency.Supported workflows
Before you begin
Complete these steps before you send your first Capitec Pay 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 Capitec Pay on your dLocal account.
- In the Payrails Portal, go to Settings → Integrations, open your dLocal integration, select Capitec Pay under Payment methods, and save.
- Add Capitec Pay 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. Payrails checks Required fields and returns an error when one is missing. Fields required by the PSP pass the Payrails checks but the PSP can decline the payment without them.Authorize a Capitec Pay payment
Call authorize a payment withcapitecPay as the paymentMethodCode. The response includes the redirect to the dLocal payment page.
Authorize request
success or error URL. Confirm the result through webhook notifications or the execution status before you fulfill the order.
How dLocal handles Capitec Pay
- dLocal returns a redirect URL to its hosted payment page. The payment stays pending until the customer approves it, and Payrails completes it from the dLocal notification.
- Payrails captures Capitec Pay payments through dLocal immediately, so a successful payment is final. To return funds, refund the payment.
- Saving the instrument and merchant-initiated transactions (MIT) aren’t available.