Skip to main content
DELETE
Disable a gateway for one country

Authorizations

Authorization
string
header
required

Merchant API key (fp_live_* for live, fp_test_* for sandbox) or an admin-tier JWT (company admin or root admin). Non-admin JWTs are rejected with 403; live API keys additionally require the merchant's API access to be enabled.

A company admin, company token or partner token also needs the role grant for the action, or gets 403: gateways.view, .create, .update or .delete (or the matching apm.* grant) for gateway configuration, transactions.update for purchase, authorize, verify, capture, void and credit, and transactions.view to read transactions. API keys, root admins and droplet tokens are not checked against roles.

Path Parameters

id
string
required

Gateway slug, UUID, or ID

country_code
string
required

ISO 3166-1 alpha-2 code of the country to disable.

Required string length: 2
Pattern: ^[A-Za-z]{2}$

Response

Gateway with the country disabled

data
object
required
meta
object
required