-
Notifications
You must be signed in to change notification settings - Fork 0
/
payment-onAuthorize.json
62 lines (61 loc) · 1.96 KB
/
payment-onAuthorize.json
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
{
"create_time": "2017-08-11T03:10:10.419Z",
"paymentToken": "EC-5SV06868XR467703Y",
"payerID": "SEZ523VRM5HT4",
"paymentID": "PAY-2EE42136DP669730CLGGR5GY",
"intent": "sale",
"returnUrl": "http://localhost:3000/#!/paySuccess?paymentId=PAY-2EE42136DP669730CLGGR5GY&token=EC-5SV06868XR467703Y&PayerID=SEZ523VRM5HT4"
}
{
"id": "PAY-2EE42136DP669730CLGGR5GY",
"intent": "sale",
"state": "approved",
"cart": "5SV06868XR467703Y",
"create_time": "2017-08-11T03:04:15Z",
"payer": {
"payment_method": "paypal",
"status": "VERIFIED",
"payer_info": {
"email": "robotics1@gmail.com",
"first_name": "Muhammad",
"middle_name": "Muhammad",
"last_name": "Siddiqui",
"payer_id": "SEZ523VRM5HT4",
"country_code": "US",
"shipping_address": {
"recipient_name": "Muhammad A Siddiqui",
"line1": "4205 Ivanhoe Dr",
"city": "Monroeville",
"state": "PA",
"postal_code": "15146-2680",
"country_code": "US"
}
}
},
"transactions": [
{
"amount": {
"total": "0.01",
"currency": "CAD",
"details": {}
},
"item_list": {},
"related_resources": [
{
"sale": {
"id": "05201409XN919374M",
"state": "completed",
"payment_mode": "INSTANT_TRANSFER",
"protection_eligibility": "ELIGIBLE",
"parent_payment": "PAY-2EE42136DP669730CLGGR5GY",
"amount": {
"total": "0.01",
"currency": "CAD",
"details": {}
}
}
}
]
}
]
}