How a Maya payment works
Maya is a redirect payment method:- The customer selects Maya at checkout.
- Payrails returns a redirect URL from dLocal, and the customer goes to Maya.
- The customer logs in and confirms the payment in the Maya app or on the Maya website.
- Maya sends the customer back to your
returnInfoURL. - Payrails receives the final result from dLocal and updates the payment.
Supported currencies and countries
Maya supports PHP (Philippine peso) as its only presentment currency.Integrate Maya
The dLocal guide covers the PSP-side setup, the Payrails configuration, and the request fields dLocal requires.dLocal
Maya via dLocal
Check PSPs
Ways to integrate Maya
- Payrails SDK: the Web SDK shows Maya when your workflow returns it as a payment option, and redirects the customer to Maya. To control how the redirect opens, listen for the
actionRequiredevent. - Payrails API: call lookup payment options, then authorize with
mayaas thepaymentMethodCode. The dLocal guide lists themetafields dLocal requires.
success URL as proof of payment.