Skip to main content
POST
/
merchant
/
gateway
/
edit_country_config
Payment Gateway Country Config Edit
curl --request POST \
  --url https://api.unibee.dev/merchant/gateway/edit_country_config \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "gatewayId": 123,
  "countryConfig": {}
}
'
{
  "code": 123,
  "data": {},
  "message": "<string>",
  "redirect": "<string>",
  "requestId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Edit country config for payment gateway, to enable or disable the payment for countryCode, default is enable

gatewayId
integer<int64>
required

The id of payment gateway

countryConfig
object

The country config of payment gateway, a map with countryCode as key, and value for enable or disable

Response

200 - application/json
code
integer<int>
data
object
message
string<string>
redirect
string<string>
requestId
string<string>