Disable a gateway for one country
Removes one country from the gateway’s coverage, leaving the rest of its
list untouched. Removing a country the gateway does not serve is a no-op
that returns 200. Every removal is recorded on the gateway’s audit
trail with the acting admin, or the merchant when an API key made the
call.
On this operation a droplet token receives 403 and a JWT needs root
admin or an explicit gateways.update or apm.update role grant; the
gateway create and update operations keep their own authorization.
Returns 404 for an unknown gateway or a country the company has not
enabled, and 422 when the country code is not a two-letter ISO 3166-1
code.
Authorizations
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.
Path Parameters
Gateway slug, UUID, or ID
ISO 3166-1 alpha-2 code of the country to disable.
2^[A-Za-z]{2}$