Skip to main content
Accept Yape payments from customers in Peru with dLocal as the payment service provider (PSP). The customer selects Yape in your checkout, approves the payment with their Yape account on the dLocal payment page and returns to your site.

Supported workflows

Before you begin

Complete these steps before you send your first Yape payment through dLocal:
  1. Set up a dLocal integration in your workspace. Follow the dLocal integration setup guide if you don’t have one yet.
  2. Ask dLocal to enable Yape on your dLocal account.
  3. In the Payrails Portal, go to Settings → Integrations, open your dLocal integration, select Yape under Payment methods, and save.
  4. Add Yape 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. Required fields must be present for the payment to succeed. Payrails sends Optional fields to the PSP when you include them.

Authorize a Yape payment

Call authorize a payment with yape as the paymentMethodCode. The response includes the redirect to the dLocal payment page.
Authorize request
After the customer approves the payment, they return to your success or error URL. Confirm the result through webhook notifications or the execution status before you fulfill the order.

How dLocal handles Yape

  • 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 Yape payments through dLocal immediately, so a successful payment is final. To return funds, refund the payment.
  • Each Yape payment is a one-time, customer-initiated payment.
Last modified on October 2, 2026