Voids, or cancels, an authorized payment, by ID. You cannot void an authorized payment that has been fully captured.
Documentation Index
Fetch the complete documentation index at: https://docs.paypal.ai/llms.txt
Use this file to discover all available pages before exploring further.
OAuth 2.0 authentication
Holds authorization information for external API calls. Standard headers are generally less restrictive in structure due to historical precedent across browsers, etc. This is a common schema for use in defining most standard headers.
1 - 16000^.*$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.
1 - 10000^.*$A unique ID identifying the request header for idempotency purposes.
1 - 10000^.*$The preferred server response upon successful completion of the request. Value is:
return=minimal. The server returns a minimal response to optimize communication between the API caller and the server. A minimal response includes the id, status and HATEOAS links.return=representation. The server returns a complete resource representation, including the current state of the resource.2147483647^[\S\s]*$The PayPal-generated ID for the authorized payment to void.
2147483647^[\S\s]*$A successful request returns the HTTP 200 OK status code and a JSON response body that shows authorization details. This response is returned when the Prefer header is set to return=representation.
The authorized payment transaction.
The status for the authorized payment.
CREATED, CAPTURED, DENIED, PARTIALLY_CAPTURED, VOIDED, PENDING The details of the authorized order pending status.
The PayPal-generated ID for the authorized payment.
2147483647^[\S\s]*$The amount for this authorized payment.
The API caller-provided external invoice number for this order. Appears in both the payer's transaction history and the emails that the payer receives.
2147483647^[\S\s]*$The API caller-provided external ID. Used to reconcile API caller-initiated transactions with PayPal transactions. Appears in transaction and settlement reports.
255^[\S\s]*$Reference values used by the card network to identify a transaction.
The level of protection offered as defined by PayPal Seller Protection for Merchants.
The date and time when the authorized payment expires, in Internet date and time format.
20 - 64^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])[T,t]([0-1][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)([.][0-9]+)?([Zz]|[+-][0-9]{2}:[0-9]{2})$The date and time when the transaction occurred, in Internet date and time format.
20 - 64^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])[T,t]([0-1][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)([.][0-9]+)?([Zz]|[+-][0-9]{2}:[0-9]{2})$The date and time when the transaction was last updated, in Internet date and time format.
20 - 64^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])[T,t]([0-1][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)([.][0-9]+)?([Zz]|[+-][0-9]{2}:[0-9]{2})$The supplementary data.
The details for the merchant who receives the funds and fulfills the order. The merchant is also known as the payee.