How a Payflex payment works
Payflex is a redirect payment method:- The customer selects Payflex at checkout.
- Payrails returns a redirect URL from the PSP, and the customer goes to the Payflex checkout page.
- The customer signs in or checks out as a guest, chooses to pay in full or in installments, and confirms the payment.
- The PSP sends the customer back to your
returnInfoURL. - Payrails receives the final result from the PSP and updates the payment.
Supported currencies and countries
Payflex supports ZAR (South African rand) as its only presentment currency. Payflex is available to customers based in:| Regions | Countries |
|---|---|
| Africa | 🇿🇦 South Africa |
Integrate Payflex
Choose the PSP that processes Payflex for you. Each guide covers the PSP-side setup, the Payrails configuration and the request fields that PSP requires.dLocal
Payflex via dLocal
Payflex
Direct Payflex integration
Check PSPs
| Workflow | dLocal | Payflex |
|---|---|---|
| Payrails SDK | ✔ | ✔ |
| Payrails API | ✔ | ✔ |
| Delayed / Manual Capture | ✖ | ✖ |
| Instant Capture | ✔ | ✔ |
| Cancel / Void | ✖ | ✖ |
| Refund / Reverse | ✔ | ✔ |
| Save Instruments | ✖ | ✖ |
| Merchant Initiated Transaction (MIT) | ✖ | ✖ |
Ways to integrate Payflex
- Payrails SDK: the Web SDK shows Payflex when your workflow returns it as a payment option, and redirects the customer to the Payflex checkout page. To control how the redirect opens, listen for the
actionRequiredevent. - Payrails API: call lookup payment options, then authorize with
payflexas thepaymentMethodCode. Each PSP guide lists themetafields that PSP requires.
success URL as proof of payment.