Supported workflows
Before you begin
Complete these steps before you send your first GCash 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 GCash on your dLocal account for the Philippines.
- In the Payrails Portal, go to Settings → Integrations, open your dLocal integration, select GCash under Payment methods, and save.
- Add GCash 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. Payrails checks Required fields and returns an error when one is missing. Fields required by the PSP pass the Payrails checks but the PSP can decline the payment without them.Authorize a GCash payment
Call authorize a payment withgCash as the paymentMethodCode. The response includes the redirect to GCash.
Authorize request
success or error URL. Confirm the result through webhook notifications or the execution status before you fulfill the order.
How dLocal handles GCash
- Payrails sends GCash 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.