Accept GoPay payments using our APIs, and build your own payment form to have full control over the look and feel of your checkout page.
Requirements
Requirement | Description |
---|---|
Integration type | Make sure that you have built an API-only integration. |
Setup steps | Before you begin, add GoPay in your test Customer Area. |
Build your payment form for GoPay
Include GoPay in the list of available payment methods.
We provide logos for GoPay which you can use on your payment form. For more information, refer to Downloading logos.
If you are using the /paymentMethods to show available payment methods to the shopper, specify the following:
- countryCode: Any supported country/region. For example, ID.
- amount.currency: Any supported currency. For example, IDR.
- amount.value: The value of the payment, in minor units.
- channel: Specify Web, iOS, or Android.
The response contains paymentMethod.type
: gopay_wallet.
Make a payment
From your server, make a /payments request, specifying:
paymentMethod.type
: gopay_wallet
Additionally, you must include either of the following:
- browserInfo: Information about the shopper's browser.
channel
: Web.