@getivy/node-sdk 0.1.0-alpha.22 → 0.1.0-alpha.23

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.
@@ -23,15 +23,6 @@ export class Orders extends APIResource {
23
23
  retrieve(body: OrderRetrieveParams, options?: Core.RequestOptions): Core.APIPromise<OrderRetrieveResponse> {
24
24
  return this._client.post('/api/service/order/details', { body, ...options });
25
25
  }
26
-
27
- /**
28
- * Expire an order. This will set the order to status `canceled` immediately. All
29
- * transactions which arrive afterwards for this order will be returned
30
- * automatically.
31
- */
32
- expire(body: OrderExpireParams, options?: Core.RequestOptions): Core.APIPromise<OrderExpireResponse> {
33
- return this._client.post('/api/service/order/expire', { body, ...options });
34
- }
35
26
  }
36
27
 
37
28
  export interface OrderCreateResponse {
@@ -3316,1710 +3307,63 @@ export namespace OrderRetrieveResponse {
3316
3307
  }
3317
3308
  }
3318
3309
 
3319
- export interface OrderExpireResponse {
3320
- /**
3321
- * The Ivy unique identifier for the order.
3322
- */
3323
- id: string;
3324
-
3325
- /**
3326
- * @deprecated The unique identifier for the merchantApp which initiated the order
3327
- * / payment attempt.
3328
- */
3329
- appId: string;
3330
-
3331
- /**
3332
- * The Ivy fee for the payment.
3333
- */
3334
- applicationFeeAmount: number;
3335
-
3336
- createdAt: string;
3337
-
3338
- instantPaymentScheme: boolean;
3339
-
3340
- /**
3341
- * @deprecated Deprecated in favor of `appId`.
3342
- */
3343
- merchantAppId: string;
3344
-
3310
+ export interface OrderCreateParams {
3345
3311
  /**
3346
- * The unique identifier for the merchant which initiated the order / payment
3347
- * attempt.
3312
+ * The total amount of the order
3348
3313
  */
3349
- merchantId: string;
3314
+ amount: number;
3350
3315
 
3351
3316
  /**
3352
- * The amount to be paid by the user. The amounts is in decimals, i.e. 10.23
3353
- * represents EUR 10.23. Any amount of decimal places can be provided on
3354
- * initialization, but the actual transfer amount is rounded to 2 decimal places,
3355
- * as this is the format accepted by most banks.
3317
+ * The currency code of the order
3356
3318
  */
3357
- price: OrderExpireResponse.Price;
3319
+ currency: 'EUR' | 'GBP' | 'PLN';
3358
3320
 
3359
3321
  /**
3360
- * An internal reference id which will be stored with the checkout & corresponding
3361
- * order. Needs to be unique per shop per order and can be up to 200 characters.
3322
+ * The merchant's unique reference ID for the order
3362
3323
  */
3363
3324
  referenceId: string;
3364
3325
 
3365
3326
  /**
3366
- * The name of the merchant which initiated the order.
3367
- */
3368
- shopName: string;
3369
-
3370
- /**
3371
- * The order status. This status symbolises the state of the user's payment
3372
- * attempt. See [the guide](https://docs.getivy.de/docs/payment-status) for more
3373
- * information.
3374
- */
3375
- status:
3376
- | 'failed'
3377
- | 'canceled'
3378
- | 'processing'
3379
- | 'waiting_for_payment'
3380
- | 'paid'
3381
- | 'in_refund'
3382
- | 'refunded'
3383
- | 'refund_failed'
3384
- | 'partially_refunded'
3385
- | 'in_dispute'
3386
- | 'disputed'
3387
- | 'refused';
3388
-
3389
- updatedAt: string;
3390
-
3391
- /**
3392
- * The unique identifier of Ivy of the chosen bank to make the payment. Not there,
3393
- * if no payment was made.
3394
- */
3395
- bankId?: string;
3396
-
3397
- /**
3398
- * @deprecated The bank statement reference of the payment for the order. This is
3399
- * the reference that will be visible on the bank statement.
3400
- */
3401
- bankStatementReference?: string;
3402
-
3403
- /**
3404
- * The billing address of the user. Required when handshake=true.
3405
- */
3406
- billingAddress?: OrderExpireResponse.BillingAddress;
3407
-
3408
- /**
3409
- * The merchant category code or
3410
- * [MCC](https://en.wikipedia.org/wiki/Merchant_category_code).
3411
- */
3412
- category?: string;
3413
-
3414
- /**
3415
- * @deprecated
3416
- */
3417
- climateActionMode?: OrderExpireResponse.ClimateActionMode;
3418
-
3419
- /**
3420
- * @deprecated
3421
- */
3422
- co2Grams?: number;
3423
-
3424
- /**
3425
- * The unique identifier of the customer who placed the order.
3426
- */
3427
- customerId?: string;
3428
-
3429
- destination?: OrderExpireResponse.Destination;
3430
-
3431
- /**
3432
- * The customer facing id. This id is displayed to the user during the checkout and
3433
- * in the merchant dashboard.
3434
- */
3435
- displayId?: string;
3436
-
3437
- /**
3438
- * False by default. If set to true, customers skip email input and jump directly
3439
- * to their bank login. For express Checkout Sessions this is always false.
3440
- */
3441
- guest?: boolean;
3442
-
3443
- /**
3444
- * Only valid for sustainable incentive mode. The social / sustainable projects
3445
- * available to the user during Checkout.
3446
- */
3447
- impactOffsetProjects?: Array<string>;
3448
-
3449
- /**
3450
- * The incentive mode of the checkout session. For any use-case apart from
3451
- * e-commerce, please use `white_label` as the value. If set to `white_label`, the
3452
- * checkout session will be white labeled. If set to `sustainable`, the checkout
3453
- * session will contain sustainable incentives for users.
3454
- */
3455
- incentiveMode?: 'white_label' | 'sustainable';
3456
-
3457
- /**
3458
- * The line items of the Checkout.
3459
- */
3460
- lineItems?: Array<OrderExpireResponse.LineItem>;
3461
-
3462
- mandate?: OrderExpireResponse.Mandate;
3463
-
3464
- /**
3465
- * @deprecated
3466
- */
3467
- merchantFinancialAddress?: OrderExpireResponse.MerchantFinancialAddress;
3468
-
3469
- /**
3470
- * Any data which will be stored and returned for this checkout session and
3471
- * corresponding order. See [here](https://docs.getivy.de/reference/metadata) for
3472
- * more info.
3473
- */
3474
- metadata?: Record<string, unknown>;
3475
-
3476
- /**
3477
- * Only valid for sustainable incentive mode. The social / sustainability project
3478
- * chosen by the user during Checkout.
3479
- */
3480
- offsetProject?: string;
3481
-
3482
- /**
3483
- * The source bank account where the money is send from.
3484
- */
3485
- payerFinancialAddress?: OrderExpireResponse.PayerFinancialAddress;
3486
-
3487
- paymentMethodType?: 'sepa_debit' | 'customer_balance' | 'manual_bank_transfer';
3488
-
3489
- /**
3490
- * The payment mode of the order. Can be either 'settlement' or 'direct'.
3491
- */
3492
- paymentMode?: 'settlement' | 'direct';
3493
-
3494
- /**
3495
- * @deprecated Deprecated in favor of `status`. Do not use this field to trigger
3496
- * actions in your system.
3497
- */
3498
- paymentStatus?:
3499
- | 'failed'
3500
- | 'canceled'
3501
- | 'processing'
3502
- | 'requires_action'
3503
- | 'succeeded'
3504
- | 'in_refund'
3505
- | 'refunded'
3506
- | 'refund_failed'
3507
- | 'partially_refunded'
3508
- | 'not_settled'
3509
- | 'disputed'
3510
- | 'frozen_due_to_aml';
3511
-
3512
- /**
3513
- * The total amount in the currency of all successful refunds for this order
3514
- */
3515
- refundAmount?: number;
3516
-
3517
- /**
3518
- * The list of refunds connected to this order.
3519
- */
3520
- refunds?: Array<OrderExpireResponse.Refund>;
3521
-
3522
- /**
3523
- * The shipping address of the user. This is only collected in express Checkouts.
3524
- */
3525
- shippingAddress?: OrderExpireResponse.ShippingAddress;
3526
-
3527
- /**
3528
- * The selected shipping method by the user. Can either be selected during an
3529
- * express Checkout Session or passed during Checkout Session creation.
3530
- */
3531
- shippingMethod?: OrderExpireResponse.ShippingMethod;
3532
-
3533
- /**
3534
- * The logo of the shop provided as a URL.
3535
- */
3536
- shopLogo?: string;
3537
-
3538
- /**
3539
- * The shopper object. Contains information collected from the user during the
3540
- * Checkout.
3541
- */
3542
- shopper?: OrderExpireResponse.Shopper;
3543
-
3544
- /**
3545
- * @deprecated Deprecated in favor of `shopper.email`. The email of the user if
3546
- * collected in the Checkout.
3327
+ * The customer of the merchant.
3547
3328
  */
3548
- shopperEmail?: string;
3549
-
3550
- statusClassification?: OrderExpireResponse.StatusClassification;
3329
+ customer?: OrderCreateParams.Email | OrderCreateParams.ID;
3551
3330
 
3552
3331
  /**
3553
- * List of status history items for the order, used for logging every update on
3554
- * status.
3332
+ * Optional expiration timestamp in seconds
3555
3333
  */
3556
- statusHistoryList?: Array<OrderExpireResponse.StatusHistoryList>;
3334
+ expiresAt?: string;
3557
3335
 
3558
3336
  /**
3559
- * The subaccount id of the order.
3337
+ * The subaccount id of the merchant.
3560
3338
  */
3561
3339
  subaccountId?: string;
3562
-
3563
- /**
3564
- * The legal name of the subaccount
3565
- */
3566
- subaccountLegalName?: string;
3567
-
3568
- /**
3569
- * @deprecated
3570
- */
3571
- trees?: number;
3572
3340
  }
3573
3341
 
3574
- export namespace OrderExpireResponse {
3575
- /**
3576
- * The amount to be paid by the user. The amounts is in decimals, i.e. 10.23
3577
- * represents EUR 10.23. Any amount of decimal places can be provided on
3578
- * initialization, but the actual transfer amount is rounded to 2 decimal places,
3579
- * as this is the format accepted by most banks.
3580
- */
3581
- export interface Price {
3582
- currency: 'EUR' | 'GBP' | 'PLN';
3342
+ export namespace OrderCreateParams {
3343
+ export interface Email {
3344
+ /**
3345
+ * The email of the customer.
3346
+ */
3347
+ email: string;
3348
+ }
3583
3349
 
3350
+ export interface ID {
3584
3351
  /**
3585
- * The total amount to be paid.
3352
+ * The Ivy id of the customer.
3586
3353
  */
3587
- total: number;
3588
-
3589
- shipping?: number;
3590
-
3591
- subTotal?: number;
3592
-
3593
- totalNet?: number;
3594
-
3595
- vat?: number;
3596
- }
3597
-
3598
- /**
3599
- * The billing address of the user. Required when handshake=true.
3600
- */
3601
- export interface BillingAddress {
3602
- city: string;
3603
-
3604
- /**
3605
- * The country code in
3606
- * [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
3607
- */
3608
- country:
3609
- | 'AF'
3610
- | 'AL'
3611
- | 'DZ'
3612
- | 'AS'
3613
- | 'AD'
3614
- | 'AO'
3615
- | 'AI'
3616
- | 'AQ'
3617
- | 'AG'
3618
- | 'AR'
3619
- | 'AM'
3620
- | 'AW'
3621
- | 'AU'
3622
- | 'AT'
3623
- | 'AZ'
3624
- | 'BS'
3625
- | 'BH'
3626
- | 'BD'
3627
- | 'BB'
3628
- | 'BY'
3629
- | 'BE'
3630
- | 'BZ'
3631
- | 'BJ'
3632
- | 'BM'
3633
- | 'BT'
3634
- | 'BO'
3635
- | 'BA'
3636
- | 'BW'
3637
- | 'BV'
3638
- | 'BR'
3639
- | 'IO'
3640
- | 'BN'
3641
- | 'BG'
3642
- | 'BF'
3643
- | 'BI'
3644
- | 'KH'
3645
- | 'CM'
3646
- | 'CA'
3647
- | 'CV'
3648
- | 'KY'
3649
- | 'CF'
3650
- | 'TD'
3651
- | 'CL'
3652
- | 'CN'
3653
- | 'CX'
3654
- | 'CC'
3655
- | 'CO'
3656
- | 'KM'
3657
- | 'CG'
3658
- | 'CD'
3659
- | 'CK'
3660
- | 'CR'
3661
- | 'CI'
3662
- | 'HR'
3663
- | 'CU'
3664
- | 'CY'
3665
- | 'CZ'
3666
- | 'DK'
3667
- | 'DJ'
3668
- | 'DM'
3669
- | 'DO'
3670
- | 'EC'
3671
- | 'EG'
3672
- | 'SV'
3673
- | 'GQ'
3674
- | 'ER'
3675
- | 'EE'
3676
- | 'ET'
3677
- | 'FK'
3678
- | 'FO'
3679
- | 'FJ'
3680
- | 'FI'
3681
- | 'FR'
3682
- | 'GF'
3683
- | 'PF'
3684
- | 'TF'
3685
- | 'GA'
3686
- | 'GM'
3687
- | 'GE'
3688
- | 'DE'
3689
- | 'GH'
3690
- | 'GI'
3691
- | 'GR'
3692
- | 'GL'
3693
- | 'GD'
3694
- | 'GP'
3695
- | 'GU'
3696
- | 'GT'
3697
- | 'GN'
3698
- | 'GW'
3699
- | 'GY'
3700
- | 'HT'
3701
- | 'HM'
3702
- | 'VA'
3703
- | 'HN'
3704
- | 'HK'
3705
- | 'HU'
3706
- | 'IS'
3707
- | 'IN'
3708
- | 'ID'
3709
- | 'IR'
3710
- | 'IQ'
3711
- | 'IE'
3712
- | 'IL'
3713
- | 'IT'
3714
- | 'JM'
3715
- | 'JP'
3716
- | 'JO'
3717
- | 'KZ'
3718
- | 'KE'
3719
- | 'KI'
3720
- | 'KP'
3721
- | 'KR'
3722
- | 'KW'
3723
- | 'KG'
3724
- | 'LA'
3725
- | 'LV'
3726
- | 'LB'
3727
- | 'LS'
3728
- | 'LR'
3729
- | 'LY'
3730
- | 'LI'
3731
- | 'LT'
3732
- | 'LU'
3733
- | 'MO'
3734
- | 'MG'
3735
- | 'MW'
3736
- | 'MY'
3737
- | 'MV'
3738
- | 'ML'
3739
- | 'MT'
3740
- | 'MH'
3741
- | 'MQ'
3742
- | 'MR'
3743
- | 'MU'
3744
- | 'YT'
3745
- | 'MX'
3746
- | 'FM'
3747
- | 'MD'
3748
- | 'MC'
3749
- | 'MN'
3750
- | 'MS'
3751
- | 'MA'
3752
- | 'MZ'
3753
- | 'MM'
3754
- | 'NA'
3755
- | 'NR'
3756
- | 'NP'
3757
- | 'NL'
3758
- | 'NC'
3759
- | 'NZ'
3760
- | 'NI'
3761
- | 'NE'
3762
- | 'NG'
3763
- | 'NU'
3764
- | 'NF'
3765
- | 'MP'
3766
- | 'MK'
3767
- | 'NO'
3768
- | 'OM'
3769
- | 'PK'
3770
- | 'PW'
3771
- | 'PS'
3772
- | 'PA'
3773
- | 'PG'
3774
- | 'PY'
3775
- | 'PE'
3776
- | 'PH'
3777
- | 'PN'
3778
- | 'PL'
3779
- | 'PT'
3780
- | 'PR'
3781
- | 'QA'
3782
- | 'RE'
3783
- | 'RO'
3784
- | 'RU'
3785
- | 'RW'
3786
- | 'SH'
3787
- | 'KN'
3788
- | 'LC'
3789
- | 'PM'
3790
- | 'VC'
3791
- | 'WS'
3792
- | 'SM'
3793
- | 'ST'
3794
- | 'SA'
3795
- | 'SN'
3796
- | 'SC'
3797
- | 'SL'
3798
- | 'SG'
3799
- | 'SK'
3800
- | 'SI'
3801
- | 'SB'
3802
- | 'SO'
3803
- | 'ZA'
3804
- | 'GS'
3805
- | 'ES'
3806
- | 'LK'
3807
- | 'SD'
3808
- | 'SR'
3809
- | 'SJ'
3810
- | 'SZ'
3811
- | 'SE'
3812
- | 'CH'
3813
- | 'SY'
3814
- | 'TW'
3815
- | 'TJ'
3816
- | 'TZ'
3817
- | 'TH'
3818
- | 'TL'
3819
- | 'TG'
3820
- | 'TK'
3821
- | 'TO'
3822
- | 'TT'
3823
- | 'TN'
3824
- | 'TR'
3825
- | 'TM'
3826
- | 'TC'
3827
- | 'TV'
3828
- | 'UG'
3829
- | 'UA'
3830
- | 'AE'
3831
- | 'GB'
3832
- | 'US'
3833
- | 'UM'
3834
- | 'UY'
3835
- | 'UZ'
3836
- | 'VU'
3837
- | 'VE'
3838
- | 'VN'
3839
- | 'VG'
3840
- | 'VI'
3841
- | 'WF'
3842
- | 'EH'
3843
- | 'YE'
3844
- | 'ZM'
3845
- | 'ZW'
3846
- | 'AX'
3847
- | 'BQ'
3848
- | 'CW'
3849
- | 'GG'
3850
- | 'IM'
3851
- | 'JE'
3852
- | 'ME'
3853
- | 'BL'
3854
- | 'MF'
3855
- | 'RS'
3856
- | 'SX'
3857
- | 'SS'
3858
- | 'XK';
3859
-
3860
- line1: string;
3861
-
3862
- zipCode: string;
3863
-
3864
- firstName?: string;
3865
-
3866
- lastName?: string;
3867
-
3868
- line2?: string;
3869
-
3870
- region?: string;
3871
- }
3872
-
3873
- /**
3874
- * @deprecated
3875
- */
3876
- export interface ClimateActionMode {
3877
- amount: number;
3878
-
3879
- type: 'transaction' | 'amount';
3880
- }
3881
-
3882
- export interface Destination {
3883
- /**
3884
- * The validation logic is based on the "type" field. For example, if "type" is set
3885
- * to "iban", the "iban" object must be filled out.
3886
- */
3887
- bankAccount: Destination.BankAccount;
3888
-
3889
- /**
3890
- * The bank statement reference of the payment for the order. This is the reference
3891
- * that will be visible on the bank statement.
3892
- */
3893
- bankStatementReference: string;
3894
- }
3895
-
3896
- export namespace Destination {
3897
- /**
3898
- * The validation logic is based on the "type" field. For example, if "type" is set
3899
- * to "iban", the "iban" object must be filled out.
3900
- */
3901
- export interface BankAccount {
3902
- /**
3903
- * The type of the financial address. The actual destination is determined by this
3904
- * field which can be either "iban", "sortCode", "bankCode", or "bban". The
3905
- * validation will fail if you set e.g. type="iban", but then not fill any values
3906
- * in the "iban" object.
3907
- *
3908
- * - iban: The IBAN of the account
3909
- * - sort_code: The sort code of the account
3910
- * - bank_code: The bank code of the account
3911
- * - bban: The BBAN of the account
3912
- */
3913
- type: string;
3914
-
3915
- bankCode?: BankAccount.BankCode;
3916
-
3917
- bban?: BankAccount.Bban;
3918
-
3919
- iban?: BankAccount.Iban;
3920
-
3921
- sortCode?: BankAccount.SortCode;
3922
- }
3923
-
3924
- export namespace BankAccount {
3925
- export interface BankCode {
3926
- /**
3927
- * The name of the account holder.
3928
- */
3929
- accountHolderName: string;
3930
-
3931
- accountNumber: string;
3932
-
3933
- code: string;
3934
- }
3935
-
3936
- export interface Bban {
3937
- /**
3938
- * The name of the account holder.
3939
- */
3940
- accountHolderName: string;
3941
-
3942
- bban: string;
3943
-
3944
- bic?: string;
3945
- }
3946
-
3947
- export interface Iban {
3948
- /**
3949
- * The name of the account holder.
3950
- */
3951
- accountHolderName: string;
3952
-
3953
- iban: string;
3954
-
3955
- bic?: string;
3956
- }
3957
-
3958
- export interface SortCode {
3959
- /**
3960
- * The name of the account holder.
3961
- */
3962
- accountHolderName: string;
3963
-
3964
- accountNumber: string;
3965
-
3966
- sortCode: string;
3967
- }
3968
- }
3969
- }
3970
-
3971
- export interface LineItem {
3972
- /**
3973
- * The total amount of all line items, i.e. single amount \* quantity. Given in
3974
- * decimals, i.e. 10.23 represents EUR 10.23.
3975
- */
3976
- amount: number;
3977
-
3978
- /**
3979
- * The name of the line item.
3980
- */
3981
- name: string;
3982
-
3983
- /**
3984
- * The quantity of the line item.
3985
- */
3986
- quantity: number;
3987
-
3988
- /**
3989
- * The net amount of a single item.
3990
- */
3991
- singleNet: number;
3992
-
3993
- /**
3994
- * The VAT amount of a single item.
3995
- */
3996
- singleVat: number;
3997
-
3998
- /**
3999
- * The category as [MCC](https://en.wikipedia.org/wiki/Merchant_category_code) of
4000
- * the line item.
4001
- */
4002
- category?: string;
4003
-
4004
- /**
4005
- * The
4006
- * [EAN](https://en.wikipedia.org/wiki/International_Article_Number#:~:text=The%20International%20Article%20Number%20(also,configuration%2C%20from%20a%20specific%20manufacturer.)
4007
- * of the line item.
4008
- */
4009
- EAN?: string;
4010
-
4011
- /**
4012
- * The image of the line item as a URL.
4013
- */
4014
- image?: string;
4015
-
4016
- /**
4017
- * The internal unique identifier of the line item.
4018
- */
4019
- referenceId?: string;
4020
- }
4021
-
4022
- export interface Mandate {
4023
- /**
4024
- * The name of the account holder who signs the mandate.
4025
- */
4026
- accountHolderName?: string;
4027
-
4028
- /**
4029
- * Additional information to display to the user during the mandate setup. This
4030
- * information is not used to setup any recurrence on the mandate. It is only
4031
- * displayed to the user during checkout.
4032
- */
4033
- additionalDisplayInformation?: Mandate.AdditionalDisplayInformation;
4034
-
4035
- /**
4036
- * Mandate creditor data
4037
- */
4038
- creditor?: Mandate.Creditor;
4039
-
4040
- /**
4041
- * The reference of the mandate going to be setup
4042
- */
4043
- reference?: string;
4044
-
4045
- /**
4046
- * The mandate referenceId. Set this to match incoming `mandate_setup_started`,
4047
- * `mandate_setup_succeeded` or `mandate_setup_failed` webhook events to your
4048
- * mandate setup request.
4049
- */
4050
- referenceId?: string;
4051
-
4052
- /**
4053
- * If true, a ready to use mandate will be set up after the payment flow.
4054
- */
4055
- setup?: boolean;
4056
-
4057
- /**
4058
- * The email of the user who signs the mandate.
4059
- */
4060
- userNotificationEmail?: string;
4061
- }
4062
-
4063
- export namespace Mandate {
4064
- /**
4065
- * Additional information to display to the user during the mandate setup. This
4066
- * information is not used to setup any recurrence on the mandate. It is only
4067
- * displayed to the user during checkout.
4068
- */
4069
- export interface AdditionalDisplayInformation {
4070
- /**
4071
- * The intended cadence of charges used for displaying purpose only. On demand
4072
- * would be used for unscheduled charges.
4073
- */
4074
- cadence?: 'BI_WEEKLY' | 'WEEKLY' | 'MONTHLY' | 'QUARTERLY' | 'SEMI_ANNUAL' | 'ANNUAL' | 'ON_DEMAND';
4075
-
4076
- price?: AdditionalDisplayInformation.Price;
4077
- }
4078
-
4079
- export namespace AdditionalDisplayInformation {
4080
- export interface Price {
4081
- /**
4082
- * The amount displayed to the user as decimal e.g. 10.23 would be displayed as
4083
- * 10.23 EUR.
4084
- */
4085
- amount?: number;
4086
-
4087
- currency?: 'EUR' | 'GBP' | 'PLN';
4088
- }
4089
- }
4090
-
4091
- /**
4092
- * Mandate creditor data
4093
- */
4094
- export interface Creditor {
4095
- id?: string;
4096
-
4097
- name?: string;
4098
- }
4099
- }
4100
-
4101
- /**
4102
- * @deprecated
4103
- */
4104
- export interface MerchantFinancialAddress {
4105
- bankCode?: MerchantFinancialAddress.BankCode;
4106
-
4107
- bban?: MerchantFinancialAddress.Bban;
4108
-
4109
- iban?: MerchantFinancialAddress.Iban;
4110
-
4111
- /**
4112
- * The payment reference for the order. This is the reference that will be visible
4113
- * on the bank statement.
4114
- */
4115
- paymentReference?: string;
4116
-
4117
- sortCode?: MerchantFinancialAddress.SortCode;
4118
-
4119
- /**
4120
- * The type of the financial address. The actual destination is determined by this
4121
- * field which can be either "iban", "sortCode", "bankCode", or "bban". The
4122
- * validation will fail if you set e.g. type="iban", but then not fill any values
4123
- * in the "iban" object.
4124
- *
4125
- * - iban: The IBAN of the account
4126
- * - sort_code: The sort code of the account
4127
- * - bank_code: The bank code of the account
4128
- * - bban: The BBAN of the account
4129
- */
4130
- type?: string;
4131
- }
4132
-
4133
- export namespace MerchantFinancialAddress {
4134
- export interface BankCode {
4135
- /**
4136
- * The name of the account holder.
4137
- */
4138
- accountHolderName: string;
4139
-
4140
- accountNumber: string;
4141
-
4142
- code: string;
4143
- }
4144
-
4145
- export interface Bban {
4146
- /**
4147
- * The name of the account holder.
4148
- */
4149
- accountHolderName: string;
4150
-
4151
- bban: string;
4152
-
4153
- bic?: string;
4154
- }
4155
-
4156
- export interface Iban {
4157
- /**
4158
- * The name of the account holder.
4159
- */
4160
- accountHolderName: string;
4161
-
4162
- iban: string;
4163
-
4164
- bic?: string;
4165
- }
4166
-
4167
- export interface SortCode {
4168
- /**
4169
- * The name of the account holder.
4170
- */
4171
- accountHolderName: string;
4172
-
4173
- accountNumber: string;
4174
-
4175
- sortCode: string;
4176
- }
4177
- }
4178
-
4179
- /**
4180
- * The source bank account where the money is send from.
4181
- */
4182
- export interface PayerFinancialAddress {
4183
- /**
4184
- * The type of the financial address. The actual destination is determined by this
4185
- * field which can be either "iban", "sortCode", "bankCode", or "bban". The
4186
- * validation will fail if you set e.g. type="iban", but then not fill any values
4187
- * in the "iban" object.
4188
- *
4189
- * - iban: The IBAN of the account
4190
- * - sort_code: The sort code of the account
4191
- * - bank_code: The bank code of the account
4192
- * - bban: The BBAN of the account
4193
- */
4194
- type: string;
4195
-
4196
- bankCode?: PayerFinancialAddress.BankCode;
4197
-
4198
- bban?: PayerFinancialAddress.Bban;
4199
-
4200
- iban?: PayerFinancialAddress.Iban;
4201
-
4202
- sortCode?: PayerFinancialAddress.SortCode;
4203
- }
4204
-
4205
- export namespace PayerFinancialAddress {
4206
- export interface BankCode {
4207
- accountNumber: string;
4208
-
4209
- code: string;
4210
-
4211
- /**
4212
- * The name of the account holder.
4213
- */
4214
- accountHolderName?: string;
4215
- }
4216
-
4217
- export interface Bban {
4218
- bban: string;
4219
-
4220
- /**
4221
- * The name of the account holder.
4222
- */
4223
- accountHolderName?: string;
4224
-
4225
- bic?: string;
4226
- }
4227
-
4228
- export interface Iban {
4229
- iban: string;
4230
-
4231
- /**
4232
- * The name of the account holder.
4233
- */
4234
- accountHolderName?: string;
4235
-
4236
- bic?: string;
4237
- }
4238
-
4239
- export interface SortCode {
4240
- accountNumber: string;
4241
-
4242
- sortCode: string;
4243
-
4244
- /**
4245
- * The name of the account holder.
4246
- */
4247
- accountHolderName?: string;
4248
- }
4249
- }
4250
-
4251
- /**
4252
- * A Refund object. This corresponds to one Refund request.
4253
- */
4254
- export interface Refund {
4255
- id: string;
4256
-
4257
- amount: number;
4258
-
4259
- createdAt: string;
4260
-
4261
- referenceId: string;
4262
-
4263
- /**
4264
- * The status of the refund. Always use the status of the order as your source of
4265
- * truth to trigger actions in your dashboard.
4266
- */
4267
- status: 'pending' | 'succeeded' | 'failed' | 'requires_action' | 'partially_refunded';
4268
-
4269
- updatedAt: string;
4270
-
4271
- description?: string;
4272
- }
4273
-
4274
- /**
4275
- * The shipping address of the user. This is only collected in express Checkouts.
4276
- */
4277
- export interface ShippingAddress {
4278
- city: string;
4279
-
4280
- /**
4281
- * The country code in
4282
- * [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.
4283
- */
4284
- country:
4285
- | 'AF'
4286
- | 'AL'
4287
- | 'DZ'
4288
- | 'AS'
4289
- | 'AD'
4290
- | 'AO'
4291
- | 'AI'
4292
- | 'AQ'
4293
- | 'AG'
4294
- | 'AR'
4295
- | 'AM'
4296
- | 'AW'
4297
- | 'AU'
4298
- | 'AT'
4299
- | 'AZ'
4300
- | 'BS'
4301
- | 'BH'
4302
- | 'BD'
4303
- | 'BB'
4304
- | 'BY'
4305
- | 'BE'
4306
- | 'BZ'
4307
- | 'BJ'
4308
- | 'BM'
4309
- | 'BT'
4310
- | 'BO'
4311
- | 'BA'
4312
- | 'BW'
4313
- | 'BV'
4314
- | 'BR'
4315
- | 'IO'
4316
- | 'BN'
4317
- | 'BG'
4318
- | 'BF'
4319
- | 'BI'
4320
- | 'KH'
4321
- | 'CM'
4322
- | 'CA'
4323
- | 'CV'
4324
- | 'KY'
4325
- | 'CF'
4326
- | 'TD'
4327
- | 'CL'
4328
- | 'CN'
4329
- | 'CX'
4330
- | 'CC'
4331
- | 'CO'
4332
- | 'KM'
4333
- | 'CG'
4334
- | 'CD'
4335
- | 'CK'
4336
- | 'CR'
4337
- | 'CI'
4338
- | 'HR'
4339
- | 'CU'
4340
- | 'CY'
4341
- | 'CZ'
4342
- | 'DK'
4343
- | 'DJ'
4344
- | 'DM'
4345
- | 'DO'
4346
- | 'EC'
4347
- | 'EG'
4348
- | 'SV'
4349
- | 'GQ'
4350
- | 'ER'
4351
- | 'EE'
4352
- | 'ET'
4353
- | 'FK'
4354
- | 'FO'
4355
- | 'FJ'
4356
- | 'FI'
4357
- | 'FR'
4358
- | 'GF'
4359
- | 'PF'
4360
- | 'TF'
4361
- | 'GA'
4362
- | 'GM'
4363
- | 'GE'
4364
- | 'DE'
4365
- | 'GH'
4366
- | 'GI'
4367
- | 'GR'
4368
- | 'GL'
4369
- | 'GD'
4370
- | 'GP'
4371
- | 'GU'
4372
- | 'GT'
4373
- | 'GN'
4374
- | 'GW'
4375
- | 'GY'
4376
- | 'HT'
4377
- | 'HM'
4378
- | 'VA'
4379
- | 'HN'
4380
- | 'HK'
4381
- | 'HU'
4382
- | 'IS'
4383
- | 'IN'
4384
- | 'ID'
4385
- | 'IR'
4386
- | 'IQ'
4387
- | 'IE'
4388
- | 'IL'
4389
- | 'IT'
4390
- | 'JM'
4391
- | 'JP'
4392
- | 'JO'
4393
- | 'KZ'
4394
- | 'KE'
4395
- | 'KI'
4396
- | 'KP'
4397
- | 'KR'
4398
- | 'KW'
4399
- | 'KG'
4400
- | 'LA'
4401
- | 'LV'
4402
- | 'LB'
4403
- | 'LS'
4404
- | 'LR'
4405
- | 'LY'
4406
- | 'LI'
4407
- | 'LT'
4408
- | 'LU'
4409
- | 'MO'
4410
- | 'MG'
4411
- | 'MW'
4412
- | 'MY'
4413
- | 'MV'
4414
- | 'ML'
4415
- | 'MT'
4416
- | 'MH'
4417
- | 'MQ'
4418
- | 'MR'
4419
- | 'MU'
4420
- | 'YT'
4421
- | 'MX'
4422
- | 'FM'
4423
- | 'MD'
4424
- | 'MC'
4425
- | 'MN'
4426
- | 'MS'
4427
- | 'MA'
4428
- | 'MZ'
4429
- | 'MM'
4430
- | 'NA'
4431
- | 'NR'
4432
- | 'NP'
4433
- | 'NL'
4434
- | 'NC'
4435
- | 'NZ'
4436
- | 'NI'
4437
- | 'NE'
4438
- | 'NG'
4439
- | 'NU'
4440
- | 'NF'
4441
- | 'MP'
4442
- | 'MK'
4443
- | 'NO'
4444
- | 'OM'
4445
- | 'PK'
4446
- | 'PW'
4447
- | 'PS'
4448
- | 'PA'
4449
- | 'PG'
4450
- | 'PY'
4451
- | 'PE'
4452
- | 'PH'
4453
- | 'PN'
4454
- | 'PL'
4455
- | 'PT'
4456
- | 'PR'
4457
- | 'QA'
4458
- | 'RE'
4459
- | 'RO'
4460
- | 'RU'
4461
- | 'RW'
4462
- | 'SH'
4463
- | 'KN'
4464
- | 'LC'
4465
- | 'PM'
4466
- | 'VC'
4467
- | 'WS'
4468
- | 'SM'
4469
- | 'ST'
4470
- | 'SA'
4471
- | 'SN'
4472
- | 'SC'
4473
- | 'SL'
4474
- | 'SG'
4475
- | 'SK'
4476
- | 'SI'
4477
- | 'SB'
4478
- | 'SO'
4479
- | 'ZA'
4480
- | 'GS'
4481
- | 'ES'
4482
- | 'LK'
4483
- | 'SD'
4484
- | 'SR'
4485
- | 'SJ'
4486
- | 'SZ'
4487
- | 'SE'
4488
- | 'CH'
4489
- | 'SY'
4490
- | 'TW'
4491
- | 'TJ'
4492
- | 'TZ'
4493
- | 'TH'
4494
- | 'TL'
4495
- | 'TG'
4496
- | 'TK'
4497
- | 'TO'
4498
- | 'TT'
4499
- | 'TN'
4500
- | 'TR'
4501
- | 'TM'
4502
- | 'TC'
4503
- | 'TV'
4504
- | 'UG'
4505
- | 'UA'
4506
- | 'AE'
4507
- | 'GB'
4508
- | 'US'
4509
- | 'UM'
4510
- | 'UY'
4511
- | 'UZ'
4512
- | 'VU'
4513
- | 'VE'
4514
- | 'VN'
4515
- | 'VG'
4516
- | 'VI'
4517
- | 'WF'
4518
- | 'EH'
4519
- | 'YE'
4520
- | 'ZM'
4521
- | 'ZW'
4522
- | 'AX'
4523
- | 'BQ'
4524
- | 'CW'
4525
- | 'GG'
4526
- | 'IM'
4527
- | 'JE'
4528
- | 'ME'
4529
- | 'BL'
4530
- | 'MF'
4531
- | 'RS'
4532
- | 'SX'
4533
- | 'SS'
4534
- | 'XK';
4535
-
4536
- line1: string;
4537
-
4538
- zipCode: string;
4539
-
4540
- firstName?: string;
4541
-
4542
- lastName?: string;
4543
-
4544
- line2?: string;
4545
-
4546
- region?: string;
4547
- }
4548
-
4549
- /**
4550
- * The selected shipping method by the user. Can either be selected during an
4551
- * express Checkout Session or passed during Checkout Session creation.
4552
- */
4553
- export interface ShippingMethod {
4554
- /**
4555
- * The customer-facing name of the shipping method.
4556
- */
4557
- name: string;
4558
-
4559
- /**
4560
- * The price of the shipping method in decimals, i.e. 10.23 represents EUR 10.23.
4561
- */
4562
- price: number;
4563
-
4564
- /**
4565
- * The unique identifier of the shipping method within Ivy.
4566
- */
4567
- id?: string;
4568
-
4569
- /**
4570
- * The list of countries where the shipping method is available.
4571
- */
4572
- countries?: Array<
4573
- | 'AF'
4574
- | 'AL'
4575
- | 'DZ'
4576
- | 'AS'
4577
- | 'AD'
4578
- | 'AO'
4579
- | 'AI'
4580
- | 'AQ'
4581
- | 'AG'
4582
- | 'AR'
4583
- | 'AM'
4584
- | 'AW'
4585
- | 'AU'
4586
- | 'AT'
4587
- | 'AZ'
4588
- | 'BS'
4589
- | 'BH'
4590
- | 'BD'
4591
- | 'BB'
4592
- | 'BY'
4593
- | 'BE'
4594
- | 'BZ'
4595
- | 'BJ'
4596
- | 'BM'
4597
- | 'BT'
4598
- | 'BO'
4599
- | 'BA'
4600
- | 'BW'
4601
- | 'BV'
4602
- | 'BR'
4603
- | 'IO'
4604
- | 'BN'
4605
- | 'BG'
4606
- | 'BF'
4607
- | 'BI'
4608
- | 'KH'
4609
- | 'CM'
4610
- | 'CA'
4611
- | 'CV'
4612
- | 'KY'
4613
- | 'CF'
4614
- | 'TD'
4615
- | 'CL'
4616
- | 'CN'
4617
- | 'CX'
4618
- | 'CC'
4619
- | 'CO'
4620
- | 'KM'
4621
- | 'CG'
4622
- | 'CD'
4623
- | 'CK'
4624
- | 'CR'
4625
- | 'CI'
4626
- | 'HR'
4627
- | 'CU'
4628
- | 'CY'
4629
- | 'CZ'
4630
- | 'DK'
4631
- | 'DJ'
4632
- | 'DM'
4633
- | 'DO'
4634
- | 'EC'
4635
- | 'EG'
4636
- | 'SV'
4637
- | 'GQ'
4638
- | 'ER'
4639
- | 'EE'
4640
- | 'ET'
4641
- | 'FK'
4642
- | 'FO'
4643
- | 'FJ'
4644
- | 'FI'
4645
- | 'FR'
4646
- | 'GF'
4647
- | 'PF'
4648
- | 'TF'
4649
- | 'GA'
4650
- | 'GM'
4651
- | 'GE'
4652
- | 'DE'
4653
- | 'GH'
4654
- | 'GI'
4655
- | 'GR'
4656
- | 'GL'
4657
- | 'GD'
4658
- | 'GP'
4659
- | 'GU'
4660
- | 'GT'
4661
- | 'GN'
4662
- | 'GW'
4663
- | 'GY'
4664
- | 'HT'
4665
- | 'HM'
4666
- | 'VA'
4667
- | 'HN'
4668
- | 'HK'
4669
- | 'HU'
4670
- | 'IS'
4671
- | 'IN'
4672
- | 'ID'
4673
- | 'IR'
4674
- | 'IQ'
4675
- | 'IE'
4676
- | 'IL'
4677
- | 'IT'
4678
- | 'JM'
4679
- | 'JP'
4680
- | 'JO'
4681
- | 'KZ'
4682
- | 'KE'
4683
- | 'KI'
4684
- | 'KP'
4685
- | 'KR'
4686
- | 'KW'
4687
- | 'KG'
4688
- | 'LA'
4689
- | 'LV'
4690
- | 'LB'
4691
- | 'LS'
4692
- | 'LR'
4693
- | 'LY'
4694
- | 'LI'
4695
- | 'LT'
4696
- | 'LU'
4697
- | 'MO'
4698
- | 'MG'
4699
- | 'MW'
4700
- | 'MY'
4701
- | 'MV'
4702
- | 'ML'
4703
- | 'MT'
4704
- | 'MH'
4705
- | 'MQ'
4706
- | 'MR'
4707
- | 'MU'
4708
- | 'YT'
4709
- | 'MX'
4710
- | 'FM'
4711
- | 'MD'
4712
- | 'MC'
4713
- | 'MN'
4714
- | 'MS'
4715
- | 'MA'
4716
- | 'MZ'
4717
- | 'MM'
4718
- | 'NA'
4719
- | 'NR'
4720
- | 'NP'
4721
- | 'NL'
4722
- | 'NC'
4723
- | 'NZ'
4724
- | 'NI'
4725
- | 'NE'
4726
- | 'NG'
4727
- | 'NU'
4728
- | 'NF'
4729
- | 'MP'
4730
- | 'MK'
4731
- | 'NO'
4732
- | 'OM'
4733
- | 'PK'
4734
- | 'PW'
4735
- | 'PS'
4736
- | 'PA'
4737
- | 'PG'
4738
- | 'PY'
4739
- | 'PE'
4740
- | 'PH'
4741
- | 'PN'
4742
- | 'PL'
4743
- | 'PT'
4744
- | 'PR'
4745
- | 'QA'
4746
- | 'RE'
4747
- | 'RO'
4748
- | 'RU'
4749
- | 'RW'
4750
- | 'SH'
4751
- | 'KN'
4752
- | 'LC'
4753
- | 'PM'
4754
- | 'VC'
4755
- | 'WS'
4756
- | 'SM'
4757
- | 'ST'
4758
- | 'SA'
4759
- | 'SN'
4760
- | 'SC'
4761
- | 'SL'
4762
- | 'SG'
4763
- | 'SK'
4764
- | 'SI'
4765
- | 'SB'
4766
- | 'SO'
4767
- | 'ZA'
4768
- | 'GS'
4769
- | 'ES'
4770
- | 'LK'
4771
- | 'SD'
4772
- | 'SR'
4773
- | 'SJ'
4774
- | 'SZ'
4775
- | 'SE'
4776
- | 'CH'
4777
- | 'SY'
4778
- | 'TW'
4779
- | 'TJ'
4780
- | 'TZ'
4781
- | 'TH'
4782
- | 'TL'
4783
- | 'TG'
4784
- | 'TK'
4785
- | 'TO'
4786
- | 'TT'
4787
- | 'TN'
4788
- | 'TR'
4789
- | 'TM'
4790
- | 'TC'
4791
- | 'TV'
4792
- | 'UG'
4793
- | 'UA'
4794
- | 'AE'
4795
- | 'GB'
4796
- | 'US'
4797
- | 'UM'
4798
- | 'UY'
4799
- | 'UZ'
4800
- | 'VU'
4801
- | 'VE'
4802
- | 'VN'
4803
- | 'VG'
4804
- | 'VI'
4805
- | 'WF'
4806
- | 'EH'
4807
- | 'YE'
4808
- | 'ZM'
4809
- | 'ZW'
4810
- | 'AX'
4811
- | 'BQ'
4812
- | 'CW'
4813
- | 'GG'
4814
- | 'IM'
4815
- | 'JE'
4816
- | 'ME'
4817
- | 'BL'
4818
- | 'MF'
4819
- | 'RS'
4820
- | 'SX'
4821
- | 'SS'
4822
- | 'XK'
4823
- >;
4824
-
4825
- /**
4826
- * The delivery estimate of the shipping method.
4827
- */
4828
- deliveryEstimate?: ShippingMethod.DeliveryEstimate;
4829
-
4830
- /**
4831
- * The unique identifier within your system of the shipping method.
4832
- */
4833
- reference?: string;
4834
-
4835
- /**
4836
- * @deprecated Deprecated in favor of deliveryEstimate
4837
- */
4838
- timeFrame?: string;
4839
- }
4840
-
4841
- export namespace ShippingMethod {
4842
- /**
4843
- * The delivery estimate of the shipping method.
4844
- */
4845
- export interface DeliveryEstimate {
4846
- /**
4847
- * The maximum delivery time.
4848
- */
4849
- maximum?: DeliveryEstimate.Maximum;
4850
-
4851
- /**
4852
- * The minimum delivery time.
4853
- */
4854
- minimum?: DeliveryEstimate.Minimum;
4855
- }
4856
-
4857
- export namespace DeliveryEstimate {
4858
- /**
4859
- * The maximum delivery time.
4860
- */
4861
- export interface Maximum {
4862
- /**
4863
- * The unit of the time duration.
4864
- */
4865
- unit: 'hour' | 'day' | 'business_day' | 'week' | 'month';
4866
-
4867
- /**
4868
- * The value of the time duration.
4869
- */
4870
- value: number;
4871
- }
4872
-
4873
- /**
4874
- * The minimum delivery time.
4875
- */
4876
- export interface Minimum {
4877
- /**
4878
- * The unit of the time duration.
4879
- */
4880
- unit: 'hour' | 'day' | 'business_day' | 'week' | 'month';
4881
-
4882
- /**
4883
- * The value of the time duration.
4884
- */
4885
- value: number;
4886
- }
4887
- }
4888
- }
4889
-
4890
- /**
4891
- * The shopper object. Contains information collected from the user during the
4892
- * Checkout.
4893
- */
4894
- export interface Shopper {
4895
- email?: string;
4896
-
4897
- phoneNumber?: string;
4898
- }
4899
-
4900
- export interface StatusClassification {
4901
- /**
4902
- * Populated with the primary payment initiation failure classsification if
4903
- * available.
4904
- */
4905
- primary?: string;
4906
-
4907
- /**
4908
- * Populated with the secondary payment initiation failure classsification if
4909
- * available.
4910
- */
4911
- secondary?: string;
4912
- }
4913
-
4914
- export interface StatusHistoryList {
4915
- /**
4916
- * The order status. This status symbolises the state of the user's payment
4917
- * attempt. See [the guide](https://docs.getivy.de/docs/payment-status) for more
4918
- * information.
4919
- */
4920
- currentStatus:
4921
- | 'failed'
4922
- | 'canceled'
4923
- | 'processing'
4924
- | 'waiting_for_payment'
4925
- | 'paid'
4926
- | 'in_refund'
4927
- | 'refunded'
4928
- | 'refund_failed'
4929
- | 'partially_refunded'
4930
- | 'in_dispute'
4931
- | 'disputed'
4932
- | 'refused';
4933
-
4934
- reason: string;
4935
-
4936
- updatedAt: string;
4937
-
4938
- /**
4939
- * The order status. This status symbolises the state of the user's payment
4940
- * attempt. See [the guide](https://docs.getivy.de/docs/payment-status) for more
4941
- * information.
4942
- */
4943
- previousStatus?:
4944
- | 'failed'
4945
- | 'canceled'
4946
- | 'processing'
4947
- | 'waiting_for_payment'
4948
- | 'paid'
4949
- | 'in_refund'
4950
- | 'refunded'
4951
- | 'refund_failed'
4952
- | 'partially_refunded'
4953
- | 'in_dispute'
4954
- | 'disputed'
4955
- | 'refused'
4956
- | null;
4957
- }
4958
- }
4959
-
4960
- export interface OrderCreateParams {
4961
- /**
4962
- * The total amount of the order
4963
- */
4964
- amount: number;
4965
-
4966
- /**
4967
- * The currency code of the order
4968
- */
4969
- currency: 'EUR' | 'GBP' | 'PLN';
4970
-
4971
- /**
4972
- * The merchant's unique reference ID for the order
4973
- */
4974
- referenceId: string;
4975
-
4976
- /**
4977
- * The customer of the merchant.
4978
- */
4979
- customer?: OrderCreateParams.Email | OrderCreateParams.ID;
4980
-
4981
- /**
4982
- * Optional expiration timestamp in seconds
4983
- */
4984
- expiresAt?: string;
4985
-
4986
- /**
4987
- * The subaccount id of the merchant.
4988
- */
4989
- subaccountId?: string;
4990
- }
4991
-
4992
- export namespace OrderCreateParams {
4993
- export interface Email {
4994
- /**
4995
- * The email of the customer.
4996
- */
4997
- email: string;
4998
- }
4999
-
5000
- export interface ID {
5001
- /**
5002
- * The Ivy id of the customer.
5003
- */
5004
- id: string;
5005
- }
5006
- }
3354
+ id: string;
3355
+ }
3356
+ }
5007
3357
 
5008
3358
  export interface OrderRetrieveParams {
5009
3359
  id: string;
5010
3360
  }
5011
3361
 
5012
- export interface OrderExpireParams {
5013
- id: string;
5014
- }
5015
-
5016
3362
  export declare namespace Orders {
5017
3363
  export {
5018
3364
  type OrderCreateResponse as OrderCreateResponse,
5019
3365
  type OrderRetrieveResponse as OrderRetrieveResponse,
5020
- type OrderExpireResponse as OrderExpireResponse,
5021
3366
  type OrderCreateParams as OrderCreateParams,
5022
3367
  type OrderRetrieveParams as OrderRetrieveParams,
5023
- type OrderExpireParams as OrderExpireParams,
5024
3368
  };
5025
3369
  }