How a Yape payment works
Yape is a redirect payment method:- The customer selects Yape, or Mercado Pago, at checkout.
- Payrails returns a redirect URL from the PSP, and the customer goes to the PSP’s payment page.
- The customer approves the payment with their Yape account.
- The customer returns to your
returnInfoURL. - Payrails receives the final result from the PSP and updates the payment.
Supported currencies and countries
Yape supports PEN (Peruvian sol) as its only presentment currency. Yape is available to customers based in:| Regions | Countries |
|---|---|
| Latin America | 🇵🇪 Peru |
Integrate Yape
Choose the PSP that processes Yape for you. Each guide covers the PSP-side setup, the Payrails configuration and the request fields that PSP requires.dLocal
Yape via dLocal
Mercado Pago
Yape via Mercado Pago
Check PSPs
| Workflow | dLocal | Mercado Pago |
|---|---|---|
| Payrails SDK | ✔ | ✔ |
| Payrails API | ✔ | ✔ |
| Delayed / Manual Capture | ✖ | ✖ |
| Instant Capture | ✔ | ✔ |
| Cancel / Void | ✖ | ✖ |
| Refund / Reverse | ✔ | ✔ |
| Save Instruments | ✖ | ✖ |
| Merchant Initiated Transaction (MIT) | ✖ | ✖ |
Ways to integrate Yape
- Payrails SDK: the Web SDK shows the payment option your workflow returns — Yape for dLocal, or Mercado Pago for Mercado Pago — and redirects the customer to the PSP’s payment page. To control how the redirect opens, listen for the
actionRequiredevent. - Payrails API: call lookup payment options, then authorize with
yapeas thepaymentMethodCodefor dLocal, ormercadoPagofor Mercado Pago. Each PSP guide lists the fields that PSP requires.
success URL as proof of payment.