Supported workflows
Before you begin
Complete these steps before you send your first GrabPay payment through dLocal:- Set up a dLocal integration in your workspace. Follow the dLocal integration setup guide if you don’t have one yet.
- Ask dLocal to enable GrabPay on your dLocal account for Malaysia.
- In the Payrails Portal, go to Settings → Integrations, open your dLocal integration, select GrabPay under Payment methods, and save.
- Add GrabPay 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 GrabPay payment
Call authorize a payment withgrabPay as the paymentMethodCode. The response includes the redirect to GrabPay.
Authorize request
success or error URL. Confirm the result through webhook notifications or the execution status before you fulfill the order.
How dLocal handles GrabPay
- Payrails sends GrabPay to dLocal with Malaysia 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.deliveryAddressto dLocal as the payer address. If the request has no delivery address, Payrails sendsmeta.order.billingAddress.