POST
/
merchant
/
gateway
/
edit_country_config
curl --request POST \
  --url https://api.unibee.top/merchant/gateway/edit_country_config \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "countryConfig": {},
  "gatewayId": 123
}'
{
  "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
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
data
object
message
string
redirect
string
requestId
string