E-Wallet
When a merchant is configured for e.g GCash, the Hosted Payment Page (HPP) can generate an E-Wallet link that allows customers to complete their transaction using the GCash payment method.
Key Points
-
The Merchant ID for GCash must be included in the payload along with the specific
payment_methodtype set togcash. - If the merchant is configured for GCash, the HPP will generate an E-Wallet payment link to enable customers to pay via GCash. See all supported E-Wallets…
- The HPP will display an option for customers to pay via GCash or generate an E-Wallet link for the customer to use.
- This ensures a smooth process for customers using their GCash E-Wallet to complete transactions.
Authorizations
API Key for Authorization. Format: 'Basic YOUR_API_KEY_HERE'
API Key specific to x-api-key.
Body
The payload to generate an HPP link.
The amount of the transaction. If passed as an empty string, the cardholder enters the amount manually on the HPP.
"1000"
The abbreviation of the processing currency (e.g., PHP for Philippine Peso).
3"PHP"
The unique identifier of the merchant (DASMID).
128"< Webhook url >"
A JSON object containing the return URLs. (This field is mandatory for 3DS transactions.)
A JSON object containing payment method details.
The merchant transaction reference ID.
45"qwe"
The IP address of the customer initiating the transaction.
"127.0.0.1"
A JSON object containing the billing address of the cardholder.
A JSON object containing the shipping address of the cardholder.
The time zone for the transaction.
"Asia/Kuala_Lumpur"
Response
HPP link generated successfully.
The transaction reference ID.
"c0728395-6a55-4f10-819e-03bdc917c4b1"
The URL of the generated Hosted Payment Page.
"https://checkout-dev.paymentoptions.com/HostedPaymentPage/GGNDZOmv"
The transaction amount.
1000
The processing currency.
"PHP"
The merchant transaction reference ID.
"qwe"
The merchant ID for the transaction.
"< Webhook url >"
The merchant's email address (if available).
null
The return URLs for transaction outcomes.
The billing address details.
The shipping address details.