Repository navigation
Expand file tree
/
Copy pathtest.json
More file actions
125 lines (125 loc) · 3.58 KB
/
Copy pathtest.json
File metadata and controls
125 lines (125 loc) · 3.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"id": "PAYID-MR55L7A5LB594153G222535K",
"intent": "sale",
"payer": {
"payment_method": "paypal",
"status": "UNVERIFIED",
"payer_info": {
"email": "yemencoder@gmail.com",
"first_name": "Osama",
"last_name": "Al-mamari",
"payer_id": "G3UTPXX2CNECA",
"country_code": "SA",
"shipping_address": {
"recipient_name": "Osama Al-mamari",
"line1": "Hail/Al Rabat Street",
"line2": "Alrbat Street",
"city": "jdea",
"country_code": "SA",
"postal_code": "01556",
"state": ""
}
}
},
"cart": "6Y718821S10617034",
"transactions": [
{
"related_resources": [
{
"sale": {
"id": "26P75142BH160641C",
"amount": {
"currency": "USD",
"total": "137.00",
"details": {
"subtotal": "137.00",
"shipping": "0.00",
"handling_fee": "0.00",
"shipping_discount": "0.00",
"insurance": "0.00"
}
},
"payment_mode": "INSTANT_TRANSFER",
"state": "completed",
"protection_eligibility": "ELIGIBLE",
"protection_eligibility_type": "ITEM_NOT_RECEIVED_ELIGIBLE,UNAUTHORIZED_PAYMENT_ELIGIBLE",
"transaction_fee": {
"currency": "USD",
"value": "7.33"
},
"parent_payment": "PAYID-MR55L7A5LB594153G222535K",
"create_time": "2023-06-04T00:08:49Z",
"update_time": "2023-06-04T00:08:49Z",
"links": [
{
"href": "https://api.sandbox.paypal.com/v1/payments/sale/26P75142BH160641C",
"rel": "self",
"method": "GET"
},
{
"href": "https://api.sandbox.paypal.com/v1/payments/sale/26P75142BH160641C/refund",
"rel": "refund",
"method": "POST"
},
{
"href": "https://api.sandbox.paypal.com/v1/payments/payment/PAYID-MR55L7A5LB594153G222535K",
"rel": "parent_payment",
"method": "GET"
}
]
}
}
],
"amount": {
"currency": "USD",
"total": "137.00",
"details": {
"subtotal": "137.00",
"shipping": "0.00",
"handling_fee": "0.00",
"shipping_discount": "0.00",
"insurance": "0.00"
}
},
"payee": {
"email": "sb-nqzwx26136187@business.example.com",
"merchant_id": "H75U6JVCZQ4ZS"
},
"description": "Services Subscription",
"invoice_number": "27",
"soft_descriptor": "PAYPAL *TEST STORE",
"item_list": {
"items": [
{
"sku": "SAMPLE_SKU",
"name": "Services Subscription",
"quantity": "1",
"price": "137.00",
"currency": "USD",
"tax": "0.00"
}
],
"shipping_address": {
"recipient_name": "Osama Al-mamari",
"line1": "Hail/Al Rabat Street",
"line2": "Alrbat Street",
"city": "jdea",
"country_code": "SA",
"postal_code": "01556",
"state": ""
}
}
}
],
"failed_transactions": [],
"state": "approved",
"create_time": "2023-06-04T00:08:28Z",
"update_time": "2023-06-04T00:08:49Z",
"links": [
{
"href": "https://api.sandbox.paypal.com/v1/payments/payment/PAYID-MR55L7A5LB594153G222535K",
"rel": "self",
"method": "GET"
}
]
}