Skip to main content
DELETE
/
v1
/
checkout
/
payment-resources
/
{id}
Delete a payment resource
curl --request DELETE \
  --url https://api.paypal.com/v1/checkout/v1/checkout/payment-resources/{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.

Headers

Content-Type
string

The media type. Required for operations with a request body. The value is application/<format>, where format is json.

Required string length: 1 - 255
PayPal-Auth-Assertion
string

An API-caller-provided JSON Web Token (JWT) assertion that identifies the merchant. For details, see PayPal-Auth-Assertion.

Path Parameters

id
string
required

The payment resource id for which to show details.

Required string length: 1 - 127

Response

Payment resource deleted successfully. No content returned.