Void authorized payment
Voids, or cancels, an authorized payment, by ID. You cannot void an authorized payment that has been fully captured.
Authorizations
OAuth 2.0 authentication
Headers
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 theid,statusand HATEOAS links.return=representation. The server returns a complete resource representation, including the current state of the resource.
2147483647^[\S\s]*$Path Parameters
The PayPal-generated ID for the authorized payment to void.
2147483647^[\S\s]*$Callbacks
POSTauthorizations/{$request.path.authorization_id}/voidauthorization_voided
Body
Webhook event notification for authorization voided.
The ID of the webhook event notification.
1 - 255^.*$The version of the event.
1 - 50^.*$The date and time when the webhook event notification was created.
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 name of the resource related to the webhook notification event.
1 - 100^.*$The version of the resource.
1 - 50^.*$The event that triggered the webhook event notification.
PAYMENT.AUTHORIZATION.VOIDED A summary description for the event notification.
1 - 500^.*$The authorized payment transaction.
An array of request-related HATEOAS links.
1 - 10 elementsResponse
Your server implementation should return this HTTP status code if the data was received successfully.
POSTauthorizations/{$request.path.authorization_id}/void-expiredauthorization_voided_expired
Body
Webhook event notification for authorization voided due to expiry.
The ID of the webhook event notification.
1 - 255^.*$The version of the event.
1 - 50^.*$The date and time when the webhook event notification was created.
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 name of the resource related to the webhook notification event.
1 - 100^.*$The version of the resource.
1 - 50^.*$The event that triggered the webhook event notification.
PAYMENT.AUTHORIZATION.VOIDED A summary description for the event notification.
1 - 500^.*$The authorized payment transaction.
An array of request-related HATEOAS links.
1 - 10 elementsResponse
Your server implementation should return this HTTP status code if the data was received successfully.
Response
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.