Authorizations
OAuth 2.0 authentication
Headers
The server stores keys for 45 days.
The preferred server response upon successful completion of the request. Value is:<ul><li><code>return=minimal</code>. The server returns a minimal response to optimize communication between the API caller and the server. A minimal response includes the <code>id</code>, <code>status</code> and HATEOAS links.</li><li><code>return=representation</code>. The server returns a complete resource representation, including the current state of the resource.</li></ul>
An API-caller-provided JSON Web Token (JWT) assertion that identifies the merchant. For details, see PayPal-Auth-Assertion.<blockquote><strong>Note:</strong>For three party transactions in which a partner is managing the API calls on behalf of a merchant, the partner must identify the merchant using either a PayPal-Auth-Assertion header or an access token with target_subject.</blockquote>
Path Parameters
The PayPal-generated ID for the authorized payment to void.
Body
The capture identification-related fields. Includes the invoice ID, custom ID, note to payer, and soft descriptor. Captures either a portion or the full authorized amount of an 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.
1 - 127
An informational note about this settlement. Appears in both the payer's transaction history and the emails that the payer receives.
1 - 255
The amount to capture. To capture a portion of the full authorized amount, specify an amount. If amount is not specified, the full authorized amount is captured. The amount must be a positive number and in the same currency as the authorization against which the payment is being captured.
Indicates whether you can make additional captures against the authorized payment. Set to true
if you do not intend to capture additional payments against the authorization. Set to false
if you intend to capture additional payments against the authorization.
Any additional payment instructions to be consider during payment processing. This processing instruction is applicable for Capturing an order or Authorizing an Order.
The payment descriptor on the payer's account statement.
22
Response
A successful request returns the HTTP <code>200 OK</code> status code and a JSON response body that shows captured payment details.
A captured payment. The status and status details of a captured payment. The date and time stamps that are common to authorized payment, captured payment, and refund transactions.
An object that provides supplementary/additional data related to a payment transaction.
The details associated with the merchant for this transaction.
The status of the captured payment.
COMPLETED
, DECLINED
, PARTIALLY_REFUNDED
, PENDING
, REFUNDED
, FAILED
The details of the captured payment status.
The date and time when the transaction occurred, in Internet date and time format.
20 - 64
The date and time when the transaction was last updated, in Internet date and time format.
20 - 64
The PayPal-generated ID for the captured payment.
The amount for this captured 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.
The API caller-provided external ID. Used to reconcile API caller-initiated transactions with PayPal transactions. Appears in transaction and settlement reports.
255
Reference values used by the card network to identify a transaction.
The level of protection offered as defined by PayPal Seller Protection for Merchants.
Indicates whether you can make additional captures against the authorized payment. Set to true
if you do not intend to capture additional payments against the authorization. Set to false
if you intend to capture additional payments against the authorization.
The detailed breakdown of the capture activity. This is not available for transactions that are in pending state.
The funds that are held on behalf of the merchant.
INSTANT
, DELAYED
An array of related HATEOAS links.
An object that provides additional processor information for a direct credit card transaction.