action paypal_orders_authorize { label: "Authorize payment for order" description: "Authorizes payment for an order. To successfully authorize payment for an order, the buyer must first approve the order or a valid payment_source must be provided in the request. A buyer can approve the order upon being redirected to the rel:approve URL that was returned in the HATEOAS links in the create order response.
Note: For error handling and troubleshooting, see Orders v2 errors.
" provider: paypal method: POST path: "/v2/checkout/orders/{id}/authorize" encoding: json input: { type: "object" properties: { "PayPal-Request-Id": { type: "string" } Prefer: { type: "string" } id: { type: "string" } payment_source: { type: "object" } } required: ["id"] additionalProperties: false } output: { type: "object" description: "The order authorize response." } }