How an Alfa payment works
Alfa is a redirect payment method:- The customer selects Alfa at checkout.
- Payrails returns a redirect URL from Thunes, and the customer goes to the Thunes payment page.
- The customer confirms the payment from their Alfa account.
- Thunes sends the customer back to your
returnInfoURL. - Payrails receives the final result from Thunes and updates the payment.
Supported currencies and countries
Alfa supports PKR (Pakistani rupee) as its only presentment currency. Alfa is available to customers based in:| Regions | Countries |
|---|---|
| Asia Pacific | 🇵🇰 Pakistan |
Integrate Alfa
Choose the PSP that processes Alfa for you. The guide covers the PSP-side setup, the Payrails configuration and the request fields that PSP requires.Thunes
Alfa via Thunes
Check PSPs
| Workflow | Thunes |
|---|---|
| Payrails SDK | ✔ |
| Payrails API | ✔ |
| Delayed / Manual Capture | ✖ |
| Instant Capture | ✔ |
| Cancel / Void | ✖ |
| Refund / Reverse | ✔ |
| Save Instruments | ✖ |
| Merchant Initiated Transaction (MIT) | ✖ |
Ways to integrate Alfa
- Payrails SDK: the Web SDK shows Alfa when your workflow returns it as a payment option, and redirects the customer to the Thunes payment page. To control how the redirect opens, listen for the
actionRequiredevent. - Payrails API: call lookup payment options, then authorize with
alfaas thepaymentMethodCode. The Thunes guide lists themetafields Thunes requires.
success URL as proof of payment.