Authorizations
Oauth 2.0 authentication
Headers
The server stores keys for 6 hours. The API callers can request the times to up to 72 hours by speaking to their Account Manager. It is mandatory for all single-step create order calls (E.g. Create Order Request with payment source information like Card, PayPal.vault_id, PayPal.billing_agreement_id, etc).
1 - 108
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>
1 - 25
1 - 36
An API-caller-provided JSON Web Token (JWT) assertion that identifies the merchant. For details, see <a href="https://developer.paypal.com/api/rest/requests/#paypal-auth-assertion">PayPal-Auth-Assertion</a>.
Path Parameters
The ID of the order that the tracking information is associated with.
1 - 36
Body
The authorization of an order request.
The payment source definition.
Response
A successful response to an idempotent request returns the HTTP 200 OK
status code with a JSON response body that shows authorized payment details.
The date and time stamps that are common to authorized payment, captured payment, and refund transactions. The order authorize response.
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 ID of the order.
The payment source used to fund the payment.
The intent to either capture payment immediately or authorize a payment for an order after order creation.
CAPTURE
, AUTHORIZE
The customer who approves and pays for the order. The customer is also known as the payer.
An array of purchase units. Each purchase unit establishes a contract between a customer and merchant. Each purchase unit represents either a full or partial order that the customer intends to purchase from the merchant.
1 - 10
elementsThe order status.
CREATED
, SAVED
, APPROVED
, VOIDED
, COMPLETED
, PAYER_ACTION_REQUIRED
An array of request-related HATEOAS links.
1 - 10
elements