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 EasyPaisa payment through Boku:- Set up a Boku integration in your workspace. Follow the Boku integration setup guide if you don’t have one yet.
- Ask Boku to enable EasyPaisa on your Boku merchant account.
- In the Payrails Portal, go to Settings → Integrations, open your Boku integration, select Easypaisa under Payment methods, and save.
- Add EasyPaisa as a payment option in your workflow.
Request fields for Boku
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 an EasyPaisa payment
Call authorize a payment witheasypaisa as the paymentMethodCode. The response includes the redirect to the Boku payment page.
Authorize request
success or error URL. Confirm the result through webhook notifications or the execution status before you fulfill the order.
How Boku handles EasyPaisa
- Boku notifies Payrails of the final result. Payrails also checks the payment status with Boku for up to four hours.
- To refund an EasyPaisa payment, send
meta.customer.country.codeon the refund request too. Payrails uses it to reach the Boku endpoint for the country.