Attributes
- METHOD TYPEE-wallet
- PAYMENTS
- PAYOUTS
- REFUNDS
Introduction
GCash is a payment method for payments and refunds available in the Philippines.
Supported Countries
- PhilippinesÂ
Supported Currencies
- PHP
Payment (Deposit) Flow
Follow these steps to perform a payment using Nuvei REST API integration:
1. Generate a sessionToken
Press here for details.
2. Send a /payment
Request
Perform the payment by sending a /payment
request with its mandatory parameters including:
userTokenId
amount
currency
paymentOption.alternativePaymentMethod
block containing:paymentMethod
: “apmgw_GCash“
deviceDetails
block containing:ipAddress
billingAddress
block containing:firstName
,lastName
,email
,phone
,country
userDetails
block containing:firstName
,lastName
,email
,phone
,country
Example /payment
Request
{ "sessionToken":"<sessionToken from getSessionToken>", "merchantId": "<your merchantId>", "merchantSiteId": "<your merchantSiteId>", "clientRequestId": "<unique request ID in merchant system>", "amount": "1000", "currency": "PHP", "userTokenId": "<unique customer identifier in merchant system>", "clientUniqueId": "<unique transaction ID in merchant system>", "paymentOption":{ "alternativePaymentMethod":{ "paymentMethod":"apmgw_GCash" } }, "deviceDetails":{ "ipAddress":"<customer's IP address>" }, "billingAddress":{ "firstName":"John", "lastName":"Smith", "phone":"63756747844", "email":"john.smith@email.com", "country":"PH" }, "userDetails":{ "firstName":"John", "lastName":"Smith", "phone":"63756747844", "email":"john.smith@email.com", "country":"PH" }, "timeStamp":"<YYYYMMDDHHmmss>", "checksum":"<calculated checksum>" }
User Experience
- The user is redirected to a third-party page where the transaction can be completed.
- The user enters their mobile phone number.
- The user enters their authentication code that was sent to their mobile phone number.
- The user logs in to their GCash account by entering their PIN.
- The user reviews the payment details and confirms the payment.
The user is redirected to the Merchant
ReturnUrl
.
Testing
For you to test the GCash payment method successfully, please use the below test data:
- Phone Number: Enter any 10-digit number (example: 1234567812)
- Authentication code: Enter any 6-digit number (example: 123456)
- PIN number: Enter any 4-digit number (example: 1234)