Delete Payment Token

Invoke this endpoint to invalidate a `payment_token`. The delete endpoint removes the `payment_token` after which the token will no longer work for calls to [`create_payment_session`](/api-reference/payment-sessions/create-payment-session). The request body should be empty. ## Response Notes ### Success Case **HTTP Status: 204** - No content is returned on successful deletion. ### Error Cases **HTTP Status: 404** - If the `payment_token` is not found or does not belong to the requesting sales channel.

Authentication

x-truemed-api-keystring

Sales channel API key for merchant server-to-server authentication

Path parameters

payment_tokenstringRequired
The payment token to delete.

Response

Successful response

Errors