v1

latestOpenAPI 3.0.02026-07-26168846732.2 KB
Payment Method Session

Payment Method Session - Delete a saved payment method

Delete a saved payment method from the given payment method session.

delete/v1/payment-method-sessions/{id}

Path parameters

idstring required

The unique identifier for the Payment Method Session

Headers

X-Profile-Idstring required

Profile ID associated to the payment method session

Request body

payment_method_tokenstring required

The payment method token associated with the payment method to be deleted

Example request

{
  "payment_method_token": "token_9wcXDRVkfEtLEsSnYKgQ"
}

Response

The payment method has been deleted successfully

payment_method_tokenstring required

The unique identifier of the Payment method

Example response

{
  "payment_method_token": "token_9wcXDRVkfEtLEsSnYKgQ"
}