@wix/auto_sdk_payments_psp-callbacks 1.0.13 → 1.0.15
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/build/index.d.mts +24 -0
- package/build/index.d.ts +24 -0
- package/build/index.js +414 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +387 -0
- package/build/index.mjs.map +1 -0
- package/build/internal/index.d.mts +24 -0
- package/build/internal/index.d.ts +24 -0
- package/build/internal/index.js +414 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +387 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/internal/meta.d.mts +168 -0
- package/build/internal/meta.d.ts +168 -0
- package/build/internal/meta.js +393 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +366 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/{cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.d.ts → internal/payments-psp-v1-provider-platform-event-psp-callbacks.universal-CEQHoEoO.d.mts} +15 -13
- package/build/internal/{cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.d.ts → payments-psp-v1-provider-platform-event-psp-callbacks.universal-CEQHoEoO.d.ts} +15 -13
- package/build/meta.d.mts +168 -0
- package/build/meta.d.ts +168 -0
- package/build/meta.js +393 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +366 -0
- package/build/meta.mjs.map +1 -0
- package/build/{internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.d.ts → payments-psp-v1-provider-platform-event-psp-callbacks.universal-CEQHoEoO.d.mts} +15 -13
- package/build/{es/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.d.ts → payments-psp-v1-provider-platform-event-psp-callbacks.universal-CEQHoEoO.d.ts} +15 -13
- package/package.json +13 -12
- package/build/cjs/index.d.ts +0 -1
- package/build/cjs/index.js +0 -18
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/meta.d.ts +0 -1
- package/build/cjs/meta.js +0 -18
- package/build/cjs/meta.js.map +0 -1
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.d.ts +0 -4
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js +0 -7
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js.map +0 -1
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.d.ts +0 -12
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js +0 -354
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js.map +0 -1
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.d.ts +0 -13
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js +0 -47
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js.map +0 -1
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.d.ts +0 -22
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js +0 -12
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js.map +0 -1
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js +0 -3
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js.map +0 -1
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts +0 -169
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js +0 -67
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/package.json +0 -3
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.d.ts +0 -4
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js +0 -4
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js.map +0 -1
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.d.ts +0 -12
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js +0 -350
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js.map +0 -1
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.d.ts +0 -13
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js +0 -20
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js.map +0 -1
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.d.ts +0 -22
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js +0 -8
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js.map +0 -1
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js +0 -2
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js.map +0 -1
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts +0 -169
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js +0 -40
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js.map +0 -1
- package/build/internal/cjs/index.d.ts +0 -1
- package/build/internal/cjs/index.js +0 -18
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -1
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.d.ts +0 -1
- package/build/internal/cjs/meta.js +0 -18
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.d.ts +0 -4
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js +0 -7
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js.map +0 -1
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.d.ts +0 -12
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js +0 -354
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js.map +0 -1
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.d.ts +0 -13
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js +0 -47
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js.map +0 -1
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.d.ts +0 -22
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js +0 -12
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js.map +0 -1
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js +0 -3
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js.map +0 -1
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts +0 -169
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js +0 -67
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.d.ts +0 -4
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js +0 -4
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js.map +0 -1
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.d.ts +0 -12
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js +0 -350
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js.map +0 -1
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.d.ts +0 -13
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js +0 -20
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js.map +0 -1
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.d.ts +0 -22
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js +0 -8
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js.map +0 -1
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js +0 -2
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js.map +0 -1
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts +0 -169
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js +0 -40
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js.map +0 -1
package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js
DELETED
|
@@ -1,354 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.submitEvent = void 0;
|
|
4
|
-
const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
|
|
5
|
-
function resolveWixPaymentsV1ProviderPlatformEventsProviderPlatformEventsServiceUrl(opts) {
|
|
6
|
-
const domainToMappings = {
|
|
7
|
-
'cashier-services._base_domain_': [
|
|
8
|
-
{
|
|
9
|
-
srcPath: '',
|
|
10
|
-
destPath: '',
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
srcPath: '/_api/payment-services-web',
|
|
14
|
-
destPath: '/api',
|
|
15
|
-
},
|
|
16
|
-
],
|
|
17
|
-
'difm._base_domain_': [
|
|
18
|
-
{
|
|
19
|
-
srcPath: '/_api/payment-services-web',
|
|
20
|
-
destPath: '/api',
|
|
21
|
-
},
|
|
22
|
-
],
|
|
23
|
-
'invoices._base_domain_': [
|
|
24
|
-
{
|
|
25
|
-
srcPath: '/_api/payment-services-web',
|
|
26
|
-
destPath: '/api',
|
|
27
|
-
},
|
|
28
|
-
],
|
|
29
|
-
'apps._base_domain_': [
|
|
30
|
-
{
|
|
31
|
-
srcPath: '/_api/payment-services-web',
|
|
32
|
-
destPath: '/api',
|
|
33
|
-
},
|
|
34
|
-
],
|
|
35
|
-
'ecom._base_domain_': [
|
|
36
|
-
{
|
|
37
|
-
srcPath: '/_api/payment-services-web',
|
|
38
|
-
destPath: '/api',
|
|
39
|
-
},
|
|
40
|
-
],
|
|
41
|
-
'www.cartscheckout.com': [
|
|
42
|
-
{
|
|
43
|
-
srcPath: '/_api/payment-services-web',
|
|
44
|
-
destPath: '/api',
|
|
45
|
-
},
|
|
46
|
-
],
|
|
47
|
-
'cartscheckout.com': [
|
|
48
|
-
{
|
|
49
|
-
srcPath: '/_api/payment-services-web',
|
|
50
|
-
destPath: '/api',
|
|
51
|
-
},
|
|
52
|
-
],
|
|
53
|
-
'cartscheckout._base_domain_': [
|
|
54
|
-
{
|
|
55
|
-
srcPath: '/_api/payment-services-web',
|
|
56
|
-
destPath: '/api',
|
|
57
|
-
},
|
|
58
|
-
],
|
|
59
|
-
'api._api_base_domain_': [
|
|
60
|
-
{
|
|
61
|
-
srcPath: '/payment-services-web',
|
|
62
|
-
destPath: '',
|
|
63
|
-
},
|
|
64
|
-
],
|
|
65
|
-
'progallery._base_domain_': [
|
|
66
|
-
{
|
|
67
|
-
srcPath: '/_api/payment-services-web',
|
|
68
|
-
destPath: '',
|
|
69
|
-
},
|
|
70
|
-
],
|
|
71
|
-
'progallerycdn._base_domain_': [
|
|
72
|
-
{
|
|
73
|
-
srcPath: '/_api/payment-services-web',
|
|
74
|
-
destPath: '',
|
|
75
|
-
},
|
|
76
|
-
],
|
|
77
|
-
'scheduler._base_domain_': [
|
|
78
|
-
{
|
|
79
|
-
srcPath: '/_api/payment-services-web',
|
|
80
|
-
destPath: '/api',
|
|
81
|
-
},
|
|
82
|
-
],
|
|
83
|
-
'events._base_domain_': [
|
|
84
|
-
{
|
|
85
|
-
srcPath: '/_api/payment-services-web',
|
|
86
|
-
destPath: '/api',
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
srcPath: '/payment-services-web',
|
|
90
|
-
destPath: '',
|
|
91
|
-
},
|
|
92
|
-
],
|
|
93
|
-
'bookings.wixapps.net': [
|
|
94
|
-
{
|
|
95
|
-
srcPath: '/_api/payment-services-web',
|
|
96
|
-
destPath: '/api',
|
|
97
|
-
},
|
|
98
|
-
],
|
|
99
|
-
'cashier._base_domain_': [
|
|
100
|
-
{
|
|
101
|
-
srcPath: '/_api/payment-services-web',
|
|
102
|
-
destPath: '/api',
|
|
103
|
-
},
|
|
104
|
-
],
|
|
105
|
-
'ecom.wixapps.net': [
|
|
106
|
-
{
|
|
107
|
-
srcPath: '/_api/payment-services-web',
|
|
108
|
-
destPath: '/api',
|
|
109
|
-
},
|
|
110
|
-
],
|
|
111
|
-
'cashier.wixapps.net': [
|
|
112
|
-
{
|
|
113
|
-
srcPath: '/_api/payment-services-web',
|
|
114
|
-
destPath: '/api',
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
srcPath: '',
|
|
118
|
-
destPath: '',
|
|
119
|
-
},
|
|
120
|
-
],
|
|
121
|
-
'vod-server._base_domain_': [
|
|
122
|
-
{
|
|
123
|
-
srcPath: '/_api/payment-services-web',
|
|
124
|
-
destPath: '/api',
|
|
125
|
-
},
|
|
126
|
-
],
|
|
127
|
-
'vod.wixapps.net': [
|
|
128
|
-
{
|
|
129
|
-
srcPath: '/_api/payment-services-web',
|
|
130
|
-
destPath: '/api',
|
|
131
|
-
},
|
|
132
|
-
],
|
|
133
|
-
'www.wixhotels.com': [
|
|
134
|
-
{
|
|
135
|
-
srcPath: '/_api/payment-services-web',
|
|
136
|
-
destPath: '/api',
|
|
137
|
-
},
|
|
138
|
-
],
|
|
139
|
-
'editor._base_domain_': [
|
|
140
|
-
{
|
|
141
|
-
srcPath: '/_api/payment-services-web',
|
|
142
|
-
destPath: '/api',
|
|
143
|
-
},
|
|
144
|
-
],
|
|
145
|
-
'blocks._base_domain_': [
|
|
146
|
-
{
|
|
147
|
-
srcPath: '/_api/payment-services-web',
|
|
148
|
-
destPath: '/api',
|
|
149
|
-
},
|
|
150
|
-
],
|
|
151
|
-
'create.editorx': [
|
|
152
|
-
{
|
|
153
|
-
srcPath: '/_api/payment-services-web',
|
|
154
|
-
destPath: '/api',
|
|
155
|
-
},
|
|
156
|
-
],
|
|
157
|
-
'test-applepay.wixapps.net': [
|
|
158
|
-
{
|
|
159
|
-
srcPath: '/_api/payment-services-web',
|
|
160
|
-
destPath: '/api',
|
|
161
|
-
},
|
|
162
|
-
],
|
|
163
|
-
'www.wixapis.com': [
|
|
164
|
-
{
|
|
165
|
-
srcPath: '/payments',
|
|
166
|
-
destPath: '/api/merchant',
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
srcPath: '/payments/v1/provider-platform-events',
|
|
170
|
-
destPath: '/payments/v1/provider-platform-events',
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
srcPath: '/api/plugin/v1/transactions',
|
|
174
|
-
destPath: '/api/plugin/v1/transactions',
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
srcPath: '/payments/api/merchant',
|
|
178
|
-
destPath: '/api/merchant',
|
|
179
|
-
},
|
|
180
|
-
],
|
|
181
|
-
'us-applepay.wixapps.net': [
|
|
182
|
-
{
|
|
183
|
-
srcPath: '/_api/payment-services-web',
|
|
184
|
-
destPath: '/api',
|
|
185
|
-
},
|
|
186
|
-
],
|
|
187
|
-
'eu-applepay.wixapps.net': [
|
|
188
|
-
{
|
|
189
|
-
srcPath: '/_api/payment-services-web',
|
|
190
|
-
destPath: '/api',
|
|
191
|
-
},
|
|
192
|
-
],
|
|
193
|
-
'payments-sb.wixapps.net': [
|
|
194
|
-
{
|
|
195
|
-
srcPath: '/_api/payment-services-web',
|
|
196
|
-
destPath: '/api',
|
|
197
|
-
},
|
|
198
|
-
],
|
|
199
|
-
'manage._base_domain_': [
|
|
200
|
-
{
|
|
201
|
-
srcPath: '/_api/payment-services-web',
|
|
202
|
-
destPath: '/api',
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
srcPath: '/ambassador/payment-services-web',
|
|
206
|
-
destPath: '',
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
srcPath: '/.well-known/apple-developer-merchantid-domain-association',
|
|
210
|
-
destPath: '/domain-verification/apple-pay',
|
|
211
|
-
},
|
|
212
|
-
],
|
|
213
|
-
_: [
|
|
214
|
-
{
|
|
215
|
-
srcPath: '/_api/payment-services-web',
|
|
216
|
-
destPath: '/api',
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
srcPath: '/.well-known/apple-developer-merchantid-domain-association',
|
|
220
|
-
destPath: '/domain-verification/apple-pay',
|
|
221
|
-
},
|
|
222
|
-
],
|
|
223
|
-
'events.wixapps.net': [
|
|
224
|
-
{
|
|
225
|
-
srcPath: '/_api/payment-services-web',
|
|
226
|
-
destPath: '/api',
|
|
227
|
-
},
|
|
228
|
-
],
|
|
229
|
-
'tpa.wixapps.net': [
|
|
230
|
-
{
|
|
231
|
-
srcPath: '/_api/payment-services-web',
|
|
232
|
-
destPath: '/api',
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
srcPath: '/payment-services-web',
|
|
236
|
-
destPath: '',
|
|
237
|
-
},
|
|
238
|
-
],
|
|
239
|
-
'pricing-plans.wixapps.net': [
|
|
240
|
-
{
|
|
241
|
-
srcPath: '/_api/payment-services-web',
|
|
242
|
-
destPath: '/api',
|
|
243
|
-
},
|
|
244
|
-
],
|
|
245
|
-
'editor-flow.wixapps.net': [
|
|
246
|
-
{
|
|
247
|
-
srcPath: '/_api/payment-services-web',
|
|
248
|
-
destPath: '/api',
|
|
249
|
-
},
|
|
250
|
-
],
|
|
251
|
-
'bo._base_domain_': [
|
|
252
|
-
{
|
|
253
|
-
srcPath: '/_api/payment-services-web',
|
|
254
|
-
destPath: '/api',
|
|
255
|
-
},
|
|
256
|
-
],
|
|
257
|
-
'wixbo.ai': [
|
|
258
|
-
{
|
|
259
|
-
srcPath: '/_api/payment-services-web',
|
|
260
|
-
destPath: '/api',
|
|
261
|
-
},
|
|
262
|
-
],
|
|
263
|
-
'wix-bo.com': [
|
|
264
|
-
{
|
|
265
|
-
srcPath: '/_api/payment-services-web',
|
|
266
|
-
destPath: '/api',
|
|
267
|
-
},
|
|
268
|
-
],
|
|
269
|
-
'editor.wixapps.net': [
|
|
270
|
-
{
|
|
271
|
-
srcPath: '/_api/payment-services-web',
|
|
272
|
-
destPath: '/api',
|
|
273
|
-
},
|
|
274
|
-
],
|
|
275
|
-
'premium._base_domain_': [
|
|
276
|
-
{
|
|
277
|
-
srcPath: '/_api/payment-services-web',
|
|
278
|
-
destPath: '/api',
|
|
279
|
-
},
|
|
280
|
-
{
|
|
281
|
-
srcPath: '/payment-services-web',
|
|
282
|
-
destPath: '',
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
srcPath: '/lib-mbapi/include/modules/gateway/return/paypal.php',
|
|
286
|
-
destPath: '/api/payPal/payments/legacy-ipn-to-ignore',
|
|
287
|
-
},
|
|
288
|
-
],
|
|
289
|
-
'www._base_domain_': [
|
|
290
|
-
{
|
|
291
|
-
srcPath: '/_api/payment-services-web',
|
|
292
|
-
destPath: '/api',
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
srcPath: '/.well-known/apple-developer-merchantid-domain-association',
|
|
296
|
-
destPath: '/domain-verification/apple-pay',
|
|
297
|
-
},
|
|
298
|
-
],
|
|
299
|
-
'payment-webhooks.wixapps.net': [
|
|
300
|
-
{
|
|
301
|
-
srcPath: '/cashier/accounts/stripe',
|
|
302
|
-
destPath: '/api/merchant/stripe',
|
|
303
|
-
},
|
|
304
|
-
{
|
|
305
|
-
srcPath: '/cashier/transactions/stripe',
|
|
306
|
-
destPath: '/api/stripe',
|
|
307
|
-
},
|
|
308
|
-
],
|
|
309
|
-
'cashier-services.wixapis.com': [
|
|
310
|
-
{
|
|
311
|
-
srcPath: '/payments/v1/provider-platform-events',
|
|
312
|
-
destPath: '/payments/v1/provider-platform-events',
|
|
313
|
-
},
|
|
314
|
-
],
|
|
315
|
-
'currency-converter.wixapps.net': [
|
|
316
|
-
{
|
|
317
|
-
srcPath: '/_api/payment-services-web',
|
|
318
|
-
destPath: '/api',
|
|
319
|
-
},
|
|
320
|
-
],
|
|
321
|
-
};
|
|
322
|
-
return (0, rest_modules_1.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
323
|
-
}
|
|
324
|
-
const PACKAGE_NAME = '@wix/auto_sdk_payments_psp-callbacks';
|
|
325
|
-
/**
|
|
326
|
-
* This Wix API is used by a Payment Service Provider (PSP) to send webhooks about payment and refund states to Wix.
|
|
327
|
-
*
|
|
328
|
-
* Calls to this endpoint must include a `User-Agent` header with the name of the PSP and the integration version in this format: `{PSP}/{version}`.
|
|
329
|
-
* PSP's create their own version numbers.
|
|
330
|
-
*
|
|
331
|
-
* > You cannot try out this endpoint because an `Authorization` header value has to be obtained
|
|
332
|
-
* > with the OAuth 2.0 client credentials flow for a specific scope.
|
|
333
|
-
* > So please ignore the **Authorization** section below as well as the **Try It Out** button.
|
|
334
|
-
*/
|
|
335
|
-
function submitEvent(payload) {
|
|
336
|
-
function __submitEvent({ host }) {
|
|
337
|
-
const metadata = {
|
|
338
|
-
entityFqdn: 'wix.payments.psp.v1.provider_platform_event',
|
|
339
|
-
method: 'POST',
|
|
340
|
-
methodFqn: 'wix.payments.v1.provider_platform_events.ProviderPlatformEventsService.SubmitEvent',
|
|
341
|
-
packageName: PACKAGE_NAME,
|
|
342
|
-
url: resolveWixPaymentsV1ProviderPlatformEventsProviderPlatformEventsServiceUrl({
|
|
343
|
-
protoPath: '/payments/v1/provider-platform-events',
|
|
344
|
-
data: payload,
|
|
345
|
-
host,
|
|
346
|
-
}),
|
|
347
|
-
data: payload,
|
|
348
|
-
};
|
|
349
|
-
return metadata;
|
|
350
|
-
}
|
|
351
|
-
return __submitEvent;
|
|
352
|
-
}
|
|
353
|
-
exports.submitEvent = submitEvent;
|
|
354
|
-
//# sourceMappingURL=payments-psp-v1-provider-platform-event-psp-callbacks.http.js.map
|
package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"payments-psp-v1-provider-platform-event-psp-callbacks.http.js","sourceRoot":"","sources":["../../../../src/payments-psp-v1-provider-platform-event-psp-callbacks.http.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAI3D,SAAS,0EAA0E,CACjF,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,gCAAgC,EAAE;YAChC;gBACE,OAAO,EAAE,EAAE;gBACX,QAAQ,EAAE,EAAE;aACb;YACD;gBACE,OAAO,EAAE,4BAA4B;gBACrC,QAAQ,EAAE,MAAM;aACjB;SACF;QACD,oBAAoB,EAAE;YACpB;gBACE,OAAO,EAAE,4BAA4B;gBACrC,QAAQ,EAAE,MAAM;aACjB;SACF;QACD,wBAAwB,EAAE;YACxB;gBACE,OAAO,EAAE,4BAA4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,CACF;YACD,IAAI,EAAE,OAAO;SACd,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,aAAa,CAAC;AACvB,CAAC;AAtBD,kCAsBC"}
|
package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as ambassadorWixPaymentsPspV1ProviderPlatformEventTypes from './payments-psp-v1-provider-platform-event-psp-callbacks.types.js';
|
|
2
|
-
import * as ambassadorWixPaymentsPspV1ProviderPlatformEventUniversalTypes from './payments-psp-v1-provider-platform-event-psp-callbacks.universal.js';
|
|
3
|
-
export type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
4
|
-
getUrl: (context: any) => string;
|
|
5
|
-
httpMethod: K;
|
|
6
|
-
path: string;
|
|
7
|
-
pathParams: M;
|
|
8
|
-
__requestType: T;
|
|
9
|
-
__originalRequestType: S;
|
|
10
|
-
__responseType: Q;
|
|
11
|
-
__originalResponseType: R;
|
|
12
|
-
};
|
|
13
|
-
export declare function submitEvent(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixPaymentsPspV1ProviderPlatformEventUniversalTypes.SubmitEventRequest, ambassadorWixPaymentsPspV1ProviderPlatformEventTypes.SubmitEventRequest, ambassadorWixPaymentsPspV1ProviderPlatformEventUniversalTypes.SubmitEventResponse, ambassadorWixPaymentsPspV1ProviderPlatformEventTypes.SubmitEventResponse>;
|
package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.submitEvent = void 0;
|
|
27
|
-
const ambassadorWixPaymentsPspV1ProviderPlatformEvent = __importStar(require("./payments-psp-v1-provider-platform-event-psp-callbacks.http.js"));
|
|
28
|
-
function submitEvent() {
|
|
29
|
-
const payload = {};
|
|
30
|
-
const getRequestOptions = ambassadorWixPaymentsPspV1ProviderPlatformEvent.submitEvent(payload);
|
|
31
|
-
const getUrl = (context) => {
|
|
32
|
-
const { url } = getRequestOptions(context);
|
|
33
|
-
return url;
|
|
34
|
-
};
|
|
35
|
-
return {
|
|
36
|
-
getUrl,
|
|
37
|
-
httpMethod: 'POST',
|
|
38
|
-
path: '/payments/v1/provider-platform-events',
|
|
39
|
-
pathParams: {},
|
|
40
|
-
__requestType: null,
|
|
41
|
-
__originalRequestType: null,
|
|
42
|
-
__responseType: null,
|
|
43
|
-
__originalResponseType: null,
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
exports.submitEvent = submitEvent;
|
|
47
|
-
//# sourceMappingURL=payments-psp-v1-provider-platform-event-psp-callbacks.meta.js.map
|
package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"payments-psp-v1-provider-platform-event-psp-callbacks.meta.js","sourceRoot":"","sources":["../../../../src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iJAAmI;AAsBnI,SAAgB,WAAW;IAQzB,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,+CAA+C,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAEvE,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,uCAAuC;QAC7C,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA5BD,kCA4BC"}
|
package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@wix/sdk-types';
|
|
2
|
-
import { ProviderPlatformEvent } from './payments-psp-v1-provider-platform-event-psp-callbacks.universal.js';
|
|
3
|
-
export declare const __metadata: {
|
|
4
|
-
PACKAGE_NAME: string;
|
|
5
|
-
};
|
|
6
|
-
export declare function submitEvent(httpClient: HttpClient): SubmitEventSignature;
|
|
7
|
-
interface SubmitEventSignature {
|
|
8
|
-
/**
|
|
9
|
-
* This Wix API is used by a Payment Service Provider (PSP) to send webhooks about payment and refund states to Wix.
|
|
10
|
-
*
|
|
11
|
-
* Calls to this endpoint must include a `User-Agent` header with the name of the PSP and the integration version in this format: `{PSP}/{version}`.
|
|
12
|
-
* PSP's create their own version numbers.
|
|
13
|
-
*
|
|
14
|
-
* > You cannot try out this endpoint because an `Authorization` header value has to be obtained
|
|
15
|
-
* > with the OAuth 2.0 client credentials flow for a specific scope.
|
|
16
|
-
* > So please ignore the **Authorization** section below as well as the **Try It Out** button.
|
|
17
|
-
* @param - Event data.
|
|
18
|
-
* @returns Submit event response
|
|
19
|
-
*/
|
|
20
|
-
(event: ProviderPlatformEvent): Promise<void>;
|
|
21
|
-
}
|
|
22
|
-
export { CaptureEvent, CardDetails, CardReference, CredentialsOnFile, CredentialsOnFileInfoOneOf, PaymentMethodReference, ProviderPlatformEvent, ProviderPlatformEventResourceOneOf, RefundEvent, SubmitEventRequest, SubmitEventResponse, TransactionEvent, VoidEvent, } from './payments-psp-v1-provider-platform-event-psp-callbacks.universal.js';
|
package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.submitEvent = exports.__metadata = void 0;
|
|
4
|
-
const payments_psp_v1_provider_platform_event_psp_callbacks_universal_js_1 = require("./payments-psp-v1-provider-platform-event-psp-callbacks.universal.js");
|
|
5
|
-
exports.__metadata = { PACKAGE_NAME: '@wix/payments' };
|
|
6
|
-
function submitEvent(httpClient) {
|
|
7
|
-
return (event) => (0, payments_psp_v1_provider_platform_event_psp_callbacks_universal_js_1.submitEvent)(event,
|
|
8
|
-
// @ts-ignore
|
|
9
|
-
{ httpClient });
|
|
10
|
-
}
|
|
11
|
-
exports.submitEvent = submitEvent;
|
|
12
|
-
//# sourceMappingURL=payments-psp-v1-provider-platform-event-psp-callbacks.public.js.map
|
package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"payments-psp-v1-provider-platform-event-psp-callbacks.public.js","sourceRoot":"","sources":["../../../../src/payments-psp-v1-provider-platform-event-psp-callbacks.public.ts"],"names":[],"mappings":";;;AACA,6JAG8E;AAEjE,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,SAAgB,WAAW,CAAC,UAAsB;IAChD,OAAO,CAAC,KAA4B,EAAE,EAAE,CACtC,IAAA,gFAAoB,EAClB,KAAK;IACL,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,kCAOC"}
|
package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"payments-psp-v1-provider-platform-event-psp-callbacks.types.js","sourceRoot":"","sources":["../../../../src/payments-psp-v1-provider-platform-event-psp-callbacks.types.ts"],"names":[],"mappings":""}
|
package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts
DELETED
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
/** Provider platform event */
|
|
2
|
-
export interface ProviderPlatformEvent extends ProviderPlatformEventResourceOneOf {
|
|
3
|
-
/** Refund event data. */
|
|
4
|
-
refund?: RefundEvent;
|
|
5
|
-
/** Transaction event data. */
|
|
6
|
-
transaction?: TransactionEvent;
|
|
7
|
-
/** Capture event data. */
|
|
8
|
-
capture?: CaptureEvent;
|
|
9
|
-
/** Void event data. */
|
|
10
|
-
void?: VoidEvent;
|
|
11
|
-
/**
|
|
12
|
-
* This field is deprecated.
|
|
13
|
-
* @deprecated
|
|
14
|
-
*/
|
|
15
|
-
pluginId?: string;
|
|
16
|
-
}
|
|
17
|
-
/** @oneof */
|
|
18
|
-
export interface ProviderPlatformEventResourceOneOf {
|
|
19
|
-
/** Refund event data. */
|
|
20
|
-
refund?: RefundEvent;
|
|
21
|
-
/** Transaction event data. */
|
|
22
|
-
transaction?: TransactionEvent;
|
|
23
|
-
/** Capture event data. */
|
|
24
|
-
capture?: CaptureEvent;
|
|
25
|
-
/** Void event data. */
|
|
26
|
-
void?: VoidEvent;
|
|
27
|
-
}
|
|
28
|
-
export interface RefundEvent {
|
|
29
|
-
/** Wix transaction ID. */
|
|
30
|
-
wixTransactionId?: string;
|
|
31
|
-
/** PSP refund ID. */
|
|
32
|
-
pluginRefundId?: string;
|
|
33
|
-
/** Wix [reason code](https://dev.wix.com/api/rest/all-apis/provider-platform/reason-codes#all-apis_provider-platform_reason-codes_refund-declined) indicating a failed request. */
|
|
34
|
-
reasonCode?: number;
|
|
35
|
-
/** Refunded amount. */
|
|
36
|
-
amount?: string;
|
|
37
|
-
/** Wix refund ID. This field is only required when a merchant initiates a refund from the Wix dashboard. */
|
|
38
|
-
wixRefundId?: string | null;
|
|
39
|
-
/** PSP-specific error code. */
|
|
40
|
-
errorCode?: string | null;
|
|
41
|
-
/** PSP-specific error message. */
|
|
42
|
-
errorMessage?: string | null;
|
|
43
|
-
}
|
|
44
|
-
export interface TransactionEvent {
|
|
45
|
-
/** Wix transaction ID. */
|
|
46
|
-
wixTransactionId?: string;
|
|
47
|
-
/** PSP transaction ID. */
|
|
48
|
-
pluginTransactionId?: string;
|
|
49
|
-
/** Wix [reason code](https://dev.wix.com/api/rest/all-apis/provider-platform/reason-codes) indicating a failed or pending request. */
|
|
50
|
-
reasonCode?: number;
|
|
51
|
-
/** PSP-specific error code. */
|
|
52
|
-
errorCode?: string | null;
|
|
53
|
-
/** PSP-specific error message. */
|
|
54
|
-
errorMessage?: string | null;
|
|
55
|
-
/** Token data for stored payment method. */
|
|
56
|
-
credentialsOnFile?: CredentialsOnFile;
|
|
57
|
-
/** Details of actual customer's card, obtained from a Funding PAN as opposed to a Device PAN. */
|
|
58
|
-
cardDetails?: CardDetails;
|
|
59
|
-
}
|
|
60
|
-
export interface CredentialsOnFile extends CredentialsOnFileInfoOneOf {
|
|
61
|
-
/** Network token data. */
|
|
62
|
-
cardReference?: CardReference;
|
|
63
|
-
/** Provider generated token data. */
|
|
64
|
-
paymentMethodReference?: PaymentMethodReference;
|
|
65
|
-
}
|
|
66
|
-
/** @oneof */
|
|
67
|
-
export interface CredentialsOnFileInfoOneOf {
|
|
68
|
-
/** Network token data. */
|
|
69
|
-
cardReference?: CardReference;
|
|
70
|
-
/** Provider generated token data. */
|
|
71
|
-
paymentMethodReference?: PaymentMethodReference;
|
|
72
|
-
}
|
|
73
|
-
export interface CardReference {
|
|
74
|
-
/** Network token. */
|
|
75
|
-
networkTransactionId?: string;
|
|
76
|
-
/** Directory Server transaction ID */
|
|
77
|
-
dsTransactionId?: string | null;
|
|
78
|
-
}
|
|
79
|
-
export interface PaymentMethodReference {
|
|
80
|
-
/** Payment method token created by the PSP. */
|
|
81
|
-
token?: string;
|
|
82
|
-
}
|
|
83
|
-
export interface CardDetails {
|
|
84
|
-
/**
|
|
85
|
-
* Issuer (business) identification number. First 6 or 8 digits of the card's number.
|
|
86
|
-
* @minLength 6
|
|
87
|
-
* @maxLength 8
|
|
88
|
-
*/
|
|
89
|
-
bin?: string | null;
|
|
90
|
-
/**
|
|
91
|
-
* Last 4 digits of the card's number.
|
|
92
|
-
* @minLength 4
|
|
93
|
-
* @maxLength 4
|
|
94
|
-
*/
|
|
95
|
-
lastFour?: string | null;
|
|
96
|
-
}
|
|
97
|
-
export interface CaptureEvent {
|
|
98
|
-
/**
|
|
99
|
-
* Wix transaction ID.
|
|
100
|
-
* @format GUID
|
|
101
|
-
*/
|
|
102
|
-
wixTransactionId?: string;
|
|
103
|
-
/** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
|
|
104
|
-
reasonCode?: number;
|
|
105
|
-
/**
|
|
106
|
-
* Total amount captured in a currency’s minor units.
|
|
107
|
-
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
108
|
-
*/
|
|
109
|
-
amount?: string;
|
|
110
|
-
/**
|
|
111
|
-
* PSP-specific error code.
|
|
112
|
-
* @maxLength 50
|
|
113
|
-
*/
|
|
114
|
-
errorCode?: string | null;
|
|
115
|
-
/**
|
|
116
|
-
* PSP-specific error message.
|
|
117
|
-
* @maxLength 300
|
|
118
|
-
*/
|
|
119
|
-
errorMessage?: string | null;
|
|
120
|
-
}
|
|
121
|
-
export interface VoidEvent {
|
|
122
|
-
/**
|
|
123
|
-
* Wix transaction ID.
|
|
124
|
-
* @format GUID
|
|
125
|
-
*/
|
|
126
|
-
wixTransactionId?: string;
|
|
127
|
-
/** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
|
|
128
|
-
reasonCode?: number;
|
|
129
|
-
/**
|
|
130
|
-
* Total amount voided in a currency’s minor units.
|
|
131
|
-
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
132
|
-
*/
|
|
133
|
-
amount?: string;
|
|
134
|
-
/**
|
|
135
|
-
* PSP-specific error code.
|
|
136
|
-
* @maxLength 50
|
|
137
|
-
*/
|
|
138
|
-
errorCode?: string | null;
|
|
139
|
-
/**
|
|
140
|
-
* PSP-specific error message.
|
|
141
|
-
* @maxLength 300
|
|
142
|
-
*/
|
|
143
|
-
errorMessage?: string | null;
|
|
144
|
-
}
|
|
145
|
-
/** Submit event request */
|
|
146
|
-
export interface SubmitEventRequest {
|
|
147
|
-
/** Event data. */
|
|
148
|
-
event: ProviderPlatformEvent;
|
|
149
|
-
}
|
|
150
|
-
/** Submit event response */
|
|
151
|
-
export interface SubmitEventResponse {
|
|
152
|
-
}
|
|
153
|
-
/**
|
|
154
|
-
* This Wix API is used by a Payment Service Provider (PSP) to send webhooks about payment and refund states to Wix.
|
|
155
|
-
*
|
|
156
|
-
* Calls to this endpoint must include a `User-Agent` header with the name of the PSP and the integration version in this format: `{PSP}/{version}`.
|
|
157
|
-
* PSP's create their own version numbers.
|
|
158
|
-
*
|
|
159
|
-
* > You cannot try out this endpoint because an `Authorization` header value has to be obtained
|
|
160
|
-
* > with the OAuth 2.0 client credentials flow for a specific scope.
|
|
161
|
-
* > So please ignore the **Authorization** section below as well as the **Try It Out** button.
|
|
162
|
-
* @param event - Event data.
|
|
163
|
-
* @public
|
|
164
|
-
* @requiredField event
|
|
165
|
-
* @permissionId CASHIER.GET_ACCESS
|
|
166
|
-
* @returns Submit event response
|
|
167
|
-
* @fqn wix.payments.v1.provider_platform_events.ProviderPlatformEventsService.SubmitEvent
|
|
168
|
-
*/
|
|
169
|
-
export declare function submitEvent(event: ProviderPlatformEvent): Promise<void>;
|