/
expectedpayment.go
456 lines (416 loc) · 22.6 KB
/
expectedpayment.go
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
// File generated from our OpenAPI spec by Stainless.
package moderntreasury
import (
"context"
"fmt"
"net/http"
"net/url"
"time"
"github.com/Modern-Treasury/modern-treasury-go/internal/apijson"
"github.com/Modern-Treasury/modern-treasury-go/internal/apiquery"
"github.com/Modern-Treasury/modern-treasury-go/internal/param"
"github.com/Modern-Treasury/modern-treasury-go/internal/requestconfig"
"github.com/Modern-Treasury/modern-treasury-go/internal/shared"
"github.com/Modern-Treasury/modern-treasury-go/option"
)
// ExpectedPaymentService contains methods and other services that help with
// interacting with the Modern Treasury API. Note, unlike clients, this service
// does not read variables from the environment automatically. You should not
// instantiate this service directly, and instead use the
// [NewExpectedPaymentService] method instead.
type ExpectedPaymentService struct {
Options []option.RequestOption
}
// NewExpectedPaymentService generates a new service that applies the given options
// to each request. These options are applied after the parent client's options (if
// there is one), and before any request-specific options.
func NewExpectedPaymentService(opts ...option.RequestOption) (r *ExpectedPaymentService) {
r = &ExpectedPaymentService{}
r.Options = opts
return
}
// create expected payment
func (r *ExpectedPaymentService) New(ctx context.Context, body ExpectedPaymentNewParams, opts ...option.RequestOption) (res *ExpectedPayment, err error) {
opts = append(r.Options[:], opts...)
path := "api/expected_payments"
err = requestconfig.ExecuteNewRequest(ctx, http.MethodPost, path, body, &res, opts...)
return
}
// get expected payment
func (r *ExpectedPaymentService) Get(ctx context.Context, id string, opts ...option.RequestOption) (res *ExpectedPayment, err error) {
opts = append(r.Options[:], opts...)
path := fmt.Sprintf("api/expected_payments/%s", id)
err = requestconfig.ExecuteNewRequest(ctx, http.MethodGet, path, nil, &res, opts...)
return
}
// update expected payment
func (r *ExpectedPaymentService) Update(ctx context.Context, id string, body ExpectedPaymentUpdateParams, opts ...option.RequestOption) (res *ExpectedPayment, err error) {
opts = append(r.Options[:], opts...)
path := fmt.Sprintf("api/expected_payments/%s", id)
err = requestconfig.ExecuteNewRequest(ctx, http.MethodPatch, path, body, &res, opts...)
return
}
// list expected_payments
func (r *ExpectedPaymentService) List(ctx context.Context, query ExpectedPaymentListParams, opts ...option.RequestOption) (res *shared.Page[ExpectedPayment], err error) {
var raw *http.Response
opts = append(r.Options, opts...)
opts = append([]option.RequestOption{option.WithResponseInto(&raw)}, opts...)
path := "api/expected_payments"
cfg, err := requestconfig.NewRequestConfig(ctx, http.MethodGet, path, query, &res, opts...)
if err != nil {
return nil, err
}
err = cfg.Execute()
if err != nil {
return nil, err
}
res.SetPageConfig(cfg, raw)
return res, nil
}
// list expected_payments
func (r *ExpectedPaymentService) ListAutoPaging(ctx context.Context, query ExpectedPaymentListParams, opts ...option.RequestOption) *shared.PageAutoPager[ExpectedPayment] {
return shared.NewPageAutoPager(r.List(ctx, query, opts...))
}
// delete expected payment
func (r *ExpectedPaymentService) Delete(ctx context.Context, id string, opts ...option.RequestOption) (res *ExpectedPayment, err error) {
opts = append(r.Options[:], opts...)
path := fmt.Sprintf("api/expected_payments/%s", id)
err = requestconfig.ExecuteNewRequest(ctx, http.MethodDelete, path, nil, &res, opts...)
return
}
type ExpectedPayment struct {
ID string `json:"id,required" format:"uuid"`
// The lowest amount this expected payment may be equal to. Value in specified
// currency's smallest unit. e.g. $10 would be represented as 1000.
AmountLowerBound int64 `json:"amount_lower_bound,required"`
// The highest amount this expected payment may be equal to. Value in specified
// currency's smallest unit. e.g. $10 would be represented as 1000.
AmountUpperBound int64 `json:"amount_upper_bound,required"`
// The ID of the counterparty you expect for this payment.
CounterpartyID string `json:"counterparty_id,required,nullable" format:"uuid"`
CreatedAt time.Time `json:"created_at,required" format:"date-time"`
// Must conform to ISO 4217. Defaults to the currency of the internal account.
Currency shared.Currency `json:"currency,required,nullable"`
// The earliest date the payment may come in. Format: yyyy-mm-dd
DateLowerBound time.Time `json:"date_lower_bound,required,nullable" format:"date"`
// The latest date the payment may come in. Format: yyyy-mm-dd
DateUpperBound time.Time `json:"date_upper_bound,required,nullable" format:"date"`
// An optional description for internal use.
Description string `json:"description,required,nullable"`
// One of credit or debit. When you are receiving money, use credit. When you are
// being charged, use debit.
Direction ExpectedPaymentDirection `json:"direction,required"`
// The ID of the Internal Account for the expected payment.
InternalAccountID string `json:"internal_account_id,required" format:"uuid"`
// The ID of the ledger transaction linked to the expected payment.
LedgerTransactionID string `json:"ledger_transaction_id,required,nullable" format:"uuid"`
// This field will be true if this object exists in the live environment or false
// if it exists in the test environment.
LiveMode bool `json:"live_mode,required"`
// Additional data represented as key-value pairs. Both the key and value must be
// strings.
Metadata map[string]string `json:"metadata,required"`
Object string `json:"object,required"`
// The reconciliation filters you have for this payment.
ReconciliationFilters interface{} `json:"reconciliation_filters,required,nullable"`
// The reconciliation groups you have for this payment.
ReconciliationGroups interface{} `json:"reconciliation_groups,required,nullable"`
// One of manual if this expected payment was manually reconciled in the dashboard,
// automatic if it was automatically reconciled by Modern Treasury, or null if it
// is unreconciled.
ReconciliationMethod ExpectedPaymentReconciliationMethod `json:"reconciliation_method,required,nullable"`
// For `ach`, this field will be passed through on an addenda record. For `wire`
// payments the field will be passed through as the "Originator to Beneficiary
// Information", also known as OBI or Fedwire tag 6000.
RemittanceInformation string `json:"remittance_information,required,nullable"`
// The statement description you expect to see on the transaction. For ACH
// payments, this will be the full line item passed from the bank. For wire
// payments, this will be the OBI field on the wire. For check payments, this will
// be the memo field.
StatementDescriptor string `json:"statement_descriptor,required,nullable"`
// One of unreconciled, reconciled, or archived.
Status ExpectedPaymentStatus `json:"status,required"`
// The ID of the Transaction this expected payment object has been matched to.
TransactionID string `json:"transaction_id,required,nullable" format:"uuid"`
// The ID of the Transaction Line Item this expected payment has been matched to.
TransactionLineItemID string `json:"transaction_line_item_id,required,nullable" format:"uuid"`
// One of: ach, au_becs, bacs, book, check, eft, interac, provxchange, rtp, sen,
// sepa, signet, wire.
Type ExpectedPaymentType `json:"type,required,nullable"`
UpdatedAt time.Time `json:"updated_at,required" format:"date-time"`
JSON expectedPaymentJSON
}
// expectedPaymentJSON contains the JSON metadata for the struct [ExpectedPayment]
type expectedPaymentJSON struct {
ID apijson.Field
AmountLowerBound apijson.Field
AmountUpperBound apijson.Field
CounterpartyID apijson.Field
CreatedAt apijson.Field
Currency apijson.Field
DateLowerBound apijson.Field
DateUpperBound apijson.Field
Description apijson.Field
Direction apijson.Field
InternalAccountID apijson.Field
LedgerTransactionID apijson.Field
LiveMode apijson.Field
Metadata apijson.Field
Object apijson.Field
ReconciliationFilters apijson.Field
ReconciliationGroups apijson.Field
ReconciliationMethod apijson.Field
RemittanceInformation apijson.Field
StatementDescriptor apijson.Field
Status apijson.Field
TransactionID apijson.Field
TransactionLineItemID apijson.Field
Type apijson.Field
UpdatedAt apijson.Field
raw string
ExtraFields map[string]apijson.Field
}
func (r *ExpectedPayment) UnmarshalJSON(data []byte) (err error) {
return apijson.UnmarshalRoot(data, r)
}
// One of credit or debit. When you are receiving money, use credit. When you are
// being charged, use debit.
type ExpectedPaymentDirection string
const (
ExpectedPaymentDirectionCredit ExpectedPaymentDirection = "credit"
ExpectedPaymentDirectionDebit ExpectedPaymentDirection = "debit"
)
// One of manual if this expected payment was manually reconciled in the dashboard,
// automatic if it was automatically reconciled by Modern Treasury, or null if it
// is unreconciled.
type ExpectedPaymentReconciliationMethod string
const (
ExpectedPaymentReconciliationMethodAutomatic ExpectedPaymentReconciliationMethod = "automatic"
ExpectedPaymentReconciliationMethodManual ExpectedPaymentReconciliationMethod = "manual"
)
// One of unreconciled, reconciled, or archived.
type ExpectedPaymentStatus string
const (
ExpectedPaymentStatusArchived ExpectedPaymentStatus = "archived"
ExpectedPaymentStatusPartiallyReconciled ExpectedPaymentStatus = "partially_reconciled"
ExpectedPaymentStatusReconciled ExpectedPaymentStatus = "reconciled"
ExpectedPaymentStatusUnreconciled ExpectedPaymentStatus = "unreconciled"
)
// One of: ach, au_becs, bacs, book, check, eft, interac, provxchange, rtp, sen,
// sepa, signet, wire.
type ExpectedPaymentType string
const (
ExpectedPaymentTypeACH ExpectedPaymentType = "ach"
ExpectedPaymentTypeAuBecs ExpectedPaymentType = "au_becs"
ExpectedPaymentTypeBacs ExpectedPaymentType = "bacs"
ExpectedPaymentTypeBook ExpectedPaymentType = "book"
ExpectedPaymentTypeCard ExpectedPaymentType = "card"
ExpectedPaymentTypeCheck ExpectedPaymentType = "check"
ExpectedPaymentTypeCrossBorder ExpectedPaymentType = "cross_border"
ExpectedPaymentTypeEft ExpectedPaymentType = "eft"
ExpectedPaymentTypeInterac ExpectedPaymentType = "interac"
ExpectedPaymentTypeMasav ExpectedPaymentType = "masav"
ExpectedPaymentTypeNeft ExpectedPaymentType = "neft"
ExpectedPaymentTypeNics ExpectedPaymentType = "nics"
ExpectedPaymentTypeProvxchange ExpectedPaymentType = "provxchange"
ExpectedPaymentTypeRtp ExpectedPaymentType = "rtp"
ExpectedPaymentTypeSeBankgirot ExpectedPaymentType = "se_bankgirot"
ExpectedPaymentTypeSen ExpectedPaymentType = "sen"
ExpectedPaymentTypeSepa ExpectedPaymentType = "sepa"
ExpectedPaymentTypeSic ExpectedPaymentType = "sic"
ExpectedPaymentTypeSignet ExpectedPaymentType = "signet"
ExpectedPaymentTypeWire ExpectedPaymentType = "wire"
ExpectedPaymentTypeZengin ExpectedPaymentType = "zengin"
)
type ExpectedPaymentNewParams struct {
// The lowest amount this expected payment may be equal to. Value in specified
// currency's smallest unit. e.g. $10 would be represented as 1000.
AmountLowerBound param.Field[int64] `json:"amount_lower_bound,required"`
// The highest amount this expected payment may be equal to. Value in specified
// currency's smallest unit. e.g. $10 would be represented as 1000.
AmountUpperBound param.Field[int64] `json:"amount_upper_bound,required"`
// One of credit or debit. When you are receiving money, use credit. When you are
// being charged, use debit.
Direction param.Field[ExpectedPaymentNewParamsDirection] `json:"direction,required"`
// The ID of the Internal Account for the expected payment.
InternalAccountID param.Field[string] `json:"internal_account_id,required" format:"uuid"`
// The ID of the counterparty you expect for this payment.
CounterpartyID param.Field[string] `json:"counterparty_id" format:"uuid"`
// Must conform to ISO 4217. Defaults to the currency of the internal account.
Currency param.Field[shared.Currency] `json:"currency"`
// The earliest date the payment may come in. Format: yyyy-mm-dd
DateLowerBound param.Field[time.Time] `json:"date_lower_bound" format:"date"`
// The latest date the payment may come in. Format: yyyy-mm-dd
DateUpperBound param.Field[time.Time] `json:"date_upper_bound" format:"date"`
// An optional description for internal use.
Description param.Field[string] `json:"description"`
LineItems param.Field[[]ExpectedPaymentNewParamsLineItem] `json:"line_items"`
// Additional data represented as key-value pairs. Both the key and value must be
// strings.
Metadata param.Field[map[string]string] `json:"metadata"`
// The reconciliation filters you have for this payment.
ReconciliationFilters param.Field[interface{}] `json:"reconciliation_filters"`
// The reconciliation groups you have for this payment.
ReconciliationGroups param.Field[interface{}] `json:"reconciliation_groups"`
// For `ach`, this field will be passed through on an addenda record. For `wire`
// payments the field will be passed through as the "Originator to Beneficiary
// Information", also known as OBI or Fedwire tag 6000.
RemittanceInformation param.Field[string] `json:"remittance_information"`
// The statement description you expect to see on the transaction. For ACH
// payments, this will be the full line item passed from the bank. For wire
// payments, this will be the OBI field on the wire. For check payments, this will
// be the memo field.
StatementDescriptor param.Field[string] `json:"statement_descriptor"`
// One of: ach, au_becs, bacs, book, check, eft, interac, provxchange, rtp, sen,
// sepa, signet, wire.
Type param.Field[ExpectedPaymentType] `json:"type"`
}
func (r ExpectedPaymentNewParams) MarshalJSON() (data []byte, err error) {
return apijson.MarshalRoot(r)
}
// One of credit or debit. When you are receiving money, use credit. When you are
// being charged, use debit.
type ExpectedPaymentNewParamsDirection string
const (
ExpectedPaymentNewParamsDirectionCredit ExpectedPaymentNewParamsDirection = "credit"
ExpectedPaymentNewParamsDirectionDebit ExpectedPaymentNewParamsDirection = "debit"
)
type ExpectedPaymentNewParamsLineItem struct {
// Value in specified currency's smallest unit. e.g. $10 would be represented
// as 1000.
Amount param.Field[int64] `json:"amount,required"`
// The ID of one of your accounting categories. Note that these will only be
// accessible if your accounting system has been connected.
AccountingCategoryID param.Field[string] `json:"accounting_category_id"`
// A free-form description of the line item.
Description param.Field[string] `json:"description"`
// Additional data represented as key-value pairs. Both the key and value must be
// strings.
Metadata param.Field[map[string]string] `json:"metadata"`
}
func (r ExpectedPaymentNewParamsLineItem) MarshalJSON() (data []byte, err error) {
return apijson.MarshalRoot(r)
}
type ExpectedPaymentUpdateParams struct {
// The lowest amount this expected payment may be equal to. Value in specified
// currency's smallest unit. e.g. $10 would be represented as 1000.
AmountLowerBound param.Field[int64] `json:"amount_lower_bound"`
// The highest amount this expected payment may be equal to. Value in specified
// currency's smallest unit. e.g. $10 would be represented as 1000.
AmountUpperBound param.Field[int64] `json:"amount_upper_bound"`
// The ID of the counterparty you expect for this payment.
CounterpartyID param.Field[string] `json:"counterparty_id" format:"uuid"`
// Must conform to ISO 4217. Defaults to the currency of the internal account.
Currency param.Field[shared.Currency] `json:"currency"`
// The earliest date the payment may come in. Format: yyyy-mm-dd
DateLowerBound param.Field[time.Time] `json:"date_lower_bound" format:"date"`
// The latest date the payment may come in. Format: yyyy-mm-dd
DateUpperBound param.Field[time.Time] `json:"date_upper_bound" format:"date"`
// An optional description for internal use.
Description param.Field[string] `json:"description"`
// One of credit or debit. When you are receiving money, use credit. When you are
// being charged, use debit.
Direction param.Field[ExpectedPaymentUpdateParamsDirection] `json:"direction"`
// The ID of the Internal Account for the expected payment.
InternalAccountID param.Field[string] `json:"internal_account_id" format:"uuid"`
// Additional data represented as key-value pairs. Both the key and value must be
// strings.
Metadata param.Field[map[string]string] `json:"metadata"`
// The reconciliation filters you have for this payment.
ReconciliationFilters param.Field[interface{}] `json:"reconciliation_filters"`
// The reconciliation groups you have for this payment.
ReconciliationGroups param.Field[interface{}] `json:"reconciliation_groups"`
// For `ach`, this field will be passed through on an addenda record. For `wire`
// payments the field will be passed through as the "Originator to Beneficiary
// Information", also known as OBI or Fedwire tag 6000.
RemittanceInformation param.Field[string] `json:"remittance_information"`
// The statement description you expect to see on the transaction. For ACH
// payments, this will be the full line item passed from the bank. For wire
// payments, this will be the OBI field on the wire. For check payments, this will
// be the memo field.
StatementDescriptor param.Field[string] `json:"statement_descriptor"`
// One of: ach, au_becs, bacs, book, check, eft, interac, provxchange, rtp, sen,
// sepa, signet, wire.
Type param.Field[ExpectedPaymentType] `json:"type"`
}
func (r ExpectedPaymentUpdateParams) MarshalJSON() (data []byte, err error) {
return apijson.MarshalRoot(r)
}
// One of credit or debit. When you are receiving money, use credit. When you are
// being charged, use debit.
type ExpectedPaymentUpdateParamsDirection string
const (
ExpectedPaymentUpdateParamsDirectionCredit ExpectedPaymentUpdateParamsDirection = "credit"
ExpectedPaymentUpdateParamsDirectionDebit ExpectedPaymentUpdateParamsDirection = "debit"
)
type ExpectedPaymentListParams struct {
AfterCursor param.Field[string] `query:"after_cursor"`
// Specify counterparty_id to see expected_payments for a specific account.
CounterpartyID param.Field[string] `query:"counterparty_id"`
// Used to return expected payments created after some datetime
CreatedAtLowerBound param.Field[time.Time] `query:"created_at_lower_bound" format:"date-time"`
// Used to return expected payments created before some datetime
CreatedAtUpperBound param.Field[time.Time] `query:"created_at_upper_bound" format:"date-time"`
// One of credit, debit
Direction param.Field[ExpectedPaymentListParamsDirection] `query:"direction"`
// Specify internal_account_id to see expected_payments for a specific account.
InternalAccountID param.Field[string] `query:"internal_account_id"`
// For example, if you want to query for records with metadata key `Type` and value
// `Loan`, the query would be `metadata%5BType%5D=Loan`. This encodes the query
// parameters.
Metadata param.Field[map[string]string] `query:"metadata"`
PerPage param.Field[int64] `query:"per_page"`
// One of unreconciled, reconciled, or archived.
Status param.Field[ExpectedPaymentListParamsStatus] `query:"status"`
// One of: ach, au_becs, bacs, book, check, eft, interac, provxchange, rtp,sen,
// sepa, signet, wire
Type param.Field[ExpectedPaymentListParamsType] `query:"type"`
}
// URLQuery serializes [ExpectedPaymentListParams]'s query parameters as
// `url.Values`.
func (r ExpectedPaymentListParams) URLQuery() (v url.Values) {
return apiquery.MarshalWithSettings(r, apiquery.QuerySettings{
ArrayFormat: apiquery.ArrayQueryFormatBrackets,
NestedFormat: apiquery.NestedQueryFormatBrackets,
})
}
// One of credit, debit
type ExpectedPaymentListParamsDirection string
const (
ExpectedPaymentListParamsDirectionCredit ExpectedPaymentListParamsDirection = "credit"
ExpectedPaymentListParamsDirectionDebit ExpectedPaymentListParamsDirection = "debit"
)
// One of unreconciled, reconciled, or archived.
type ExpectedPaymentListParamsStatus string
const (
ExpectedPaymentListParamsStatusArchived ExpectedPaymentListParamsStatus = "archived"
ExpectedPaymentListParamsStatusPartiallyReconciled ExpectedPaymentListParamsStatus = "partially_reconciled"
ExpectedPaymentListParamsStatusReconciled ExpectedPaymentListParamsStatus = "reconciled"
ExpectedPaymentListParamsStatusUnreconciled ExpectedPaymentListParamsStatus = "unreconciled"
)
// One of: ach, au_becs, bacs, book, check, eft, interac, provxchange, rtp,sen,
// sepa, signet, wire
type ExpectedPaymentListParamsType string
const (
ExpectedPaymentListParamsTypeACH ExpectedPaymentListParamsType = "ach"
ExpectedPaymentListParamsTypeAuBecs ExpectedPaymentListParamsType = "au_becs"
ExpectedPaymentListParamsTypeBacs ExpectedPaymentListParamsType = "bacs"
ExpectedPaymentListParamsTypeBook ExpectedPaymentListParamsType = "book"
ExpectedPaymentListParamsTypeCard ExpectedPaymentListParamsType = "card"
ExpectedPaymentListParamsTypeCheck ExpectedPaymentListParamsType = "check"
ExpectedPaymentListParamsTypeCrossBorder ExpectedPaymentListParamsType = "cross_border"
ExpectedPaymentListParamsTypeEft ExpectedPaymentListParamsType = "eft"
ExpectedPaymentListParamsTypeInterac ExpectedPaymentListParamsType = "interac"
ExpectedPaymentListParamsTypeMasav ExpectedPaymentListParamsType = "masav"
ExpectedPaymentListParamsTypeNeft ExpectedPaymentListParamsType = "neft"
ExpectedPaymentListParamsTypeNics ExpectedPaymentListParamsType = "nics"
ExpectedPaymentListParamsTypeProvxchange ExpectedPaymentListParamsType = "provxchange"
ExpectedPaymentListParamsTypeRtp ExpectedPaymentListParamsType = "rtp"
ExpectedPaymentListParamsTypeSeBankgirot ExpectedPaymentListParamsType = "se_bankgirot"
ExpectedPaymentListParamsTypeSen ExpectedPaymentListParamsType = "sen"
ExpectedPaymentListParamsTypeSepa ExpectedPaymentListParamsType = "sepa"
ExpectedPaymentListParamsTypeSic ExpectedPaymentListParamsType = "sic"
ExpectedPaymentListParamsTypeSignet ExpectedPaymentListParamsType = "signet"
ExpectedPaymentListParamsTypeWire ExpectedPaymentListParamsType = "wire"
ExpectedPaymentListParamsTypeZengin ExpectedPaymentListParamsType = "zengin"
)