@zkp2p/providers 7.8.5 → 7.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/n26/transfer_n26.json
CHANGED
|
@@ -94,6 +94,10 @@
|
|
|
94
94
|
{
|
|
95
95
|
"type": "regex",
|
|
96
96
|
"value": "\"iban\":\"(?<recipientId>[A-Z]{2}[A-Z0-9]+)\""
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"type": "regex",
|
|
100
|
+
"value": "\"value\":\"(?:Instant bank transfer|Echtzeit\u00fcberweisung|Virement instantan\u00e9|Transferencia inmediata|Bonifico istantaneo)\""
|
|
97
101
|
}
|
|
98
102
|
],
|
|
99
103
|
"responseRedactions": [
|
|
@@ -116,6 +120,10 @@
|
|
|
116
120
|
{
|
|
117
121
|
"jsonPath": "$.data.transaction.containers[1].body[1].action.params.iban",
|
|
118
122
|
"xPath": ""
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"jsonPath": "$.data.transaction.containers[*].body[?(@.id==\"transaction_type_component\")].value",
|
|
126
|
+
"xPath": ""
|
|
119
127
|
}
|
|
120
128
|
],
|
|
121
129
|
"mobile": {
|
package/package.json
CHANGED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actionType": "register_paypal",
|
|
3
|
+
"proofEngine": "reclaim",
|
|
4
|
+
"authLink": "https://www.paypal.com/myaccount/profile/",
|
|
5
|
+
"url": "https://www.paypal.com/myaccount/profile/home/api/user",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"body": "",
|
|
8
|
+
"metadata": {
|
|
9
|
+
"platform": "paypal",
|
|
10
|
+
"urlRegex": "^https://www.paypal.com/myaccount/profile/home/api/user\\?locale\\.x=[^&]+&country\\.x=[A-Z]{2}(?:&.*)?$",
|
|
11
|
+
"method": "GET",
|
|
12
|
+
"fallbackUrlRegex": "",
|
|
13
|
+
"fallbackMethod": "",
|
|
14
|
+
"preprocessRegex": "",
|
|
15
|
+
"transactionsExtraction": {
|
|
16
|
+
"transactionJsonPathListSelector": "",
|
|
17
|
+
"transactionJsonPathSelectors": {
|
|
18
|
+
"email": "$.data.emails.emailPreference.email",
|
|
19
|
+
"paypalMeLink": "$.data.paypalMe.link"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"proofMetadataSelectors": [
|
|
23
|
+
{
|
|
24
|
+
"type": "jsonPath",
|
|
25
|
+
"value": "$.data.emails.emailPreference.email"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"type": "jsonPath",
|
|
29
|
+
"value": "$.data.paypalMe.link"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"paramNames": [],
|
|
34
|
+
"paramSelectors": [],
|
|
35
|
+
"skipRequestHeaders": [
|
|
36
|
+
"Cookie",
|
|
37
|
+
"Accept-Encoding"
|
|
38
|
+
],
|
|
39
|
+
"secretHeaders": [
|
|
40
|
+
"Cookie"
|
|
41
|
+
],
|
|
42
|
+
"responseMatches": [
|
|
43
|
+
{
|
|
44
|
+
"type": "regex",
|
|
45
|
+
"value": "(?<email>[^\"\\s]*@[^\"\\s]*)"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"type": "regex",
|
|
49
|
+
"value": "paypal\\.me\\/(?<paypalUsername>[^\"\\/\\s]+)"
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"responseRedactions": [
|
|
53
|
+
{
|
|
54
|
+
"jsonPath": "$.data.emails.emailPreference.email",
|
|
55
|
+
"xPath": ""
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"jsonPath": "$.data.paypalMe.link",
|
|
59
|
+
"xPath": ""
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"mobile": {
|
|
63
|
+
"includeAdditionalCookieDomains": [],
|
|
64
|
+
"additionalClientOptions": {
|
|
65
|
+
"cipherSuites": [
|
|
66
|
+
"TLS_CHACHA20_POLY1305_SHA256",
|
|
67
|
+
"TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256",
|
|
68
|
+
"TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256"
|
|
69
|
+
]
|
|
70
|
+
},
|
|
71
|
+
"userAgent": {
|
|
72
|
+
"android": "Mozilla/5.0 (Linux; Android 13; Pixel 6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.6367.207 Mobile Safari/537.36",
|
|
73
|
+
"ios": "Mozilla/5.0 (Macintosh; Intel Mac OS X 13_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Safari/605.1.15"
|
|
74
|
+
},
|
|
75
|
+
"useExternalAction": true,
|
|
76
|
+
"external": {
|
|
77
|
+
"actionLink": "paypal://",
|
|
78
|
+
"appStoreLink": "https://apps.apple.com/us/app/paypal-pay-send-save/id283646709",
|
|
79
|
+
"playStoreLink": "https://play.google.com/store/apps/details?id=com.paypal.android.p2pmobile&hl=en_US"
|
|
80
|
+
},
|
|
81
|
+
"login": {
|
|
82
|
+
"usernameSelector": "#email, input[name=\"login_email\"][type=\"email\"]",
|
|
83
|
+
"passwordSelector": "#password, input[name=\"login_password\"][type=\"password\"]",
|
|
84
|
+
"nextSelector": "#btnNext, button[name=\"btnNext\"][type=\"submit\"]",
|
|
85
|
+
"submitSelector": "#btnLogin, button[name=\"btnLogin\"], button.actionContinue[value=\"Login\"], button[value=\"Login\"][type=\"submit\"]",
|
|
86
|
+
"revealTimeoutMs": 5000
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
{
|
|
2
|
+
"actionType": "transfer_business_paypal",
|
|
3
|
+
"proofEngine": "reclaim",
|
|
4
|
+
"authLink": "https://www.paypal.com/mep/unifiedtransactions/?filter=0&query=",
|
|
5
|
+
"url": "https://www.paypal.com/activity/api/payment/{{PAYMENT_ID}}",
|
|
6
|
+
"method": "GET",
|
|
7
|
+
"body": "",
|
|
8
|
+
"metadata": {
|
|
9
|
+
"platform": "paypal",
|
|
10
|
+
"urlRegex": "^https://www.paypal.com/unifiedtransactions/v1/transactions$",
|
|
11
|
+
"method": "POST",
|
|
12
|
+
"fallbackUrlRegex": "",
|
|
13
|
+
"fallbackMethod": "",
|
|
14
|
+
"preprocessRegex": "",
|
|
15
|
+
"transactionsExtraction": {
|
|
16
|
+
"transactionJsonPathListSelector": "$.transactions",
|
|
17
|
+
"transactionJsonPathSelectors": {
|
|
18
|
+
"recipient": "$.name",
|
|
19
|
+
"amount": "$.gross",
|
|
20
|
+
"date": "$.createTime",
|
|
21
|
+
"paymentId": "$.id",
|
|
22
|
+
"currency": "$.currency",
|
|
23
|
+
"type": "$.description"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"proofMetadataSelectors": [
|
|
27
|
+
{
|
|
28
|
+
"type": "jsonPath",
|
|
29
|
+
"value": "$.transactions[{{INDEX}}].id"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"paramNames": [
|
|
34
|
+
"PAYMENT_ID"
|
|
35
|
+
],
|
|
36
|
+
"paramSelectors": [
|
|
37
|
+
{
|
|
38
|
+
"type": "jsonPath",
|
|
39
|
+
"value": "$.transactions[{{INDEX}}].id"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"skipRequestHeaders": [
|
|
43
|
+
"Cookie",
|
|
44
|
+
"Accept-Encoding"
|
|
45
|
+
],
|
|
46
|
+
"secretHeaders": [
|
|
47
|
+
"Cookie"
|
|
48
|
+
],
|
|
49
|
+
"responseMatches": [
|
|
50
|
+
{
|
|
51
|
+
"type": "regex",
|
|
52
|
+
"value": "(?<recvId>[^\"\\s]*@[^\"\\s]*)"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"type": "regex",
|
|
56
|
+
"value": "\\$(?<amt>[0-9.]+)"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"type": "regex",
|
|
60
|
+
"value": "\"grossAmt\":\"[^\\\"]*[0-9.]+[^A-Z]*(?<curr>[A-Z]+)"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"type": "regex",
|
|
64
|
+
"value": "\"paymentStatusActual\":\"(?<status>[^\"]+)"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"type": "regex",
|
|
68
|
+
"value": "(?<date>[A-Z][a-z]+ [0-9]{1,2}, [0-9]{4}[^\"]*)"
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"responseRedactions": [
|
|
72
|
+
{
|
|
73
|
+
"jsonPath": "$.data.data.data.NameEmailPaidBy.CounterPartyContactModelData.email",
|
|
74
|
+
"xPath": ""
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"jsonPath": "$.data.data.data.TDHeader.grossAmt",
|
|
78
|
+
"xPath": ""
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"jsonPath": "$.data.data.data.TDHeader.paymentStatusActual",
|
|
82
|
+
"xPath": ""
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"jsonPath": "$.data.data.data.TDHeader.date",
|
|
86
|
+
"xPath": ""
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"mobile": {
|
|
90
|
+
"includeAdditionalCookieDomains": [],
|
|
91
|
+
"additionalClientOptions": {
|
|
92
|
+
"cipherSuites": [
|
|
93
|
+
"TLS_CHACHA20_POLY1305_SHA256",
|
|
94
|
+
"TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256",
|
|
95
|
+
"TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256"
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
"userAgent": {
|
|
99
|
+
"android": "Mozilla/5.0 (Linux; Android 13; Pixel 6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.6367.207 Mobile Safari/537.36",
|
|
100
|
+
"ios": "Mozilla/5.0 (Macintosh; Intel Mac OS X 13_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Safari/605.1.15"
|
|
101
|
+
},
|
|
102
|
+
"useExternalAction": true,
|
|
103
|
+
"external": {
|
|
104
|
+
"actionLink": "paypal://",
|
|
105
|
+
"appStoreLink": "https://apps.apple.com/us/app/paypal-pay-send-save/id283646709",
|
|
106
|
+
"playStoreLink": "https://play.google.com/store/apps/details?id=com.paypal.android.p2pmobile&hl=en_US"
|
|
107
|
+
},
|
|
108
|
+
"login": {
|
|
109
|
+
"usernameSelector": "#email, input[name=\"login_email\"][type=\"email\"]",
|
|
110
|
+
"passwordSelector": "#password, input[name=\"login_password\"][type=\"password\"]",
|
|
111
|
+
"nextSelector": "#btnNext, button[name=\"btnNext\"][type=\"submit\"]",
|
|
112
|
+
"submitSelector": "#btnLogin, button[name=\"btnLogin\"], button.actionContinue[value=\"Login\"], button[value=\"Login\"][type=\"submit\"]",
|
|
113
|
+
"revealTimeoutMs": 5000
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
package/providers.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
{ "id": "mercadopago", "files": ["mercadopago/transfer_mercadopago.json"] },
|
|
11
11
|
{ "id": "mercury", "files": ["mercury/mercury-wires.json"] },
|
|
12
12
|
{ "id": "monzo", "files": ["monzo/transfer_monzo.json"] },
|
|
13
|
-
{ "id": "paypal", "files": ["paypal/transfer_paypal.json"] },
|
|
13
|
+
{ "id": "paypal", "files": ["paypal/transfer_paypal.json", "paypal/register_paypal.json", "paypal/transfer_business_paypal.json"] },
|
|
14
14
|
{ "id": "revolut", "files": ["revolut/transfer_revolut.json"] },
|
|
15
15
|
{ "id": "royalbankcanada", "files": ["royalbankcanada/transfer_interac.json"] },
|
|
16
16
|
{ "id": "usbank", "files": ["usbank/transfer_zelle.json"] },
|