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.
payment_method type set to gcash.
API Key for Authorization. Format: 'Basic YOUR_API_KEY_HERE'
API Key specific to x-api-key.
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"
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.