View as Markdown
API Spec (JSON)
API Spec (YAML)
Compact modeHides field descriptions and other prose for a more compact, scannable view of the API reference.Client CredentialsToken URLhttps://api-m.sandbox.paypal.com/v1/oauth2/tokenInheaderScopes
https://uri.paypal.com/services/payments/payment/authcaptureapplication/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v2/payments/authorizations/0VF52814937998046" \ -H "Authorization: Bearer A21AAGHr9qtiRRXH4oYcQokQgV99rGqEIfgrr8xHCclP0OzmD9KVgg5ppIIg1jzJgQkV4wd02svIvBJyg6cLFJjFow_SjBhxQ" \ -H "PayPal-Auth-Assertion: eyJhbGciOiJub25lIn0.eyJlbWFpbCI6Im15QGVtYWlsLmNvbSJ9"{ "id": "0VF52814937998046", "status": "CREATED", "amount": { "value": "10.99", "currency_code": "USD" }, "invoice_id": "INVOICE-123", "seller_protection": { "status": "ELIGIBLE", "dispute_categories": [ "ITEM_NOT_RECEIVED", "UNAUTHORIZED_TRANSACTION" ] }, "payee": { "email_address": "merchant@example.com", "merchant_id": "7KNGBPH2U58GQ" }, "expiration_time": "2017-10-10T23:23:45Z", "create_time": "2017-09-11T23:23:45Z", "update_time": "2017-09-11T23:23:45Z", "links": [ { "rel": "self", "method": "GET", "href": "https://api-m.paypal.com/v2/payments/authorizations/0VF52814937998046" }, { "rel": "capture", "method": "POST", "href": "https://api-m.paypal.com/v2/payments/authorizations/0VF52814937998046/capture" }, { "rel": "void", "method": "POST", "href": "https://api-m.paypal.com/v2/payments/authorizations/0VF52814937998046/void" }, { "rel": "reauthorize", "method": "POST", "href": "https://api-m.paypal.com/v2/payments/authorizations/0VF52814937998046/reauthorize" } ]}{ "id": "0T620041CK889853A", "status": "CREATED", "amount": { "currency_code": "USD", "value": "100.00" }, "invoice_id": "OrderInvoice-23_10_2024_12_27_32_pm", "seller_protection": { "status": "ELIGIBLE", "dispute_categories": [ "ITEM_NOT_RECEIVED", "UNAUTHORIZED_TRANSACTION" ] }, "supplementary_data": { "related_ids": { "order_id": "25M43554V9523650M" } }, "payee": { "email_address": "merchant@example.com", "merchant_id": "YXZY75W2GKDQE" }, "expiration_time": "2024-11-21T17:27:36Z", "create_time": "2024-10-23T17:27:36Z", "update_time": "2024-10-23T17:27:36Z", "links": [ { "href": "https://api-m.sandbox.paypal.com/v2/payments/authorizations/0T620041CK889853A", "rel": "self", "method": "GET" }, { "href": "https://api-m.sandbox.paypal.com/v2/payments/authorizations/0T620041CK889853A/capture", "rel": "capture", "method": "POST" }, { "href": "https://api-m.sandbox.paypal.com/v2/payments/authorizations/0T620041CK889853A/void", "rel": "void", "method": "POST" }, { "href": "https://api-m.sandbox.paypal.com/v2/payments/authorizations/0T620041CK889853A/reauthorize", "rel": "reauthorize", "method": "POST" }, { "href": "https://api-m.sandbox.paypal.com/v2/checkout/orders/25M43554V9523650M", "rel": "up", "method": "GET" } ]}