Payment-Resources
Delete a payment resource
Permanently deletes the specified payment resource. Operation is irreversible and returns HTTP 204 No Content.
delete/v1/checkout/payment-resources/{id}
Request
- Base URLhttps://api-m.paypal.com
- Auth
- OAuth 2Client credentialsToken URL/v1/oauth2/tokenScopeshttps://uri.paypal.com/services/checkout/payment-resources
- or OAuth 2Client credentialsToken URL/v1/oauth2/tokenScopeshttps://uri.paypal.com/services/checkout/payment-resources/readwrite
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
ID of the setup token.
Headers
Content-Typestring
The media type. Required for operations with a request body. The value is application/<format>, where format is json.
PayPal-Auth-Assertionstring
Header for an API client-provided JWT assertion that identifies the merchant. Establishing the consent to act-on-behalf of a merchant is a prerequisite for using this header.
Response
Payment resource deleted successfully. No content returned.
Changes
No recorded changes to this operation across all 1 revision of this API.