Skip to main content

Delete a Credit Card

  DELETE https://api-sandbox.epag.io/token/card/PUBLIC_CARD_ID

Deletes an existing credit card.

Request Body​

None.

Response Body​

  • refresh_token (string): Updated access token for next calls.

Authorization​

AUTHORIZATIONAPI Key
KeyX-Auth-Token
ValueMY_ACCESS_TOKEN

Example Request​

Example Request​

200 - Success
    curl --location --request DELETE 'https://api-sandbox.epag.io/token/card/MY_PUBLIC_CARD_ID' \
--header 'X-Auth-Token: MY_ACCESS_TOKEN'

Example Response​

Header
  Content-Type: application/json
Body
    {
"refresh_token": "MY_ACCESS_TOKEN"
}