1{
2 "id": "48S239579N1696452",
3 "intent": "AUTHORIZE",
4 "purchase_units": [{
5 "reference_id": "default",
6 "amount": {
7 "currency_code": "USD",
8 "value": "30.00"
9 },
10 "payee": {
11 "email_address": "payee@example.com",
12 "merchant_id": "JK9AB28SRU4XL"
13 },
14 "shipping": {
15 "name": {
16 "full_name": "Firstname Lastname"
17 },
18 "address": {
19 "address_line_1": "123 Main St.",
20 "admin_area_2": "Anytown",
21 "admin_area_1": "CA",
22 "postal_code": "12345",
23 "country_code": "US"
24 }
25 },
26 "payments": {
27 "authorizations": [{
28 "status": "CREATED",
29 "id": "66P728836U784324A",
30 "amount": {
31 "currency_code": "USD",
32 "value": "30.00"
33 },
34 "seller_protection": {
35 "status": "ELIGIBLE",
36 "dispute_categories": ["ITEM_NOT_RECEIVED", "UNAUTHORIZED_TRANSACTION"]
37 },
38 "expiration_time": "2020-01-01T15:57:51Z",
39 "links": [{
40 "href": "https://api-m.sandbox.paypal.com/v2/payments/authorizations/66P728836U784324A",
41 "rel": "self",
42 "method": "GET"
43 }, {
44 "href": "https://api-m.sandbox.paypal.com/v2/payments/authorizations/66P728836U784324A/capture",
45 "rel": "capture",
46 "method": "POST"
47 }, {
48 "href": "https://api-m.sandbox.paypal.com/v2/payments/authorizations/66P728836U784324A/void",
49 "rel": "void",
50 "method": "POST"
51 }, {
52 "href": "https://api-m.sandbox.paypal.com/v2/payments/authorizations/66P728836U784324A/reauthorize",
53 "rel": "reauthorize",
54 "method": "POST"
55 }, {
56 "href": "https://api-m.sandbox.paypal.com/v2/checkout/orders/48S239579N1696452",
57 "rel": "up",
58 "method": "GET"
59 }],
60 "create_time": "2020-02-03T15:57:51Z",
61 "update_time": "2020-02-03T15:57:51Z"
62 }]
63 }
64 }],
65 "payer": {
66 "name": {
67 "given_name": "Firstname",
68 "surname": "Lastname"
69 },
70 "email_address": "payer@example.com",
71 "payer_id": "8Y7QBG68GYPHQ",
72 "address": {
73 "country_code": "US"
74 }
75 },
76 "create_time": "2020-02-03T15:57:17Z",
77 "update_time": "2020-02-03T15:57:51Z",
78 "links": [{
79 "href": "https://api-m.sandbox.paypal.com/v2/checkout/orders/48S239579N1696452",
80 "rel": "self",
81 "method": "GET"
82 }],
83 "status": "COMPLETED"
84}