Skip to main content
DELETE
/
v3
/
vault
/
payment-tokens
/
{id}
Delete payment token
curl --request DELETE \
  --url https://api-m.sandbox.paypal.com/v3/vault/payment-tokens/{id} \
  --header 'Authorization: Bearer <token>'
{
  "name": "<string>",
  "message": "<string>",
  "debug_id": "<string>",
  "details": [
    {
      "issue": "<string>",
      "field": "<string>",
      "value": "<string>",
      "location": "body",
      "links": [
        {
          "href": "<string>",
          "rel": "<string>",
          "method": "GET"
        }
      ],
      "description": "<string>"
    }
  ],
  "links": [
    {
      "href": "<string>",
      "rel": "<string>",
      "method": "GET"
    }
  ]
}

Authorizations

Authorization
string
header
required

Oauth 2.0 authentication

Path Parameters

id
string
required

ID of the setup token.

Required string length: 7 - 36

Response

The server has successfully executed the method, but there is no entity body to return.