Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.iterapay.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Use this endpoint to permanently revoke a merchant’s active API key. Once revoked, any requests that include the old key in the X-Api-Key header will receive a 401 Unauthorized response.
Revoking an API key is immediate and irreversible. All integrations using the key will stop authenticating as soon as this request succeeds. Generate a replacement key using POST /key/generate/ before revoking the current one if you need continued API access.
This endpoint requires Bearer token authentication. API key authentication is not accepted.

Path parameters

merchantID
string
required
The UUID of the merchant whose API key you want to revoke.

Response

Returns 204 No Content on success. No response body is returned.
curl --request DELETE \
  --url https://api.iterapay.com/key/revoke/b0fcc813-a7ce-4bbc-932f-dbef6f59ca7f \
  --header 'Authorization: Bearer <token>'
(no content)