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

400
Bad Request Error
404
Not Found Error
405
Method Not Allowed Error
500
Internal Server Error
501
Not Implemented Error