Skip to content

Revokes a merchant API key

Request

DELETE {{baseURL}}/pay-api/v1/merchants/tokens/{{clientId}}

This endpoint revokes an API key associated with a merchant under their partner account.

This action revokes the token and prevents further API access using those credentials.

This endpoint requires the API token to be from a partner API key. API tokens obtained from a merchant key are not accepted.

See Also:
To list merchants, see GET /pay-api/v1/merchants.
To list merchant API keys, see GET /pay-api/v1/merchants/tokens.
To create a merchant API key, see POST /pay-api/v1/merchants/tokens.

Security
Bearer
Path
clientIdstring, (uuid)required

The client ID of the token to be removed.

Query
merchantIdstring, (uuid)

Specifies the identifier of the merchant.

Example:merchantId=46063d32-10fa-44cb-b118-20ddd085ce3f
curl -i -X DELETE \
  'https://developer.flute.com/_mock/api-reference/pay-api/v1/merchants/tokens/{clientId}?merchantId=46063d32-10fa-44cb-b118-20ddd085ce3f' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK. The API key was successfully deleted.

Response
No content