paymentTokens

Delete a stored payment token and its associated methods

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.

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.

post/api/v1/payment_tokens/{payment_token}/delete

Request

  • Base URL: https://dev-api.truemed.com
  • URL: https://dev-api.truemed.com/api/v1/payment_tokens/{payment_token}/delete
  • Auth: API key in header x-truemed-api-key

Path parameters

payment_tokenstring required

The payment token to delete.

Response

Successful response

PaymentTokenDeleteResponse required

Changes

No recorded changes to this operation across all 1 revision of this API.