"gopay": {
"enable_callback": true,
"callback_url": "someapps://callback",
"account_id": "00000269-7836-49e5-bc65-e592afafec14",
"payment_option_token": "eyJ0eXBlIjogIkdPUEFZX1dBTExFVCIsICJpZCI6ICIifQ==",
"recurring": false
}
JSON Attribute | Description | Type | Required |
---|---|---|---|
enable_callback | Required for GoPay deeplink/QRIS. To determine appending callback URL in the deeplink. Default value: false . | Boolean | Optional |
callback_url | The HTTP or Deeplink URL to which the customer is redirected from Gojek app after successful payment. Default value: callback_url in dashboard settings . For GoPay Tokenization, please make sure callback_url is the same URL submitted on onboarding process. | String | Optional |
account_id | Required for GoPay Tokenization. The customer account ID linked during Create Pay Account API. | String | Conditional |
payment_option_token | Required for GoPay Tokenization. Token to specify the payment option made by the customer from Get Pay Account API metadata. | String | Conditional |
pre_auth | Set the value to true to reserve the specified amount from the customer balance. Once the customer balance is reserved, you can initiate a subsequent Capture API request. Default value: false . | Boolean | Optional |
recurring | Set the value to true to mark as a recurring transaction, only allowed for authorised merchant. Default value: false | Boolean | Optional |