@naturalpay/sdk 0.8.0 → 0.10.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.
- package/CHANGELOG.md +25 -0
- package/README.md +19 -0
- package/client.d.mts +2 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +2 -2
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agents.d.mts +33 -26
- package/resources/agents.d.mts.map +1 -1
- package/resources/agents.d.ts +33 -26
- package/resources/agents.d.ts.map +1 -1
- package/resources/agents.js +1 -1
- package/resources/agents.mjs +1 -1
- package/resources/api-keys.d.mts +16 -16
- package/resources/api-keys.d.mts.map +1 -1
- package/resources/api-keys.d.ts +16 -16
- package/resources/api-keys.d.ts.map +1 -1
- package/resources/approvals.d.mts +16 -16
- package/resources/approvals.d.mts.map +1 -1
- package/resources/approvals.d.ts +16 -16
- package/resources/approvals.d.ts.map +1 -1
- package/resources/counterparties.d.mts +1 -1
- package/resources/counterparties.d.mts.map +1 -1
- package/resources/counterparties.d.ts +1 -1
- package/resources/counterparties.d.ts.map +1 -1
- package/resources/customers.d.mts +6 -6
- package/resources/customers.d.mts.map +1 -1
- package/resources/customers.d.ts +6 -6
- package/resources/customers.d.ts.map +1 -1
- package/resources/external-accounts.d.mts +4 -4
- package/resources/external-accounts.d.mts.map +1 -1
- package/resources/external-accounts.d.ts +4 -4
- package/resources/external-accounts.d.ts.map +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/invitations.d.mts +3 -3
- package/resources/invitations.d.mts.map +1 -1
- package/resources/invitations.d.ts +3 -3
- package/resources/invitations.d.ts.map +1 -1
- package/resources/parties.d.mts +4 -4
- package/resources/parties.d.mts.map +1 -1
- package/resources/parties.d.ts +4 -4
- package/resources/parties.d.ts.map +1 -1
- package/resources/payment-requests.d.mts +315 -34
- package/resources/payment-requests.d.mts.map +1 -1
- package/resources/payment-requests.d.ts +315 -34
- package/resources/payment-requests.d.ts.map +1 -1
- package/resources/payment-requests.js +3 -3
- package/resources/payment-requests.mjs +3 -3
- package/resources/payments.d.mts +400 -20
- package/resources/payments.d.mts.map +1 -1
- package/resources/payments.d.ts +400 -20
- package/resources/payments.d.ts.map +1 -1
- package/resources/payments.js +26 -1
- package/resources/payments.js.map +1 -1
- package/resources/payments.mjs +26 -1
- package/resources/payments.mjs.map +1 -1
- package/resources/transactions.d.mts +10 -10
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +10 -10
- package/resources/transactions.d.ts.map +1 -1
- package/resources/transfers.d.mts +20 -20
- package/resources/transfers.d.mts.map +1 -1
- package/resources/transfers.d.ts +20 -20
- package/resources/transfers.d.ts.map +1 -1
- package/resources/wallet.d.mts +4 -4
- package/resources/wallet.d.mts.map +1 -1
- package/resources/wallet.d.ts +4 -4
- package/resources/wallet.d.ts.map +1 -1
- package/resources/webhooks.d.mts +12 -12
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +12 -12
- package/resources/webhooks.d.ts.map +1 -1
- package/src/client.ts +4 -0
- package/src/resources/agents.ts +39 -26
- package/src/resources/api-keys.ts +16 -16
- package/src/resources/approvals.ts +16 -16
- package/src/resources/counterparties.ts +1 -1
- package/src/resources/customers.ts +6 -6
- package/src/resources/external-accounts.ts +4 -4
- package/src/resources/index.ts +2 -0
- package/src/resources/invitations.ts +3 -3
- package/src/resources/parties.ts +4 -4
- package/src/resources/payment-requests.ts +414 -34
- package/src/resources/payments.ts +498 -16
- package/src/resources/transactions.ts +10 -10
- package/src/resources/transfers.ts +20 -20
- package/src/resources/wallet.ts +4 -4
- package/src/resources/webhooks.ts +12 -12
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payments.d.mts","sourceRoot":"","sources":["../src/resources/payments.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AAEjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,MAAM,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAqBhG;;;;;;;OAOG;IACH,IAAI,CACF,MAAM,GAAE,iBAAiB,GAAG,IAAI,GAAG,SAAc,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mBAAmB,CAAC;IAelC;;;;;;;;;OASG;IACH,GAAG,CACD,SAAS,EAAE,MAAM,EACjB,MAAM,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;CAclC;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,qBAAqB,CAAC,IAAI,CAAC;CAClC;AAED,yBAAiB,qBAAqB,CAAC;IACrC,UAAiB,IAAI;QACnB,EAAE,EAAE,MAAM,CAAC;QAEX;;WAEG;QACH,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;QAE5B;;WAEG;QACH,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC;QAElC,IAAI,EAAE,MAAM,CAAC;KACd;IAED,UAAiB,IAAI,CAAC;QACpB;;WAEG;QACH,UAAiB,UAAU;YACzB;;eAEG;YACH,MAAM,EAAE,MAAM,CAAC;YAEf;;eAEG;YACH,SAAS,EAAE,MAAM,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C;CAC1B;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
package/resources/payments.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export declare class Payments extends APIResource {
|
|
|
13
13
|
* const payment = await client.payments.create({
|
|
14
14
|
* amount: 1,
|
|
15
15
|
* counterparty: {
|
|
16
|
-
* type: '
|
|
16
|
+
* type: 'email',
|
|
17
17
|
* value: 'dev@stainless.com',
|
|
18
18
|
* },
|
|
19
19
|
* 'Idempotency-Key': 'Idempotency-Key',
|
|
@@ -30,6 +30,18 @@ export declare class Payments extends APIResource {
|
|
|
30
30
|
* ```
|
|
31
31
|
*/
|
|
32
32
|
list(params?: PaymentListParams | null | undefined, options?: RequestOptions): APIPromise<PaymentListResponse>;
|
|
33
|
+
/**
|
|
34
|
+
* Cancel a pending-claim payment before the recipient starts claiming it.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const response = await client.payments.cancel(
|
|
39
|
+
* 'pay_ecc2efdd09bd231a9ad9bd2aada37aa7',
|
|
40
|
+
* { 'Idempotency-Key': 'Idempotency-Key' },
|
|
41
|
+
* );
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
cancel(paymentID: string, params: PaymentCancelParams, options?: RequestOptions): APIPromise<PaymentCancelResponse>;
|
|
33
45
|
/**
|
|
34
46
|
* Get a payment initiated by the authenticated party.
|
|
35
47
|
*
|
|
@@ -56,7 +68,7 @@ export declare namespace PaymentCreateResponse {
|
|
|
56
68
|
* Resource relationships
|
|
57
69
|
*/
|
|
58
70
|
relationships: Data.Relationships;
|
|
59
|
-
type:
|
|
71
|
+
type: 'payment';
|
|
60
72
|
}
|
|
61
73
|
namespace Data {
|
|
62
74
|
/**
|
|
@@ -82,7 +94,7 @@ export declare namespace PaymentCreateResponse {
|
|
|
82
94
|
/**
|
|
83
95
|
* Payment status
|
|
84
96
|
*/
|
|
85
|
-
status: 'CREATED' | 'PROCESSING' | 'PENDING_CLAIM' | 'IN_REVIEW' | 'COMPLETED' | 'FAILED' | 'APPROVAL_DENIED' | 'CANCELLED';
|
|
97
|
+
status: 'CREATED' | 'PROCESSING' | 'PENDING_CLAIM' | 'IN_REVIEW' | 'COMPLETED' | 'FAILED' | 'RETURNED' | 'APPROVAL_DENIED' | 'CANCELLED';
|
|
86
98
|
/**
|
|
87
99
|
* When this payment was last updated
|
|
88
100
|
*/
|
|
@@ -92,10 +104,19 @@ export declare namespace PaymentCreateResponse {
|
|
|
92
104
|
* Resource relationships
|
|
93
105
|
*/
|
|
94
106
|
interface Relationships {
|
|
107
|
+
/**
|
|
108
|
+
* Payment request that produced this payment, when applicable.
|
|
109
|
+
*/
|
|
110
|
+
paymentRequest: Relationships.PaymentRequest;
|
|
95
111
|
/**
|
|
96
112
|
* Recipient party for this payment, when known.
|
|
97
113
|
*/
|
|
98
114
|
recipient: Relationships.Recipient;
|
|
115
|
+
/**
|
|
116
|
+
* Recipient agent when the caller addressed an agent ID. Null otherwise, including
|
|
117
|
+
* when the recipient was addressed as an email, phone, or party ID.
|
|
118
|
+
*/
|
|
119
|
+
recipientAgent: Relationships.RecipientAgent;
|
|
99
120
|
/**
|
|
100
121
|
* Party that initiated the payment
|
|
101
122
|
*/
|
|
@@ -106,6 +127,27 @@ export declare namespace PaymentCreateResponse {
|
|
|
106
127
|
transaction: Relationships.Transaction;
|
|
107
128
|
}
|
|
108
129
|
namespace Relationships {
|
|
130
|
+
/**
|
|
131
|
+
* Payment request that produced this payment, when applicable.
|
|
132
|
+
*/
|
|
133
|
+
interface PaymentRequest {
|
|
134
|
+
/**
|
|
135
|
+
* Related resource identifier
|
|
136
|
+
*/
|
|
137
|
+
data: PaymentRequest.Data | null;
|
|
138
|
+
}
|
|
139
|
+
namespace PaymentRequest {
|
|
140
|
+
/**
|
|
141
|
+
* Related resource identifier
|
|
142
|
+
*/
|
|
143
|
+
interface Data {
|
|
144
|
+
id: string;
|
|
145
|
+
/**
|
|
146
|
+
* Resource type
|
|
147
|
+
*/
|
|
148
|
+
type: 'paymentRequest';
|
|
149
|
+
}
|
|
150
|
+
}
|
|
109
151
|
/**
|
|
110
152
|
* Recipient party for this payment, when known.
|
|
111
153
|
*/
|
|
@@ -124,7 +166,29 @@ export declare namespace PaymentCreateResponse {
|
|
|
124
166
|
/**
|
|
125
167
|
* Resource type
|
|
126
168
|
*/
|
|
127
|
-
type:
|
|
169
|
+
type: 'party';
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Recipient agent when the caller addressed an agent ID. Null otherwise, including
|
|
174
|
+
* when the recipient was addressed as an email, phone, or party ID.
|
|
175
|
+
*/
|
|
176
|
+
interface RecipientAgent {
|
|
177
|
+
/**
|
|
178
|
+
* Related resource identifier
|
|
179
|
+
*/
|
|
180
|
+
data: RecipientAgent.Data | null;
|
|
181
|
+
}
|
|
182
|
+
namespace RecipientAgent {
|
|
183
|
+
/**
|
|
184
|
+
* Related resource identifier
|
|
185
|
+
*/
|
|
186
|
+
interface Data {
|
|
187
|
+
id: string;
|
|
188
|
+
/**
|
|
189
|
+
* Resource type
|
|
190
|
+
*/
|
|
191
|
+
type: 'agent';
|
|
128
192
|
}
|
|
129
193
|
}
|
|
130
194
|
/**
|
|
@@ -145,7 +209,7 @@ export declare namespace PaymentCreateResponse {
|
|
|
145
209
|
/**
|
|
146
210
|
* Resource type
|
|
147
211
|
*/
|
|
148
|
-
type:
|
|
212
|
+
type: 'party';
|
|
149
213
|
}
|
|
150
214
|
}
|
|
151
215
|
/**
|
|
@@ -166,7 +230,7 @@ export declare namespace PaymentCreateResponse {
|
|
|
166
230
|
/**
|
|
167
231
|
* Resource type
|
|
168
232
|
*/
|
|
169
|
-
type:
|
|
233
|
+
type: 'transaction';
|
|
170
234
|
}
|
|
171
235
|
}
|
|
172
236
|
}
|
|
@@ -187,7 +251,7 @@ export declare namespace PaymentListResponse {
|
|
|
187
251
|
* Resource relationships
|
|
188
252
|
*/
|
|
189
253
|
relationships: Data.Relationships;
|
|
190
|
-
type:
|
|
254
|
+
type: 'payment';
|
|
191
255
|
}
|
|
192
256
|
namespace Data {
|
|
193
257
|
/**
|
|
@@ -213,7 +277,7 @@ export declare namespace PaymentListResponse {
|
|
|
213
277
|
/**
|
|
214
278
|
* Payment status
|
|
215
279
|
*/
|
|
216
|
-
status: 'CREATED' | 'PROCESSING' | 'PENDING_CLAIM' | 'IN_REVIEW' | 'COMPLETED' | 'FAILED' | 'APPROVAL_DENIED' | 'CANCELLED';
|
|
280
|
+
status: 'CREATED' | 'PROCESSING' | 'PENDING_CLAIM' | 'IN_REVIEW' | 'COMPLETED' | 'FAILED' | 'RETURNED' | 'APPROVAL_DENIED' | 'CANCELLED';
|
|
217
281
|
/**
|
|
218
282
|
* When this payment was last updated
|
|
219
283
|
*/
|
|
@@ -223,10 +287,19 @@ export declare namespace PaymentListResponse {
|
|
|
223
287
|
* Resource relationships
|
|
224
288
|
*/
|
|
225
289
|
interface Relationships {
|
|
290
|
+
/**
|
|
291
|
+
* Payment request that produced this payment, when applicable.
|
|
292
|
+
*/
|
|
293
|
+
paymentRequest: Relationships.PaymentRequest;
|
|
226
294
|
/**
|
|
227
295
|
* Recipient party for this payment, when known.
|
|
228
296
|
*/
|
|
229
297
|
recipient: Relationships.Recipient;
|
|
298
|
+
/**
|
|
299
|
+
* Recipient agent when the caller addressed an agent ID. Null otherwise, including
|
|
300
|
+
* when the recipient was addressed as an email, phone, or party ID.
|
|
301
|
+
*/
|
|
302
|
+
recipientAgent: Relationships.RecipientAgent;
|
|
230
303
|
/**
|
|
231
304
|
* Party that initiated the payment
|
|
232
305
|
*/
|
|
@@ -237,6 +310,27 @@ export declare namespace PaymentListResponse {
|
|
|
237
310
|
transaction: Relationships.Transaction;
|
|
238
311
|
}
|
|
239
312
|
namespace Relationships {
|
|
313
|
+
/**
|
|
314
|
+
* Payment request that produced this payment, when applicable.
|
|
315
|
+
*/
|
|
316
|
+
interface PaymentRequest {
|
|
317
|
+
/**
|
|
318
|
+
* Related resource identifier
|
|
319
|
+
*/
|
|
320
|
+
data: PaymentRequest.Data | null;
|
|
321
|
+
}
|
|
322
|
+
namespace PaymentRequest {
|
|
323
|
+
/**
|
|
324
|
+
* Related resource identifier
|
|
325
|
+
*/
|
|
326
|
+
interface Data {
|
|
327
|
+
id: string;
|
|
328
|
+
/**
|
|
329
|
+
* Resource type
|
|
330
|
+
*/
|
|
331
|
+
type: 'paymentRequest';
|
|
332
|
+
}
|
|
333
|
+
}
|
|
240
334
|
/**
|
|
241
335
|
* Recipient party for this payment, when known.
|
|
242
336
|
*/
|
|
@@ -255,7 +349,29 @@ export declare namespace PaymentListResponse {
|
|
|
255
349
|
/**
|
|
256
350
|
* Resource type
|
|
257
351
|
*/
|
|
258
|
-
type:
|
|
352
|
+
type: 'party';
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
* Recipient agent when the caller addressed an agent ID. Null otherwise, including
|
|
357
|
+
* when the recipient was addressed as an email, phone, or party ID.
|
|
358
|
+
*/
|
|
359
|
+
interface RecipientAgent {
|
|
360
|
+
/**
|
|
361
|
+
* Related resource identifier
|
|
362
|
+
*/
|
|
363
|
+
data: RecipientAgent.Data | null;
|
|
364
|
+
}
|
|
365
|
+
namespace RecipientAgent {
|
|
366
|
+
/**
|
|
367
|
+
* Related resource identifier
|
|
368
|
+
*/
|
|
369
|
+
interface Data {
|
|
370
|
+
id: string;
|
|
371
|
+
/**
|
|
372
|
+
* Resource type
|
|
373
|
+
*/
|
|
374
|
+
type: 'agent';
|
|
259
375
|
}
|
|
260
376
|
}
|
|
261
377
|
/**
|
|
@@ -276,7 +392,7 @@ export declare namespace PaymentListResponse {
|
|
|
276
392
|
/**
|
|
277
393
|
* Resource type
|
|
278
394
|
*/
|
|
279
|
-
type:
|
|
395
|
+
type: 'party';
|
|
280
396
|
}
|
|
281
397
|
}
|
|
282
398
|
/**
|
|
@@ -297,7 +413,7 @@ export declare namespace PaymentListResponse {
|
|
|
297
413
|
/**
|
|
298
414
|
* Resource type
|
|
299
415
|
*/
|
|
300
|
-
type:
|
|
416
|
+
type: 'transaction';
|
|
301
417
|
}
|
|
302
418
|
}
|
|
303
419
|
}
|
|
@@ -312,6 +428,188 @@ export declare namespace PaymentListResponse {
|
|
|
312
428
|
}
|
|
313
429
|
}
|
|
314
430
|
}
|
|
431
|
+
export interface PaymentCancelResponse {
|
|
432
|
+
data: PaymentCancelResponse.Data;
|
|
433
|
+
}
|
|
434
|
+
export declare namespace PaymentCancelResponse {
|
|
435
|
+
interface Data {
|
|
436
|
+
id: string;
|
|
437
|
+
/**
|
|
438
|
+
* Resource attributes
|
|
439
|
+
*/
|
|
440
|
+
attributes: Data.Attributes;
|
|
441
|
+
/**
|
|
442
|
+
* Resource relationships
|
|
443
|
+
*/
|
|
444
|
+
relationships: Data.Relationships;
|
|
445
|
+
type: 'payment';
|
|
446
|
+
}
|
|
447
|
+
namespace Data {
|
|
448
|
+
/**
|
|
449
|
+
* Resource attributes
|
|
450
|
+
*/
|
|
451
|
+
interface Attributes {
|
|
452
|
+
/**
|
|
453
|
+
* Amount in cents
|
|
454
|
+
*/
|
|
455
|
+
amount: number;
|
|
456
|
+
/**
|
|
457
|
+
* When this payment was created
|
|
458
|
+
*/
|
|
459
|
+
createdAt: string;
|
|
460
|
+
/**
|
|
461
|
+
* Currency code
|
|
462
|
+
*/
|
|
463
|
+
currency: string;
|
|
464
|
+
/**
|
|
465
|
+
* Payment description
|
|
466
|
+
*/
|
|
467
|
+
description: string | null;
|
|
468
|
+
/**
|
|
469
|
+
* Payment status
|
|
470
|
+
*/
|
|
471
|
+
status: 'CREATED' | 'PROCESSING' | 'PENDING_CLAIM' | 'IN_REVIEW' | 'COMPLETED' | 'FAILED' | 'RETURNED' | 'APPROVAL_DENIED' | 'CANCELLED';
|
|
472
|
+
/**
|
|
473
|
+
* When this payment was last updated
|
|
474
|
+
*/
|
|
475
|
+
updatedAt: string | null;
|
|
476
|
+
}
|
|
477
|
+
/**
|
|
478
|
+
* Resource relationships
|
|
479
|
+
*/
|
|
480
|
+
interface Relationships {
|
|
481
|
+
/**
|
|
482
|
+
* Payment request that produced this payment, when applicable.
|
|
483
|
+
*/
|
|
484
|
+
paymentRequest: Relationships.PaymentRequest;
|
|
485
|
+
/**
|
|
486
|
+
* Recipient party for this payment, when known.
|
|
487
|
+
*/
|
|
488
|
+
recipient: Relationships.Recipient;
|
|
489
|
+
/**
|
|
490
|
+
* Recipient agent when the caller addressed an agent ID. Null otherwise, including
|
|
491
|
+
* when the recipient was addressed as an email, phone, or party ID.
|
|
492
|
+
*/
|
|
493
|
+
recipientAgent: Relationships.RecipientAgent;
|
|
494
|
+
/**
|
|
495
|
+
* Party that initiated the payment
|
|
496
|
+
*/
|
|
497
|
+
sender: Relationships.Sender;
|
|
498
|
+
/**
|
|
499
|
+
* Sender-side transaction row for this payment, when available.
|
|
500
|
+
*/
|
|
501
|
+
transaction: Relationships.Transaction;
|
|
502
|
+
}
|
|
503
|
+
namespace Relationships {
|
|
504
|
+
/**
|
|
505
|
+
* Payment request that produced this payment, when applicable.
|
|
506
|
+
*/
|
|
507
|
+
interface PaymentRequest {
|
|
508
|
+
/**
|
|
509
|
+
* Related resource identifier
|
|
510
|
+
*/
|
|
511
|
+
data: PaymentRequest.Data | null;
|
|
512
|
+
}
|
|
513
|
+
namespace PaymentRequest {
|
|
514
|
+
/**
|
|
515
|
+
* Related resource identifier
|
|
516
|
+
*/
|
|
517
|
+
interface Data {
|
|
518
|
+
id: string;
|
|
519
|
+
/**
|
|
520
|
+
* Resource type
|
|
521
|
+
*/
|
|
522
|
+
type: 'paymentRequest';
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
/**
|
|
526
|
+
* Recipient party for this payment, when known.
|
|
527
|
+
*/
|
|
528
|
+
interface Recipient {
|
|
529
|
+
/**
|
|
530
|
+
* Related resource identifier
|
|
531
|
+
*/
|
|
532
|
+
data: Recipient.Data | null;
|
|
533
|
+
}
|
|
534
|
+
namespace Recipient {
|
|
535
|
+
/**
|
|
536
|
+
* Related resource identifier
|
|
537
|
+
*/
|
|
538
|
+
interface Data {
|
|
539
|
+
id: string;
|
|
540
|
+
/**
|
|
541
|
+
* Resource type
|
|
542
|
+
*/
|
|
543
|
+
type: 'party';
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
/**
|
|
547
|
+
* Recipient agent when the caller addressed an agent ID. Null otherwise, including
|
|
548
|
+
* when the recipient was addressed as an email, phone, or party ID.
|
|
549
|
+
*/
|
|
550
|
+
interface RecipientAgent {
|
|
551
|
+
/**
|
|
552
|
+
* Related resource identifier
|
|
553
|
+
*/
|
|
554
|
+
data: RecipientAgent.Data | null;
|
|
555
|
+
}
|
|
556
|
+
namespace RecipientAgent {
|
|
557
|
+
/**
|
|
558
|
+
* Related resource identifier
|
|
559
|
+
*/
|
|
560
|
+
interface Data {
|
|
561
|
+
id: string;
|
|
562
|
+
/**
|
|
563
|
+
* Resource type
|
|
564
|
+
*/
|
|
565
|
+
type: 'agent';
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
/**
|
|
569
|
+
* Party that initiated the payment
|
|
570
|
+
*/
|
|
571
|
+
interface Sender {
|
|
572
|
+
/**
|
|
573
|
+
* Related resource identifier
|
|
574
|
+
*/
|
|
575
|
+
data: Sender.Data;
|
|
576
|
+
}
|
|
577
|
+
namespace Sender {
|
|
578
|
+
/**
|
|
579
|
+
* Related resource identifier
|
|
580
|
+
*/
|
|
581
|
+
interface Data {
|
|
582
|
+
id: string;
|
|
583
|
+
/**
|
|
584
|
+
* Resource type
|
|
585
|
+
*/
|
|
586
|
+
type: 'party';
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
/**
|
|
590
|
+
* Sender-side transaction row for this payment, when available.
|
|
591
|
+
*/
|
|
592
|
+
interface Transaction {
|
|
593
|
+
/**
|
|
594
|
+
* Related resource identifier
|
|
595
|
+
*/
|
|
596
|
+
data: Transaction.Data | null;
|
|
597
|
+
}
|
|
598
|
+
namespace Transaction {
|
|
599
|
+
/**
|
|
600
|
+
* Related resource identifier
|
|
601
|
+
*/
|
|
602
|
+
interface Data {
|
|
603
|
+
id: string;
|
|
604
|
+
/**
|
|
605
|
+
* Resource type
|
|
606
|
+
*/
|
|
607
|
+
type: 'transaction';
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
}
|
|
315
613
|
export interface PaymentGetResponse {
|
|
316
614
|
data: PaymentGetResponse.Data;
|
|
317
615
|
}
|
|
@@ -326,7 +624,7 @@ export declare namespace PaymentGetResponse {
|
|
|
326
624
|
* Resource relationships
|
|
327
625
|
*/
|
|
328
626
|
relationships: Data.Relationships;
|
|
329
|
-
type:
|
|
627
|
+
type: 'payment';
|
|
330
628
|
}
|
|
331
629
|
namespace Data {
|
|
332
630
|
/**
|
|
@@ -352,7 +650,7 @@ export declare namespace PaymentGetResponse {
|
|
|
352
650
|
/**
|
|
353
651
|
* Payment status
|
|
354
652
|
*/
|
|
355
|
-
status: 'CREATED' | 'PROCESSING' | 'PENDING_CLAIM' | 'IN_REVIEW' | 'COMPLETED' | 'FAILED' | 'APPROVAL_DENIED' | 'CANCELLED';
|
|
653
|
+
status: 'CREATED' | 'PROCESSING' | 'PENDING_CLAIM' | 'IN_REVIEW' | 'COMPLETED' | 'FAILED' | 'RETURNED' | 'APPROVAL_DENIED' | 'CANCELLED';
|
|
356
654
|
/**
|
|
357
655
|
* When this payment was last updated
|
|
358
656
|
*/
|
|
@@ -362,10 +660,19 @@ export declare namespace PaymentGetResponse {
|
|
|
362
660
|
* Resource relationships
|
|
363
661
|
*/
|
|
364
662
|
interface Relationships {
|
|
663
|
+
/**
|
|
664
|
+
* Payment request that produced this payment, when applicable.
|
|
665
|
+
*/
|
|
666
|
+
paymentRequest: Relationships.PaymentRequest;
|
|
365
667
|
/**
|
|
366
668
|
* Recipient party for this payment, when known.
|
|
367
669
|
*/
|
|
368
670
|
recipient: Relationships.Recipient;
|
|
671
|
+
/**
|
|
672
|
+
* Recipient agent when the caller addressed an agent ID. Null otherwise, including
|
|
673
|
+
* when the recipient was addressed as an email, phone, or party ID.
|
|
674
|
+
*/
|
|
675
|
+
recipientAgent: Relationships.RecipientAgent;
|
|
369
676
|
/**
|
|
370
677
|
* Party that initiated the payment
|
|
371
678
|
*/
|
|
@@ -376,6 +683,27 @@ export declare namespace PaymentGetResponse {
|
|
|
376
683
|
transaction: Relationships.Transaction;
|
|
377
684
|
}
|
|
378
685
|
namespace Relationships {
|
|
686
|
+
/**
|
|
687
|
+
* Payment request that produced this payment, when applicable.
|
|
688
|
+
*/
|
|
689
|
+
interface PaymentRequest {
|
|
690
|
+
/**
|
|
691
|
+
* Related resource identifier
|
|
692
|
+
*/
|
|
693
|
+
data: PaymentRequest.Data | null;
|
|
694
|
+
}
|
|
695
|
+
namespace PaymentRequest {
|
|
696
|
+
/**
|
|
697
|
+
* Related resource identifier
|
|
698
|
+
*/
|
|
699
|
+
interface Data {
|
|
700
|
+
id: string;
|
|
701
|
+
/**
|
|
702
|
+
* Resource type
|
|
703
|
+
*/
|
|
704
|
+
type: 'paymentRequest';
|
|
705
|
+
}
|
|
706
|
+
}
|
|
379
707
|
/**
|
|
380
708
|
* Recipient party for this payment, when known.
|
|
381
709
|
*/
|
|
@@ -394,7 +722,29 @@ export declare namespace PaymentGetResponse {
|
|
|
394
722
|
/**
|
|
395
723
|
* Resource type
|
|
396
724
|
*/
|
|
397
|
-
type:
|
|
725
|
+
type: 'party';
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
/**
|
|
729
|
+
* Recipient agent when the caller addressed an agent ID. Null otherwise, including
|
|
730
|
+
* when the recipient was addressed as an email, phone, or party ID.
|
|
731
|
+
*/
|
|
732
|
+
interface RecipientAgent {
|
|
733
|
+
/**
|
|
734
|
+
* Related resource identifier
|
|
735
|
+
*/
|
|
736
|
+
data: RecipientAgent.Data | null;
|
|
737
|
+
}
|
|
738
|
+
namespace RecipientAgent {
|
|
739
|
+
/**
|
|
740
|
+
* Related resource identifier
|
|
741
|
+
*/
|
|
742
|
+
interface Data {
|
|
743
|
+
id: string;
|
|
744
|
+
/**
|
|
745
|
+
* Resource type
|
|
746
|
+
*/
|
|
747
|
+
type: 'agent';
|
|
398
748
|
}
|
|
399
749
|
}
|
|
400
750
|
/**
|
|
@@ -415,7 +765,7 @@ export declare namespace PaymentGetResponse {
|
|
|
415
765
|
/**
|
|
416
766
|
* Resource type
|
|
417
767
|
*/
|
|
418
|
-
type:
|
|
768
|
+
type: 'party';
|
|
419
769
|
}
|
|
420
770
|
}
|
|
421
771
|
/**
|
|
@@ -436,7 +786,7 @@ export declare namespace PaymentGetResponse {
|
|
|
436
786
|
/**
|
|
437
787
|
* Resource type
|
|
438
788
|
*/
|
|
439
|
-
type:
|
|
789
|
+
type: 'transaction';
|
|
440
790
|
}
|
|
441
791
|
}
|
|
442
792
|
}
|
|
@@ -451,7 +801,7 @@ export interface PaymentCreateParams {
|
|
|
451
801
|
* Body param: Recipient identifier. Provide exactly one typed email, phone, party
|
|
452
802
|
* ID, or agent ID value.
|
|
453
803
|
*/
|
|
454
|
-
counterparty: PaymentCreateParams.UnionMember0 | PaymentCreateParams.UnionMember1;
|
|
804
|
+
counterparty: PaymentCreateParams.UnionMember0 | PaymentCreateParams.UnionMember1 | PaymentCreateParams.UnionMember2 | PaymentCreateParams.UnionMember3;
|
|
455
805
|
/**
|
|
456
806
|
* Header param: Unique key for idempotent request handling. If a request with the
|
|
457
807
|
* same key was already processed, the original response is returned.
|
|
@@ -482,19 +832,33 @@ export interface PaymentCreateParams {
|
|
|
482
832
|
}
|
|
483
833
|
export declare namespace PaymentCreateParams {
|
|
484
834
|
interface UnionMember0 {
|
|
485
|
-
type:
|
|
835
|
+
type: 'email';
|
|
486
836
|
/**
|
|
487
837
|
* Email address
|
|
488
838
|
*/
|
|
489
839
|
value: string;
|
|
490
840
|
}
|
|
491
841
|
interface UnionMember1 {
|
|
492
|
-
type:
|
|
842
|
+
type: 'phone';
|
|
493
843
|
/**
|
|
494
844
|
* Phone number in E.164 format
|
|
495
845
|
*/
|
|
496
846
|
value: string;
|
|
497
847
|
}
|
|
848
|
+
interface UnionMember2 {
|
|
849
|
+
type: 'party_id';
|
|
850
|
+
/**
|
|
851
|
+
* Natural party ID (pty\_\*)
|
|
852
|
+
*/
|
|
853
|
+
value: string;
|
|
854
|
+
}
|
|
855
|
+
interface UnionMember3 {
|
|
856
|
+
type: 'agent_id';
|
|
857
|
+
/**
|
|
858
|
+
* Natural agent ID (agt\_\*)
|
|
859
|
+
*/
|
|
860
|
+
value: string;
|
|
861
|
+
}
|
|
498
862
|
}
|
|
499
863
|
export interface PaymentListParams {
|
|
500
864
|
/**
|
|
@@ -519,6 +883,22 @@ export interface PaymentListParams {
|
|
|
519
883
|
*/
|
|
520
884
|
'X-Instance-ID'?: string;
|
|
521
885
|
}
|
|
886
|
+
export interface PaymentCancelParams {
|
|
887
|
+
/**
|
|
888
|
+
* Unique key for idempotent request handling. If a request with the same key was
|
|
889
|
+
* already processed, the original response is returned.
|
|
890
|
+
*/
|
|
891
|
+
'Idempotency-Key': string;
|
|
892
|
+
/**
|
|
893
|
+
* Agent ID (agt_xxx) identifying which agent is making the request.
|
|
894
|
+
*/
|
|
895
|
+
'X-Agent-ID'?: string;
|
|
896
|
+
/**
|
|
897
|
+
* Required when X-Agent-ID is present. Session or conversation ID for agent
|
|
898
|
+
* observability.
|
|
899
|
+
*/
|
|
900
|
+
'X-Instance-ID'?: string;
|
|
901
|
+
}
|
|
522
902
|
export interface PaymentGetParams {
|
|
523
903
|
/**
|
|
524
904
|
* Query param: Party ID for delegated payment lookup
|
|
@@ -535,6 +915,6 @@ export interface PaymentGetParams {
|
|
|
535
915
|
'X-Instance-ID'?: string;
|
|
536
916
|
}
|
|
537
917
|
export declare namespace Payments {
|
|
538
|
-
export { type PaymentCreateResponse as PaymentCreateResponse, type PaymentListResponse as PaymentListResponse, type PaymentGetResponse as PaymentGetResponse, type PaymentCreateParams as PaymentCreateParams, type PaymentListParams as PaymentListParams, type PaymentGetParams as PaymentGetParams, };
|
|
918
|
+
export { type PaymentCreateResponse as PaymentCreateResponse, type PaymentListResponse as PaymentListResponse, type PaymentCancelResponse as PaymentCancelResponse, type PaymentGetResponse as PaymentGetResponse, type PaymentCreateParams as PaymentCreateParams, type PaymentListParams as PaymentListParams, type PaymentCancelParams as PaymentCancelParams, type PaymentGetParams as PaymentGetParams, };
|
|
539
919
|
}
|
|
540
920
|
//# sourceMappingURL=payments.d.ts.map
|