@zkp2p/providers 1.0.0

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.
@@ -0,0 +1,136 @@
1
+ {
2
+ "actionType": "transfer_cashapp",
3
+ "authLink": "https://cash.app/account/activity",
4
+ "url": "https://cash.app/cash-app/activity/v1.0/page",
5
+ "method": "POST",
6
+ "body": "{\"activity_token\":{\"activity_token_type\":\"CUSTOMER_TOKEN\",\"token\":\"{{SENDER_ID}}\"},\"activity_scope\":\"MY_ACTIVITY_WEB_V2\",\"page_size\":15,\"request_context\":{}}",
7
+ "metadata": {
8
+ "platform": "cashapp",
9
+ "urlRegex": "https://cash.app/cash-app/activity/v1.0/page",
10
+ "method": "POST",
11
+ "fallbackUrlRegex": "",
12
+ "fallbackMethod": "",
13
+ "preprocessRegex": "",
14
+ "transactionsExtraction": {
15
+ "transactionJsonPathListSelector": "$.activity_rows",
16
+ "transactionJsonPathSelectors": {
17
+ "recipient": "$.payment_history_inputs_row.recipient.cashtag",
18
+ "amount": "$.payment_history_inputs_row.payment.amount.amount",
19
+ "date": "$.payment_history_inputs_row.payment.display_date",
20
+ "paymentId": "$.payment_history_inputs_row.payment.token",
21
+ "currency": "$.payment_history_inputs_row.payment.amount.currency_code"
22
+ }
23
+ },
24
+ "proofMetadataSelectors": [
25
+ {
26
+ "type": "jsonPath",
27
+ "value": "$.activity_rows[{{INDEX}}].payment_history_inputs_row.payment.amount.amount"
28
+ },
29
+ {
30
+ "type": "jsonPath",
31
+ "value": "$.activity_rows[{{INDEX}}].payment_history_inputs_row.payment.amount.currency_code"
32
+ },
33
+ {
34
+ "type": "jsonPath",
35
+ "value": "$.activity_rows[{{INDEX}}].payment_history_inputs_row.payment.token"
36
+ },
37
+ {
38
+ "type": "jsonPath",
39
+ "value": "$.activity_rows[{{INDEX}}].payment_history_inputs_row.recipient.cashtag"
40
+ }
41
+ ]
42
+ },
43
+ "paramNames": [
44
+ "SENDER_ID"
45
+ ],
46
+ "paramSelectors": [
47
+ {
48
+ "type": "jsonPath",
49
+ "value": "$.activity_rows[{{INDEX}}].payment_history_inputs_row.payment.sender_id"
50
+ }
51
+ ],
52
+ "skipRequestHeaders": [
53
+ "Cookie",
54
+ "x-csrf-token",
55
+ "x-device-name",
56
+ "x-request-signature",
57
+ "x-request-uuid",
58
+ "cash-web-request",
59
+ "x-web-device-info",
60
+ "x-web-context",
61
+ "x-bt-id"
62
+ ],
63
+ "secretHeaders": [
64
+ "Cookie",
65
+ "x-csrf-token",
66
+ "x-device-name",
67
+ "x-request-signature",
68
+ "x-request-uuid",
69
+ "cash-web-request",
70
+ "x-web-device-info",
71
+ "x-web-context",
72
+ "x-bt-id"
73
+ ],
74
+ "responseMatches": [
75
+ {
76
+ "type": "regex",
77
+ "value": "\"amount\":(?<amount>[0-9]+)"
78
+ },
79
+ {
80
+ "type": "regex",
81
+ "value": "\"currency_code\":\"(?<currency_code>[^\"]+)\""
82
+ },
83
+ {
84
+ "type": "regex",
85
+ "value": "\"display_date\":(?<date>[0-9]+)"
86
+ },
87
+ {
88
+ "type": "regex",
89
+ "value": "\"cashtag\":\"(?<receiverId>[^\"]+)\"",
90
+ "hash": true
91
+ },
92
+ {
93
+ "type": "regex",
94
+ "value": "\"token\":\"(?<paymentId>[^\"]+)\""
95
+ },
96
+ {
97
+ "type": "regex",
98
+ "value": "\"state\":\"(?<state>[^\"]+)\""
99
+ }
100
+ ],
101
+ "responseRedactions": [
102
+ {
103
+ "jsonPath": "$.activity_rows[{{INDEX}}].payment_history_inputs_row.payment.amount.amount",
104
+ "xPath": ""
105
+ },
106
+ {
107
+ "jsonPath": "$.activity_rows[{{INDEX}}].payment_history_inputs_row.payment.amount.currency_code",
108
+ "xPath": ""
109
+ },
110
+ {
111
+ "jsonPath": "$.activity_rows[{{INDEX}}].payment_history_inputs_row.payment.display_date",
112
+ "xPath": ""
113
+ },
114
+ {
115
+ "jsonPath": "$.activity_rows[{{INDEX}}].payment_history_inputs_row.recipient.cashtag",
116
+ "xPath": ""
117
+ },
118
+ {
119
+ "jsonPath": "$.activity_rows[{{INDEX}}].payment_history_inputs_row.payment.token",
120
+ "xPath": ""
121
+ },
122
+ {
123
+ "jsonPath": "$.activity_rows[{{INDEX}}].payment_history_inputs_row.payment.state",
124
+ "xPath": ""
125
+ }
126
+ ],
127
+ "mobile": {
128
+ "includeAdditionalCookieDomains": [],
129
+ "useExternalAction": true,
130
+ "external": {
131
+ "actionLink": "squarecash://cash?recipient=${{RECEIVER_ID}}&amount={{AMOUNT}}",
132
+ "appStoreLink": "https://apps.apple.com/us/app/cash-app-mobile-banking/id711923939",
133
+ "playStoreLink": "https://play.google.com/store/apps/details?id=com.squareup.cash"
134
+ }
135
+ }
136
+ }
@@ -0,0 +1,148 @@
1
+ {
2
+ "actionType": "transfer_zelle",
3
+ "authLink": "https://secure.chase.com/web/auth/dashboard#/dashboard/singleDoor/payments/activity;params=qp,sentactivity",
4
+ "url": "https://secure.chase.com/svc/rr/payments/secure/v1/quickpay/payment/activity/list",
5
+ "method": "POST",
6
+ "body": "pageId=&sortBy=PROCESS_DATE&orderBy=DESC",
7
+ "metadata": {
8
+ "platform": "zelle",
9
+ "urlRegex": "https://secure.chase.com/svc/rr/payments/secure/v1/quickpay/payment/activity/list$",
10
+ "method": "POST",
11
+ "fallbackUrlRegex": "",
12
+ "fallbackMethod": "",
13
+ "preprocessRegex": "",
14
+ "transactionsExtraction": {
15
+ "transactionJsonPathListSelector": "$.listItems",
16
+ "transactionJsonPathSelectors": {
17
+ "amount": "$.amount",
18
+ "paymentId": "$.id",
19
+ "recipient": "$.recipientName",
20
+ "date": "$.date",
21
+ "currency": "$.currency"
22
+ }
23
+ },
24
+ "proofMetadataSelectors": [
25
+ {
26
+ "type": "jsonPath",
27
+ "value": "$.listItems[{{INDEX}}].amount"
28
+ },
29
+ {
30
+ "type": "jsonPath",
31
+ "value": "$.listItems[{{INDEX}}].id"
32
+ },
33
+ {
34
+ "type": "jsonPath",
35
+ "value": "$.listItems[{{INDEX}}].recipientName"
36
+ },
37
+ {
38
+ "type": "jsonPath",
39
+ "value": "$.listItems[{{INDEX}}].date"
40
+ }
41
+ ]
42
+ },
43
+ "paramNames": [],
44
+ "paramSelectors": [],
45
+ "skipRequestHeaders": [
46
+ "Cookie",
47
+ "Accept-Encoding",
48
+ "x-jpmc-channel",
49
+ "x-jpmc-csrf-token",
50
+ "referer",
51
+ "origin"
52
+ ],
53
+ "secretHeaders": [
54
+ "Cookie",
55
+ "x-jpmc-channel",
56
+ "x-jpmc-csrf-token",
57
+ "referer",
58
+ "origin"
59
+ ],
60
+ "responseMatches": [
61
+ {
62
+ "type": "regex",
63
+ "value": "\"id\":(?<id>[0-9]+)"
64
+ },
65
+ {
66
+ "type": "regex",
67
+ "value": "\"verboseStatus\":\"(?<verboseStatus>[^\"]+)\""
68
+ },
69
+ {
70
+ "type": "regex",
71
+ "value": "\"date\":\"(?<date>[^\"]+)\""
72
+ },
73
+ {
74
+ "type": "regex",
75
+ "value": "\"amount\":(?<amount>[0-9\\.]+)"
76
+ }
77
+ ],
78
+ "responseRedactions": [
79
+ {
80
+ "jsonPath": "$.listItems[{{INDEX}}].id",
81
+ "xPath": ""
82
+ },
83
+ {
84
+ "jsonPath": "$.listItems[{{INDEX}}].verboseStatus",
85
+ "xPath": ""
86
+ },
87
+ {
88
+ "jsonPath": "$.listItems[{{INDEX}}].date",
89
+ "xPath": ""
90
+ },
91
+ {
92
+ "jsonPath": "$.listItems[{{INDEX}}].amount",
93
+ "xPath": ""
94
+ }
95
+ ],
96
+ "additionalProofs": [
97
+ {
98
+ "url": "https://secure.chase.com/svc/rr/payments/secure/v1/quickpay/payment/activity/detail/list",
99
+ "method": "POST",
100
+ "body": "paymentId={{PAYMENT_ID}}",
101
+ "paramNames": [
102
+ "PAYMENT_ID"
103
+ ],
104
+ "paramSelectors": [
105
+ {
106
+ "type": "jsonPath",
107
+ "value": "$.listItems[{{INDEX}}].id"
108
+ }
109
+ ],
110
+ "skipRequestHeaders": [
111
+ "Cookie",
112
+ "Accept-Encoding",
113
+ "x-jpmc-channel",
114
+ "x-jpmc-csrf-token",
115
+ "referer",
116
+ "origin"
117
+ ],
118
+ "secretHeaders": [
119
+ "Cookie",
120
+ "x-jpmc-channel",
121
+ "x-jpmc-csrf-token",
122
+ "referer",
123
+ "origin"
124
+ ],
125
+ "responseMatches": [
126
+ {
127
+ "type": "regex",
128
+ "value": "\"recipientEmail\":\"(?<recipientEmail>[^\"]+)\"",
129
+ "hash": true
130
+ }
131
+ ],
132
+ "responseRedactions": [
133
+ {
134
+ "jsonPath": "$.recipientEmail"
135
+ }
136
+ ]
137
+ }
138
+ ],
139
+ "mobile": {
140
+ "includeAdditionalCookieDomains": [],
141
+ "useExternalAction": true,
142
+ "external": {
143
+ "actionLink": "chase://",
144
+ "appStoreLink": "https://apps.apple.com/bb/app/chase-mobile-u-s/id298867247",
145
+ "playStoreLink": "https://play.google.com/store/apps/details?id=com.chase.sig.android"
146
+ }
147
+ }
148
+ }
@@ -0,0 +1,117 @@
1
+ {
2
+ "actionType": "transfer_zelle",
3
+ "authLink": "https://online.citi.com/US/nga/zelle/transfer",
4
+ "url": "https://online.citi.com/gcgapi/prod/public/v1/p2ppayments/pastActivityTransactions?transactionCount=20&pageId=0&tab=All",
5
+ "method": "GET",
6
+ "body": "",
7
+ "metadata": {
8
+ "platform": "zelle",
9
+ "urlRegex": "https://online.citi.com/gcgapi/prod/public/v1/p2ppayments/pastActivityTransactions\\?transactionCount=20&pageId=0&tab=All",
10
+ "method": "GET",
11
+ "fallbackUrlRegex": "",
12
+ "fallbackMethod": "",
13
+ "preprocessRegex": "",
14
+ "transactionsExtraction": {
15
+ "transactionJsonPathListSelector": "$.content.paymentTransactionsData",
16
+ "transactionJsonPathSelectors": {
17
+ "amount": "$.amount",
18
+ "paymentId": "$.paymentID",
19
+ "recipient": "$.partyToken",
20
+ "date": "$.updatedTimeStamp",
21
+ "currency": "$.currency"
22
+ }
23
+ },
24
+ "proofMetadataSelectors": [
25
+ {
26
+ "type": "jsonPath",
27
+ "value": "$.content.paymentTransactionsData[{{INDEX}}].amount"
28
+ },
29
+ {
30
+ "type": "jsonPath",
31
+ "value": "$.content.paymentTransactionsData[{{INDEX}}].paymentID"
32
+ },
33
+ {
34
+ "type": "jsonPath",
35
+ "value": "$.content.paymentTransactionsData[{{INDEX}}].partyToken"
36
+ },
37
+ {
38
+ "type": "jsonPath",
39
+ "value": "$.content.paymentTransactionsData[{{INDEX}}].updatedTimeStamp"
40
+ }
41
+ ]
42
+ },
43
+ "paramNames": [],
44
+ "paramSelectors": [],
45
+ "skipRequestHeaders": [
46
+ "Cookie",
47
+ "Accept-Encoding",
48
+ "accept-encoding"
49
+ ],
50
+ "secretHeaders": [
51
+ "Cookie"
52
+ ],
53
+ "responseMatches": [
54
+ {
55
+ "type": "regex",
56
+ "value": "\"paymentID\":\"(?<paymentID>[^\"]+)\""
57
+ },
58
+ {
59
+ "type": "regex",
60
+ "value": "\"paymentStatus\":\"(?<paymentStatus>[^\"]+)\""
61
+ },
62
+ {
63
+ "type": "regex",
64
+ "value": "\"updatedTimeStamp\":\"(?<updatedTimeStamp>[^\"]+)\""
65
+ },
66
+ {
67
+ "type": "regex",
68
+ "value": "\"amount\":\"(?<amount>[^\"]+)\""
69
+ },
70
+ {
71
+ "type": "regex",
72
+ "value": "\"partyToken\":\"(?<partyToken>[^\"]+)\"",
73
+ "hash": true
74
+ }
75
+ ],
76
+ "responseRedactions": [
77
+ {
78
+ "jsonPath": "$.content.paymentTransactionsData[{{INDEX}}].paymentID",
79
+ "xPath": ""
80
+ },
81
+ {
82
+ "jsonPath": "$.content.paymentTransactionsData[{{INDEX}}].paymentStatus",
83
+ "xPath": ""
84
+ },
85
+ {
86
+ "jsonPath": "$.content.paymentTransactionsData[{{INDEX}}].updatedTimeStamp",
87
+ "xPath": ""
88
+ },
89
+ {
90
+ "jsonPath": "$.content.paymentTransactionsData[{{INDEX}}].amount",
91
+ "xPath": ""
92
+ },
93
+ {
94
+ "jsonPath": "$.content.paymentTransactionsData[{{INDEX}}].partyToken",
95
+ "xPath": ""
96
+ }
97
+ ],
98
+ "additionalClientOptions": {
99
+ "cipherSuites": [
100
+ "TLS_CHACHA20_POLY1305_SHA256",
101
+ "TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256",
102
+ "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256",
103
+ "TLS_AES_128_GCM_SHA256",
104
+ "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
105
+ "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"
106
+ ]
107
+ },
108
+ "mobile": {
109
+ "includeAdditionalCookieDomains": [],
110
+ "useExternalAction": true,
111
+ "external": {
112
+ "actionLink": "citi://",
113
+ "appStoreLink": "https://apps.apple.com/us/app/citi-mobile/id301724680",
114
+ "playStoreLink": "https://play.google.com/store/apps/details?id=com.citi.citimobile"
115
+ }
116
+ }
117
+ }
@@ -0,0 +1,109 @@
1
+ {
2
+ "actionType": "transfer_idfc",
3
+ "authLink": "https://my.idfcfirstbank.com/pay/history",
4
+ "url": "https://app.my.idfcfirstbank.com/api/pfm/v2/transactions",
5
+ "method": "POST",
6
+ "body": "{\"accountNumbers\":[\"{{SENDER_ID}}\"],\"skip\":0,\"take\":20,\"upiStatus\":[\"SUCCESS\"]}",
7
+ "metadata": {
8
+ "shouldSkipCloseTab": true,
9
+ "shouldReplayRequestInPage": true,
10
+ "platform": "upi",
11
+ "urlRegex": "https://app.my.idfcfirstbank.com/api/pfm/v2/transactions",
12
+ "method": "POST",
13
+ "fallbackUrlRegex": "",
14
+ "fallbackMethod": "",
15
+ "preprocessRegex": "",
16
+ "transactionsExtraction": {
17
+ "transactionJsonPathListSelector": "$.data",
18
+ "transactionJsonPathSelectors": {
19
+ "recipient": "$.toPayeeName",
20
+ "amount": "$.amount",
21
+ "date": "$.timestamp",
22
+ "paymentId": "$.sourceTransactionId",
23
+ "currency": "$.accountCurrencyCode"
24
+ }
25
+ },
26
+ "proofMetadataSelectors": [
27
+ {
28
+ "type": "jsonPath",
29
+ "value": "$.data[{{INDEX}}].amount"
30
+ },
31
+ {
32
+ "type": "jsonPath",
33
+ "value": "$.data[{{INDEX}}].sourceTransactionId"
34
+ },
35
+ {
36
+ "type": "jsonPath",
37
+ "value": "$.data[{{INDEX}}].toPayeeName"
38
+ },
39
+ {
40
+ "type": "jsonPath",
41
+ "value": "$.data[{{INDEX}}].timestamp"
42
+ },
43
+ {
44
+ "type": "jsonPath",
45
+ "value": "$.data[{{INDEX}}].accountCurrencyCode"
46
+ }
47
+ ]
48
+ },
49
+ "paramNames": [
50
+ "SENDER_ID"
51
+ ],
52
+ "paramSelectors": [
53
+ {
54
+ "type": "jsonPath",
55
+ "value": "$.data[{{INDEX}}].userAccountNumber"
56
+ }
57
+ ],
58
+ "skipRequestHeaders": [
59
+ "Accept-Encoding",
60
+ "User-Agent"
61
+ ],
62
+ "secretHeaders": [
63
+ ],
64
+ "responseMatches": [
65
+ {
66
+ "type": "regex",
67
+ "value": "\"amount\":(?<amount>[^\"]+)"
68
+ },
69
+ {
70
+ "type": "regex",
71
+ "value": "\"timestamp\":\"(?<timestamp>[^\"]+)\""
72
+ },
73
+ {
74
+ "type": "regex",
75
+ "value": "\"sourceTransactionId\":\"(?<paymentId>[^\"]+)\""
76
+ },
77
+ {
78
+ "type": "regex",
79
+ "value": "\"toPayeeName\":\"(?<receiverId>[^\"]+)\"",
80
+ "hash": true
81
+ },
82
+ {
83
+ "type": "regex",
84
+ "value": "\"accountCurrencyCode\":\"(?<currency>[^\"]+)\""
85
+ }
86
+ ],
87
+ "responseRedactions": [
88
+ {
89
+ "jsonPath": "$.data[{{INDEX}}].amount",
90
+ "xPath": ""
91
+ },
92
+ {
93
+ "jsonPath": "$.data[{{INDEX}}].timestamp",
94
+ "xPath": ""
95
+ },
96
+ {
97
+ "jsonPath": "$.data[{{INDEX}}].sourceTransactionId",
98
+ "xPath": ""
99
+ },
100
+ {
101
+ "jsonPath": "$.data[{{INDEX}}].toPayeeName",
102
+ "xPath": ""
103
+ },
104
+ {
105
+ "jsonPath": "$.data[{{INDEX}}].accountCurrencyCode",
106
+ "xPath": ""
107
+ }
108
+ ]
109
+ }
@@ -0,0 +1,118 @@
1
+ {
2
+ "actionType": "transfer_luxon",
3
+ "authLink": "https://web.luxon.com/dashboard",
4
+ "url": "https://client-service.luxon.com/api/v4/transfers/{{TRANSFER_ID}}",
5
+ "method": "GET",
6
+ "body": "",
7
+ "metadata": {
8
+ "metadataUrl": "https://client-service.luxon.com/api/v4/transfers?page=0&size=10",
9
+ "metadataUrlMethod": "GET",
10
+ "metadataUrlBody": "",
11
+ "platform": "luxon",
12
+ "urlRegex": "https://client-service.luxon.com/api/v4/transfers\\S+",
13
+ "method": "GET",
14
+ "fallbackUrlRegex": "",
15
+ "fallbackMethod": "",
16
+ "preprocessRegex": "",
17
+ "transactionsExtraction": {
18
+ "transactionJsonPathListSelector": "$.content",
19
+ "transactionJsonPathSelectors": {
20
+ "recipient": "$.receiver.label",
21
+ "amount": "$.receiver.value.amount",
22
+ "date": "$.createdAt",
23
+ "paymentId": "$.transferId",
24
+ "currency": "$.receiver.value.currency",
25
+ "status": "$.status"
26
+ }
27
+ },
28
+ "proofMetadataSelectors": [
29
+ {
30
+ "type": "jsonPath",
31
+ "value": "$.content[{{INDEX}}].receiver.value.amount"
32
+ },
33
+ {
34
+ "type": "jsonPath",
35
+ "value": "$.content[{{INDEX}}].transferId"
36
+ },
37
+ {
38
+ "type": "jsonPath",
39
+ "value": "$.content[{{INDEX}}].receiver.id"
40
+ },
41
+ {
42
+ "type": "jsonPath",
43
+ "value": "$.content[{{INDEX}}].createdAt"
44
+ },
45
+ {
46
+ "type": "jsonPath",
47
+ "value": "$.content[{{INDEX}}].status"
48
+ }
49
+ ]
50
+ },
51
+ "paramNames": [
52
+ "TRANSFER_ID"
53
+ ],
54
+ "paramSelectors": [
55
+ {
56
+ "type": "jsonPath",
57
+ "value": "$.content[{{INDEX}}].transferId"
58
+ }
59
+ ],
60
+ "skipRequestHeaders": [
61
+ "X-Auth-Token"
62
+ ],
63
+ "secretHeaders": [
64
+ "X-Auth-Token"
65
+ ],
66
+ "responseMatches": [
67
+ {
68
+ "type": "regex",
69
+ "value": "\"transferId\":\"(?<transferId>[^\"]+)\""
70
+ },
71
+ {
72
+ "type": "regex",
73
+ "value": "\"status\":\"(?<status>[^\"]+)\""
74
+ },
75
+ {
76
+ "type": "regex",
77
+ "value": "\"createdAt\":\"(?<createdAt>[^\"]+)\""
78
+ },
79
+ {
80
+ "type": "regex",
81
+ "value": "\"amount\":(?<amount>[0-9\\.]+)"
82
+ },
83
+ {
84
+ "type": "regex",
85
+ "value": "\"currency\":\"(?<currency>[^\"]+)\""
86
+ },
87
+ {
88
+ "type": "regex",
89
+ "value": "\"email\":\"(?<email>[^\"]+)\""
90
+ }
91
+ ],
92
+ "responseRedactions": [
93
+ {
94
+ "jsonPath": "$.transferId",
95
+ "xPath": ""
96
+ },
97
+ {
98
+ "jsonPath": "$.status",
99
+ "xPath": ""
100
+ },
101
+ {
102
+ "jsonPath": "$.createdAt",
103
+ "xPath": ""
104
+ },
105
+ {
106
+ "jsonPath": "$.receiver.value.amount",
107
+ "xPath": ""
108
+ },
109
+ {
110
+ "jsonPath": "$.receiver.value.currency",
111
+ "xPath": ""
112
+ },
113
+ {
114
+ "jsonPath": "$.receiver.email",
115
+ "xPath": ""
116
+ }
117
+ ]
118
+ }