Introduction
GCash uses a redirect-based payment flow. When a customer selects GCash at checkout, they are redirected to GCash’s app or web interface to authenticate and confirm their payment, then redirected back to your website or app upon completion. GCash is a single-use payment method where customers must authenticate each payment. This guide explains the process of integrating GCash into your app or website using Payrails.Pre-requisites
Before you start accepting GCash payments with Payrails, there are a few requirements you must meet:Ways to integrate GCash
Payrails SDK
Server-to-server integration
Parse GCash from lookup response
Pass GCash payment method in request to authorize payment with Payrails
Note on amountsPHP uses 2 decimal places. Amounts should be provided in the smallest currency unit—for example,
50000 for ₱500.00.GCash is a redirect-based, single-use payment method. After calling the authorize endpoint, the customer will be redirected to GCash’s app or web interface to authenticate and confirm the payment. Once confirmed, the customer will be redirected back to the
returnInfo.success URL. Make sure to provide valid returnInfo URLs in your authorization request.Handle the redirect response
Supported currencies
GCash via dLocal supports the following presentment currency:- PHP — Philippine Peso
Supported regions / countries
Customer regions
GCash is available to customers based in:- Philippines 🇵🇭