Skip to main content
Accept Maya payments from customers in the Philippines with dLocal as the payment service provider (PSP). The customer selects Maya, confirms the payment in the Maya app or on the Maya website, and returns to your site.

Supported workflows

Before you begin

Complete these steps before you send your first Maya 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 Maya on your dLocal account for the Philippines.
  3. In the Payrails Portal, go to Settings → Integrations, open your dLocal integration, select Maya under Payment methods, and save.
  4. Add Maya 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 Maya payment

Call authorize a payment with maya as the paymentMethodCode. The response includes the redirect to Maya.
Authorize request
After the customer confirms the payment, Maya returns them to your success or error URL. Confirm the result through webhook notifications or the execution status before you fulfill the order.

How dLocal handles Maya

  • Payrails sends Maya to dLocal with the Philippines as the payment country, whatever country code the request carries.
  • Payrails removes digits, punctuation and symbols from the payer name before it sends the name to dLocal.
  • Payrails sends meta.order.deliveryAddress to dLocal as the payer address. If the request has no delivery address, Payrails sends meta.order.billingAddress.
Last modified on October 5, 2026