@finverse/sdk-typescript 0.0.400 → 0.0.402
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/dist/api.d.ts +227 -255
- package/dist/api.js +107 -116
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -204,6 +204,16 @@ export interface AccountNumber {
|
|
|
204
204
|
*/
|
|
205
205
|
raw: string;
|
|
206
206
|
}
|
|
207
|
+
/**
|
|
208
|
+
* Type of account number. Possible values: LOCAL, IBAN
|
|
209
|
+
* @export
|
|
210
|
+
* @enum {string}
|
|
211
|
+
*/
|
|
212
|
+
export declare const AccountNumberType: {
|
|
213
|
+
readonly Local: "LOCAL";
|
|
214
|
+
readonly Iban: "IBAN";
|
|
215
|
+
};
|
|
216
|
+
export type AccountNumberType = (typeof AccountNumberType)[keyof typeof AccountNumberType];
|
|
207
217
|
/**
|
|
208
218
|
*
|
|
209
219
|
* @export
|
|
@@ -676,11 +686,11 @@ export interface BadRequestModelV2 {
|
|
|
676
686
|
*/
|
|
677
687
|
export interface BadRequestModelV2Error {
|
|
678
688
|
/**
|
|
679
|
-
*
|
|
680
|
-
* @type {
|
|
689
|
+
*
|
|
690
|
+
* @type {FinverseErrorCategory}
|
|
681
691
|
* @memberof BadRequestModelV2Error
|
|
682
692
|
*/
|
|
683
|
-
type:
|
|
693
|
+
type: FinverseErrorCategory;
|
|
684
694
|
/**
|
|
685
695
|
*
|
|
686
696
|
* @type {string}
|
|
@@ -712,11 +722,6 @@ export interface BadRequestModelV2Error {
|
|
|
712
722
|
*/
|
|
713
723
|
request_id: string;
|
|
714
724
|
}
|
|
715
|
-
export declare const BadRequestModelV2ErrorTypeEnum: {
|
|
716
|
-
readonly LinkError: "LINK_ERROR";
|
|
717
|
-
readonly ApiError: "API_ERROR";
|
|
718
|
-
};
|
|
719
|
-
export type BadRequestModelV2ErrorTypeEnum = (typeof BadRequestModelV2ErrorTypeEnum)[keyof typeof BadRequestModelV2ErrorTypeEnum];
|
|
720
725
|
/**
|
|
721
726
|
*
|
|
722
727
|
* @export
|
|
@@ -897,6 +902,19 @@ export interface BillSenderDetails {
|
|
|
897
902
|
*/
|
|
898
903
|
name: string;
|
|
899
904
|
}
|
|
905
|
+
/**
|
|
906
|
+
* Bill status
|
|
907
|
+
* @export
|
|
908
|
+
* @enum {string}
|
|
909
|
+
*/
|
|
910
|
+
export declare const BillStatus: {
|
|
911
|
+
readonly Unknown: "UNKNOWN";
|
|
912
|
+
readonly Unpaid: "UNPAID";
|
|
913
|
+
readonly Paid: "PAID";
|
|
914
|
+
readonly Cancelled: "CANCELLED";
|
|
915
|
+
readonly Failed: "FAILED";
|
|
916
|
+
};
|
|
917
|
+
export type BillStatus = (typeof BillStatus)[keyof typeof BillStatus];
|
|
900
918
|
/**
|
|
901
919
|
*
|
|
902
920
|
* @export
|
|
@@ -1025,6 +1043,18 @@ export interface CardDetails {
|
|
|
1025
1043
|
*/
|
|
1026
1044
|
card_total?: CardTotal;
|
|
1027
1045
|
}
|
|
1046
|
+
/**
|
|
1047
|
+
* The funding source of the card
|
|
1048
|
+
* @export
|
|
1049
|
+
* @enum {string}
|
|
1050
|
+
*/
|
|
1051
|
+
export declare const CardFundingType: {
|
|
1052
|
+
readonly Unknown: "UNKNOWN";
|
|
1053
|
+
readonly Credit: "CREDIT";
|
|
1054
|
+
readonly Debit: "DEBIT";
|
|
1055
|
+
readonly Prepaid: "PREPAID";
|
|
1056
|
+
};
|
|
1057
|
+
export type CardFundingType = (typeof CardFundingType)[keyof typeof CardFundingType];
|
|
1028
1058
|
/**
|
|
1029
1059
|
*
|
|
1030
1060
|
* @export
|
|
@@ -1443,19 +1473,12 @@ export interface CreateCardRequestCardDetails {
|
|
|
1443
1473
|
*/
|
|
1444
1474
|
country?: string;
|
|
1445
1475
|
/**
|
|
1446
|
-
*
|
|
1447
|
-
* @type {
|
|
1476
|
+
*
|
|
1477
|
+
* @type {CardFundingType}
|
|
1448
1478
|
* @memberof CreateCardRequestCardDetails
|
|
1449
1479
|
*/
|
|
1450
|
-
funding?:
|
|
1480
|
+
funding?: CardFundingType;
|
|
1451
1481
|
}
|
|
1452
|
-
export declare const CreateCardRequestCardDetailsFundingEnum: {
|
|
1453
|
-
readonly Unknown: "UNKNOWN";
|
|
1454
|
-
readonly Credit: "CREDIT";
|
|
1455
|
-
readonly Debit: "DEBIT";
|
|
1456
|
-
readonly Prepaid: "PREPAID";
|
|
1457
|
-
};
|
|
1458
|
-
export type CreateCardRequestCardDetailsFundingEnum = (typeof CreateCardRequestCardDetailsFundingEnum)[keyof typeof CreateCardRequestCardDetailsFundingEnum];
|
|
1459
1482
|
/**
|
|
1460
1483
|
*
|
|
1461
1484
|
* @export
|
|
@@ -1644,11 +1667,11 @@ export interface CreateMandateSender {
|
|
|
1644
1667
|
*/
|
|
1645
1668
|
external_user_id?: string;
|
|
1646
1669
|
/**
|
|
1647
|
-
*
|
|
1648
|
-
* @type {
|
|
1670
|
+
*
|
|
1671
|
+
* @type {PaymentUserType}
|
|
1649
1672
|
* @memberof CreateMandateSender
|
|
1650
1673
|
*/
|
|
1651
|
-
user_type?:
|
|
1674
|
+
user_type?: PaymentUserType;
|
|
1652
1675
|
/**
|
|
1653
1676
|
* Sender details which will be used for fraud checking.
|
|
1654
1677
|
* @type {Array<SenderDetail>}
|
|
@@ -1656,11 +1679,6 @@ export interface CreateMandateSender {
|
|
|
1656
1679
|
*/
|
|
1657
1680
|
user_details?: Array<SenderDetail>;
|
|
1658
1681
|
}
|
|
1659
|
-
export declare const CreateMandateSenderUserTypeEnum: {
|
|
1660
|
-
readonly Individual: "INDIVIDUAL";
|
|
1661
|
-
readonly Business: "BUSINESS";
|
|
1662
|
-
};
|
|
1663
|
-
export type CreateMandateSenderUserTypeEnum = (typeof CreateMandateSenderUserTypeEnum)[keyof typeof CreateMandateSenderUserTypeEnum];
|
|
1664
1682
|
/**
|
|
1665
1683
|
*
|
|
1666
1684
|
* @export
|
|
@@ -1692,11 +1710,11 @@ export interface CreateMandateSenderResponse {
|
|
|
1692
1710
|
*/
|
|
1693
1711
|
external_user_id: string;
|
|
1694
1712
|
/**
|
|
1695
|
-
*
|
|
1696
|
-
* @type {
|
|
1713
|
+
*
|
|
1714
|
+
* @type {PaymentUserType}
|
|
1697
1715
|
* @memberof CreateMandateSenderResponse
|
|
1698
1716
|
*/
|
|
1699
|
-
user_type:
|
|
1717
|
+
user_type: PaymentUserType;
|
|
1700
1718
|
/**
|
|
1701
1719
|
* Sender details which will be used for fraud checking.
|
|
1702
1720
|
* @type {Array<SenderDetail>}
|
|
@@ -1704,11 +1722,6 @@ export interface CreateMandateSenderResponse {
|
|
|
1704
1722
|
*/
|
|
1705
1723
|
user_details?: Array<SenderDetail>;
|
|
1706
1724
|
}
|
|
1707
|
-
export declare const CreateMandateSenderResponseUserTypeEnum: {
|
|
1708
|
-
readonly Individual: "INDIVIDUAL";
|
|
1709
|
-
readonly Business: "BUSINESS";
|
|
1710
|
-
};
|
|
1711
|
-
export type CreateMandateSenderResponseUserTypeEnum = (typeof CreateMandateSenderResponseUserTypeEnum)[keyof typeof CreateMandateSenderResponseUserTypeEnum];
|
|
1712
1725
|
/**
|
|
1713
1726
|
*
|
|
1714
1727
|
* @export
|
|
@@ -1828,11 +1841,11 @@ export interface CreatePaymentLinkRequest {
|
|
|
1828
1841
|
*/
|
|
1829
1842
|
link_customizations?: PaymentLinkCustomizations;
|
|
1830
1843
|
/**
|
|
1831
|
-
*
|
|
1832
|
-
* @type {
|
|
1844
|
+
*
|
|
1845
|
+
* @type {PaymentLinkMode}
|
|
1833
1846
|
* @memberof CreatePaymentLinkRequest
|
|
1834
1847
|
*/
|
|
1835
|
-
mode:
|
|
1848
|
+
mode: PaymentLinkMode;
|
|
1836
1849
|
/**
|
|
1837
1850
|
*
|
|
1838
1851
|
* @type {PaymentLinkDetails}
|
|
@@ -1880,11 +1893,6 @@ export interface CreatePaymentLinkRequest {
|
|
|
1880
1893
|
*/
|
|
1881
1894
|
integration_metadata?: IntegrationMetadataRequest;
|
|
1882
1895
|
}
|
|
1883
|
-
export declare const CreatePaymentLinkRequestModeEnum: {
|
|
1884
|
-
readonly Payment: "PAYMENT";
|
|
1885
|
-
readonly Setup: "SETUP";
|
|
1886
|
-
};
|
|
1887
|
-
export type CreatePaymentLinkRequestModeEnum = (typeof CreatePaymentLinkRequestModeEnum)[keyof typeof CreatePaymentLinkRequestModeEnum];
|
|
1888
1896
|
/**
|
|
1889
1897
|
*
|
|
1890
1898
|
* @export
|
|
@@ -1975,10 +1983,10 @@ export interface CreatePaymentUserRequest {
|
|
|
1975
1983
|
external_user_id: string;
|
|
1976
1984
|
/**
|
|
1977
1985
|
*
|
|
1978
|
-
* @type {
|
|
1986
|
+
* @type {PaymentUserType}
|
|
1979
1987
|
* @memberof CreatePaymentUserRequest
|
|
1980
1988
|
*/
|
|
1981
|
-
user_type?:
|
|
1989
|
+
user_type?: PaymentUserType;
|
|
1982
1990
|
/**
|
|
1983
1991
|
*
|
|
1984
1992
|
* @type {string}
|
|
@@ -2012,11 +2020,6 @@ export interface CreatePaymentUserRequest {
|
|
|
2012
2020
|
*/
|
|
2013
2021
|
integration_metadata?: IntegrationMetadataPaymentUserRequest;
|
|
2014
2022
|
}
|
|
2015
|
-
export declare const CreatePaymentUserRequestUserTypeEnum: {
|
|
2016
|
-
readonly Individual: "INDIVIDUAL";
|
|
2017
|
-
readonly Business: "BUSINESS";
|
|
2018
|
-
};
|
|
2019
|
-
export type CreatePaymentUserRequestUserTypeEnum = (typeof CreatePaymentUserRequestUserTypeEnum)[keyof typeof CreatePaymentUserRequestUserTypeEnum];
|
|
2020
2023
|
/**
|
|
2021
2024
|
*
|
|
2022
2025
|
* @export
|
|
@@ -2263,11 +2266,11 @@ export interface DisputeResponse {
|
|
|
2263
2266
|
*/
|
|
2264
2267
|
is_defendable?: boolean | null;
|
|
2265
2268
|
/**
|
|
2266
|
-
*
|
|
2267
|
-
* @type {
|
|
2269
|
+
*
|
|
2270
|
+
* @type {DisputeStatus}
|
|
2268
2271
|
* @memberof DisputeResponse
|
|
2269
2272
|
*/
|
|
2270
|
-
dispute_status?:
|
|
2273
|
+
dispute_status?: DisputeStatus;
|
|
2271
2274
|
/**
|
|
2272
2275
|
* The status of the dispute at the payment processor
|
|
2273
2276
|
* @type {string}
|
|
@@ -2307,16 +2310,6 @@ export interface DisputeResponse {
|
|
|
2307
2310
|
*/
|
|
2308
2311
|
updated_at?: string;
|
|
2309
2312
|
}
|
|
2310
|
-
export declare const DisputeResponseDisputeStatusEnum: {
|
|
2311
|
-
readonly Unknown: "UNKNOWN";
|
|
2312
|
-
readonly Undefended: "UNDEFENDED";
|
|
2313
|
-
readonly ActionRequired: "ACTION_REQUIRED";
|
|
2314
|
-
readonly Processing: "PROCESSING";
|
|
2315
|
-
readonly Accepted: "ACCEPTED";
|
|
2316
|
-
readonly Lost: "LOST";
|
|
2317
|
-
readonly Won: "WON";
|
|
2318
|
-
};
|
|
2319
|
-
export type DisputeResponseDisputeStatusEnum = (typeof DisputeResponseDisputeStatusEnum)[keyof typeof DisputeResponseDisputeStatusEnum];
|
|
2320
2313
|
/**
|
|
2321
2314
|
*
|
|
2322
2315
|
* @export
|
|
@@ -2330,6 +2323,21 @@ export interface DisputeResponseCardDetails {
|
|
|
2330
2323
|
*/
|
|
2331
2324
|
brand?: string;
|
|
2332
2325
|
}
|
|
2326
|
+
/**
|
|
2327
|
+
* The status of the dispute
|
|
2328
|
+
* @export
|
|
2329
|
+
* @enum {string}
|
|
2330
|
+
*/
|
|
2331
|
+
export declare const DisputeStatus: {
|
|
2332
|
+
readonly Unknown: "UNKNOWN";
|
|
2333
|
+
readonly Undefended: "UNDEFENDED";
|
|
2334
|
+
readonly ActionRequired: "ACTION_REQUIRED";
|
|
2335
|
+
readonly Processing: "PROCESSING";
|
|
2336
|
+
readonly Accepted: "ACCEPTED";
|
|
2337
|
+
readonly Lost: "LOST";
|
|
2338
|
+
readonly Won: "WON";
|
|
2339
|
+
};
|
|
2340
|
+
export type DisputeStatus = (typeof DisputeStatus)[keyof typeof DisputeStatus];
|
|
2333
2341
|
/**
|
|
2334
2342
|
*
|
|
2335
2343
|
* @export
|
|
@@ -2525,10 +2533,10 @@ export interface FVBill {
|
|
|
2525
2533
|
};
|
|
2526
2534
|
/**
|
|
2527
2535
|
*
|
|
2528
|
-
* @type {
|
|
2536
|
+
* @type {BillStatus}
|
|
2529
2537
|
* @memberof FVBill
|
|
2530
2538
|
*/
|
|
2531
|
-
status:
|
|
2539
|
+
status: BillStatus;
|
|
2532
2540
|
/**
|
|
2533
2541
|
*
|
|
2534
2542
|
* @type {string}
|
|
@@ -2560,14 +2568,6 @@ export interface FVBill {
|
|
|
2560
2568
|
*/
|
|
2561
2569
|
is_finverse_autopay_eligible: boolean;
|
|
2562
2570
|
}
|
|
2563
|
-
export declare const FVBillStatusEnum: {
|
|
2564
|
-
readonly Unknown: "UNKNOWN";
|
|
2565
|
-
readonly Unpaid: "UNPAID";
|
|
2566
|
-
readonly Paid: "PAID";
|
|
2567
|
-
readonly Cancelled: "CANCELLED";
|
|
2568
|
-
readonly Failed: "FAILED";
|
|
2569
|
-
};
|
|
2570
|
-
export type FVBillStatusEnum = (typeof FVBillStatusEnum)[keyof typeof FVBillStatusEnum];
|
|
2571
2571
|
/**
|
|
2572
2572
|
*
|
|
2573
2573
|
* @export
|
|
@@ -2672,11 +2672,11 @@ export interface FVCardDetails {
|
|
|
2672
2672
|
*/
|
|
2673
2673
|
fingerprint?: string;
|
|
2674
2674
|
/**
|
|
2675
|
-
*
|
|
2676
|
-
* @type {
|
|
2675
|
+
*
|
|
2676
|
+
* @type {CardFundingType}
|
|
2677
2677
|
* @memberof FVCardDetails
|
|
2678
2678
|
*/
|
|
2679
|
-
funding?:
|
|
2679
|
+
funding?: CardFundingType;
|
|
2680
2680
|
/**
|
|
2681
2681
|
*
|
|
2682
2682
|
* @type {string}
|
|
@@ -2720,13 +2720,6 @@ export interface FVCardDetails {
|
|
|
2720
2720
|
*/
|
|
2721
2721
|
is_commercial?: boolean | null;
|
|
2722
2722
|
}
|
|
2723
|
-
export declare const FVCardDetailsFundingEnum: {
|
|
2724
|
-
readonly Unknown: "UNKNOWN";
|
|
2725
|
-
readonly Credit: "CREDIT";
|
|
2726
|
-
readonly Debit: "DEBIT";
|
|
2727
|
-
readonly Prepaid: "PREPAID";
|
|
2728
|
-
};
|
|
2729
|
-
export type FVCardDetailsFundingEnum = (typeof FVCardDetailsFundingEnum)[keyof typeof FVCardDetailsFundingEnum];
|
|
2730
2723
|
/**
|
|
2731
2724
|
*
|
|
2732
2725
|
* @export
|
|
@@ -2809,10 +2802,10 @@ export interface Fee {
|
|
|
2809
2802
|
currency?: string;
|
|
2810
2803
|
/**
|
|
2811
2804
|
*
|
|
2812
|
-
* @type {
|
|
2805
|
+
* @type {FeePaidBy}
|
|
2813
2806
|
* @memberof Fee
|
|
2814
2807
|
*/
|
|
2815
|
-
paid_by?:
|
|
2808
|
+
paid_by?: FeePaidBy;
|
|
2816
2809
|
/**
|
|
2817
2810
|
* The payment account Id
|
|
2818
2811
|
* @type {string}
|
|
@@ -2820,11 +2813,26 @@ export interface Fee {
|
|
|
2820
2813
|
*/
|
|
2821
2814
|
paid_by_account_id?: string;
|
|
2822
2815
|
}
|
|
2823
|
-
|
|
2816
|
+
/**
|
|
2817
|
+
* Who pays the fee
|
|
2818
|
+
* @export
|
|
2819
|
+
* @enum {string}
|
|
2820
|
+
*/
|
|
2821
|
+
export declare const FeePaidBy: {
|
|
2824
2822
|
readonly Recipient: "RECIPIENT";
|
|
2825
2823
|
readonly Sender: "SENDER";
|
|
2826
2824
|
};
|
|
2827
|
-
export type
|
|
2825
|
+
export type FeePaidBy = (typeof FeePaidBy)[keyof typeof FeePaidBy];
|
|
2826
|
+
/**
|
|
2827
|
+
* The error type
|
|
2828
|
+
* @export
|
|
2829
|
+
* @enum {string}
|
|
2830
|
+
*/
|
|
2831
|
+
export declare const FinverseErrorCategory: {
|
|
2832
|
+
readonly LinkError: "LINK_ERROR";
|
|
2833
|
+
readonly ApiError: "API_ERROR";
|
|
2834
|
+
};
|
|
2835
|
+
export type FinverseErrorCategory = (typeof FinverseErrorCategory)[keyof typeof FinverseErrorCategory];
|
|
2828
2836
|
/**
|
|
2829
2837
|
*
|
|
2830
2838
|
* @export
|
|
@@ -2863,6 +2871,16 @@ export interface FrontendFvErrorModel {
|
|
|
2863
2871
|
*/
|
|
2864
2872
|
display_details: string;
|
|
2865
2873
|
}
|
|
2874
|
+
/**
|
|
2875
|
+
* The type of future_payments that customer want to use. Possible values: AUTOPAY or CLICK_TO_PAY
|
|
2876
|
+
* @export
|
|
2877
|
+
* @enum {string}
|
|
2878
|
+
*/
|
|
2879
|
+
export declare const FuturePaymentsMode: {
|
|
2880
|
+
readonly Autopay: "AUTOPAY";
|
|
2881
|
+
readonly ClickToPay: "CLICK_TO_PAY";
|
|
2882
|
+
};
|
|
2883
|
+
export type FuturePaymentsMode = (typeof FuturePaymentsMode)[keyof typeof FuturePaymentsMode];
|
|
2866
2884
|
/**
|
|
2867
2885
|
*
|
|
2868
2886
|
* @export
|
|
@@ -2870,11 +2888,11 @@ export interface FrontendFvErrorModel {
|
|
|
2870
2888
|
*/
|
|
2871
2889
|
export interface FvEmbeddedErrorModel {
|
|
2872
2890
|
/**
|
|
2873
|
-
*
|
|
2874
|
-
* @type {
|
|
2891
|
+
*
|
|
2892
|
+
* @type {FinverseErrorCategory}
|
|
2875
2893
|
* @memberof FvEmbeddedErrorModel
|
|
2876
2894
|
*/
|
|
2877
|
-
type:
|
|
2895
|
+
type: FinverseErrorCategory;
|
|
2878
2896
|
/**
|
|
2879
2897
|
*
|
|
2880
2898
|
* @type {string}
|
|
@@ -2894,11 +2912,6 @@ export interface FvEmbeddedErrorModel {
|
|
|
2894
2912
|
*/
|
|
2895
2913
|
details: string;
|
|
2896
2914
|
}
|
|
2897
|
-
export declare const FvEmbeddedErrorModelTypeEnum: {
|
|
2898
|
-
readonly LinkError: "LINK_ERROR";
|
|
2899
|
-
readonly ApiError: "API_ERROR";
|
|
2900
|
-
};
|
|
2901
|
-
export type FvEmbeddedErrorModelTypeEnum = (typeof FvEmbeddedErrorModelTypeEnum)[keyof typeof FvEmbeddedErrorModelTypeEnum];
|
|
2902
2915
|
/**
|
|
2903
2916
|
*
|
|
2904
2917
|
* @export
|
|
@@ -2906,11 +2919,11 @@ export type FvEmbeddedErrorModelTypeEnum = (typeof FvEmbeddedErrorModelTypeEnum)
|
|
|
2906
2919
|
*/
|
|
2907
2920
|
export interface FvErrorModel {
|
|
2908
2921
|
/**
|
|
2909
|
-
*
|
|
2910
|
-
* @type {
|
|
2922
|
+
*
|
|
2923
|
+
* @type {FinverseErrorCategory}
|
|
2911
2924
|
* @memberof FvErrorModel
|
|
2912
2925
|
*/
|
|
2913
|
-
type:
|
|
2926
|
+
type: FinverseErrorCategory;
|
|
2914
2927
|
/**
|
|
2915
2928
|
*
|
|
2916
2929
|
* @type {string}
|
|
@@ -2942,11 +2955,6 @@ export interface FvErrorModel {
|
|
|
2942
2955
|
*/
|
|
2943
2956
|
request_id: string;
|
|
2944
2957
|
}
|
|
2945
|
-
export declare const FvErrorModelTypeEnum: {
|
|
2946
|
-
readonly LinkError: "LINK_ERROR";
|
|
2947
|
-
readonly ApiError: "API_ERROR";
|
|
2948
|
-
};
|
|
2949
|
-
export type FvErrorModelTypeEnum = (typeof FvErrorModelTypeEnum)[keyof typeof FvErrorModelTypeEnum];
|
|
2950
2958
|
/**
|
|
2951
2959
|
*
|
|
2952
2960
|
* @export
|
|
@@ -2954,11 +2962,11 @@ export type FvErrorModelTypeEnum = (typeof FvErrorModelTypeEnum)[keyof typeof Fv
|
|
|
2954
2962
|
*/
|
|
2955
2963
|
export interface FvErrorModelV2 {
|
|
2956
2964
|
/**
|
|
2957
|
-
*
|
|
2958
|
-
* @type {
|
|
2965
|
+
*
|
|
2966
|
+
* @type {FinverseErrorCategory}
|
|
2959
2967
|
* @memberof FvErrorModelV2
|
|
2960
2968
|
*/
|
|
2961
|
-
type:
|
|
2969
|
+
type: FinverseErrorCategory;
|
|
2962
2970
|
/**
|
|
2963
2971
|
*
|
|
2964
2972
|
* @type {string}
|
|
@@ -2984,11 +2992,6 @@ export interface FvErrorModelV2 {
|
|
|
2984
2992
|
*/
|
|
2985
2993
|
request_id: string;
|
|
2986
2994
|
}
|
|
2987
|
-
export declare const FvErrorModelV2TypeEnum: {
|
|
2988
|
-
readonly LinkError: "LINK_ERROR";
|
|
2989
|
-
readonly ApiError: "API_ERROR";
|
|
2990
|
-
};
|
|
2991
|
-
export type FvErrorModelV2TypeEnum = (typeof FvErrorModelV2TypeEnum)[keyof typeof FvErrorModelV2TypeEnum];
|
|
2992
2995
|
/**
|
|
2993
2996
|
*
|
|
2994
2997
|
* @export
|
|
@@ -3188,10 +3191,10 @@ export interface GetBillResponse {
|
|
|
3188
3191
|
};
|
|
3189
3192
|
/**
|
|
3190
3193
|
*
|
|
3191
|
-
* @type {
|
|
3194
|
+
* @type {BillStatus}
|
|
3192
3195
|
* @memberof GetBillResponse
|
|
3193
3196
|
*/
|
|
3194
|
-
status:
|
|
3197
|
+
status: BillStatus;
|
|
3195
3198
|
/**
|
|
3196
3199
|
*
|
|
3197
3200
|
* @type {string}
|
|
@@ -3229,14 +3232,6 @@ export interface GetBillResponse {
|
|
|
3229
3232
|
*/
|
|
3230
3233
|
payments: Array<PaymentResponse>;
|
|
3231
3234
|
}
|
|
3232
|
-
export declare const GetBillResponseStatusEnum: {
|
|
3233
|
-
readonly Unknown: "UNKNOWN";
|
|
3234
|
-
readonly Unpaid: "UNPAID";
|
|
3235
|
-
readonly Paid: "PAID";
|
|
3236
|
-
readonly Cancelled: "CANCELLED";
|
|
3237
|
-
readonly Failed: "FAILED";
|
|
3238
|
-
};
|
|
3239
|
-
export type GetBillResponseStatusEnum = (typeof GetBillResponseStatusEnum)[keyof typeof GetBillResponseStatusEnum];
|
|
3240
3235
|
/**
|
|
3241
3236
|
*
|
|
3242
3237
|
* @export
|
|
@@ -3411,11 +3406,11 @@ export interface GetMandateAuthResponse {
|
|
|
3411
3406
|
*/
|
|
3412
3407
|
institution_id: string;
|
|
3413
3408
|
/**
|
|
3414
|
-
*
|
|
3415
|
-
* @type {
|
|
3409
|
+
*
|
|
3410
|
+
* @type {PaymentUserType}
|
|
3416
3411
|
* @memberof GetMandateAuthResponse
|
|
3417
3412
|
*/
|
|
3418
|
-
sender_type?:
|
|
3413
|
+
sender_type?: PaymentUserType;
|
|
3419
3414
|
/**
|
|
3420
3415
|
* Checklist of the authorization factors needed to complete Mandate authorization
|
|
3421
3416
|
* @type {Array<AuthChecklistFactor>}
|
|
@@ -3460,11 +3455,6 @@ export declare const GetMandateAuthResponseMandateStatusEnum: {
|
|
|
3460
3455
|
readonly Error: "ERROR";
|
|
3461
3456
|
};
|
|
3462
3457
|
export type GetMandateAuthResponseMandateStatusEnum = (typeof GetMandateAuthResponseMandateStatusEnum)[keyof typeof GetMandateAuthResponseMandateStatusEnum];
|
|
3463
|
-
export declare const GetMandateAuthResponseSenderTypeEnum: {
|
|
3464
|
-
readonly Individual: "INDIVIDUAL";
|
|
3465
|
-
readonly Business: "BUSINESS";
|
|
3466
|
-
};
|
|
3467
|
-
export type GetMandateAuthResponseSenderTypeEnum = (typeof GetMandateAuthResponseSenderTypeEnum)[keyof typeof GetMandateAuthResponseSenderTypeEnum];
|
|
3468
3458
|
/**
|
|
3469
3459
|
*
|
|
3470
3460
|
* @export
|
|
@@ -3577,11 +3567,11 @@ export interface GetMandateSender {
|
|
|
3577
3567
|
*/
|
|
3578
3568
|
external_user_id: string;
|
|
3579
3569
|
/**
|
|
3580
|
-
*
|
|
3581
|
-
* @type {
|
|
3570
|
+
*
|
|
3571
|
+
* @type {PaymentUserType}
|
|
3582
3572
|
* @memberof GetMandateSender
|
|
3583
3573
|
*/
|
|
3584
|
-
user_type:
|
|
3574
|
+
user_type: PaymentUserType;
|
|
3585
3575
|
/**
|
|
3586
3576
|
* Sender details which will be used for fraud checking.
|
|
3587
3577
|
* @type {Array<SenderDetail>}
|
|
@@ -3589,11 +3579,6 @@ export interface GetMandateSender {
|
|
|
3589
3579
|
*/
|
|
3590
3580
|
user_details?: Array<SenderDetail>;
|
|
3591
3581
|
}
|
|
3592
|
-
export declare const GetMandateSenderUserTypeEnum: {
|
|
3593
|
-
readonly Individual: "INDIVIDUAL";
|
|
3594
|
-
readonly Business: "BUSINESS";
|
|
3595
|
-
};
|
|
3596
|
-
export type GetMandateSenderUserTypeEnum = (typeof GetMandateSenderUserTypeEnum)[keyof typeof GetMandateSenderUserTypeEnum];
|
|
3597
3582
|
/**
|
|
3598
3583
|
*
|
|
3599
3584
|
* @export
|
|
@@ -5838,11 +5823,11 @@ export interface MandateRecipientAccount {
|
|
|
5838
5823
|
*/
|
|
5839
5824
|
account_id: string;
|
|
5840
5825
|
/**
|
|
5841
|
-
*
|
|
5842
|
-
* @type {
|
|
5826
|
+
*
|
|
5827
|
+
* @type {PaymentAccountType}
|
|
5843
5828
|
* @memberof MandateRecipientAccount
|
|
5844
5829
|
*/
|
|
5845
|
-
account_type:
|
|
5830
|
+
account_type: PaymentAccountType;
|
|
5846
5831
|
/**
|
|
5847
5832
|
* Optional reference identifier for the settlement account. Only applicable to settlement accounts.
|
|
5848
5833
|
* @type {string}
|
|
@@ -5850,11 +5835,6 @@ export interface MandateRecipientAccount {
|
|
|
5850
5835
|
*/
|
|
5851
5836
|
settlement_account_reference?: string;
|
|
5852
5837
|
}
|
|
5853
|
-
export declare const MandateRecipientAccountAccountTypeEnum: {
|
|
5854
|
-
readonly ExternalAccount: "EXTERNAL_ACCOUNT";
|
|
5855
|
-
readonly SettlementAccount: "SETTLEMENT_ACCOUNT";
|
|
5856
|
-
};
|
|
5857
|
-
export type MandateRecipientAccountAccountTypeEnum = (typeof MandateRecipientAccountAccountTypeEnum)[keyof typeof MandateRecipientAccountAccountTypeEnum];
|
|
5858
5838
|
/**
|
|
5859
5839
|
*
|
|
5860
5840
|
* @export
|
|
@@ -5905,11 +5885,11 @@ export interface MandateSenderAccount {
|
|
|
5905
5885
|
*/
|
|
5906
5886
|
account_number_masked?: string;
|
|
5907
5887
|
/**
|
|
5908
|
-
*
|
|
5909
|
-
* @type {
|
|
5888
|
+
*
|
|
5889
|
+
* @type {PaymentAccountType}
|
|
5910
5890
|
* @memberof MandateSenderAccount
|
|
5911
5891
|
*/
|
|
5912
|
-
account_type?:
|
|
5892
|
+
account_type?: PaymentAccountType;
|
|
5913
5893
|
/**
|
|
5914
5894
|
* Finverse Institution ID for the sender’s institution.
|
|
5915
5895
|
* @type {string}
|
|
@@ -5943,10 +5923,6 @@ export interface MandateSenderAccount {
|
|
|
5943
5923
|
[key: string]: string;
|
|
5944
5924
|
};
|
|
5945
5925
|
}
|
|
5946
|
-
export declare const MandateSenderAccountAccountTypeEnum: {
|
|
5947
|
-
readonly ExternalAccount: "EXTERNAL_ACCOUNT";
|
|
5948
|
-
};
|
|
5949
|
-
export type MandateSenderAccountAccountTypeEnum = (typeof MandateSenderAccountAccountTypeEnum)[keyof typeof MandateSenderAccountAccountTypeEnum];
|
|
5950
5926
|
/**
|
|
5951
5927
|
*
|
|
5952
5928
|
* @export
|
|
@@ -6148,11 +6124,11 @@ export interface PaymentAccountDetails {
|
|
|
6148
6124
|
*/
|
|
6149
6125
|
account_number_masked?: string;
|
|
6150
6126
|
/**
|
|
6151
|
-
*
|
|
6152
|
-
* @type {
|
|
6127
|
+
*
|
|
6128
|
+
* @type {PaymentAccountType}
|
|
6153
6129
|
* @memberof PaymentAccountDetails
|
|
6154
6130
|
*/
|
|
6155
|
-
account_type?:
|
|
6131
|
+
account_type?: PaymentAccountType;
|
|
6156
6132
|
/**
|
|
6157
6133
|
* Accountholder name of the payment account
|
|
6158
6134
|
* @type {string}
|
|
@@ -6240,11 +6216,6 @@ export interface PaymentAccountDetails {
|
|
|
6240
6216
|
*/
|
|
6241
6217
|
updated_at?: string;
|
|
6242
6218
|
}
|
|
6243
|
-
export declare const PaymentAccountDetailsAccountTypeEnum: {
|
|
6244
|
-
readonly ExternalAccount: "EXTERNAL_ACCOUNT";
|
|
6245
|
-
readonly SettlementAccount: "SETTLEMENT_ACCOUNT";
|
|
6246
|
-
};
|
|
6247
|
-
export type PaymentAccountDetailsAccountTypeEnum = (typeof PaymentAccountDetailsAccountTypeEnum)[keyof typeof PaymentAccountDetailsAccountTypeEnum];
|
|
6248
6219
|
/**
|
|
6249
6220
|
*
|
|
6250
6221
|
* @export
|
|
@@ -6270,11 +6241,11 @@ export interface PaymentAccountDetailsWithEnrichedData {
|
|
|
6270
6241
|
*/
|
|
6271
6242
|
account_number_masked?: string;
|
|
6272
6243
|
/**
|
|
6273
|
-
*
|
|
6274
|
-
* @type {
|
|
6244
|
+
*
|
|
6245
|
+
* @type {PaymentAccountType}
|
|
6275
6246
|
* @memberof PaymentAccountDetailsWithEnrichedData
|
|
6276
6247
|
*/
|
|
6277
|
-
account_type?:
|
|
6248
|
+
account_type?: PaymentAccountType;
|
|
6278
6249
|
/**
|
|
6279
6250
|
* Accountholder name of the payment account
|
|
6280
6251
|
* @type {string}
|
|
@@ -6368,11 +6339,16 @@ export interface PaymentAccountDetailsWithEnrichedData {
|
|
|
6368
6339
|
*/
|
|
6369
6340
|
payment_method_overview?: PaymentMethodOverview;
|
|
6370
6341
|
}
|
|
6371
|
-
|
|
6342
|
+
/**
|
|
6343
|
+
* Type of payment account
|
|
6344
|
+
* @export
|
|
6345
|
+
* @enum {string}
|
|
6346
|
+
*/
|
|
6347
|
+
export declare const PaymentAccountType: {
|
|
6372
6348
|
readonly ExternalAccount: "EXTERNAL_ACCOUNT";
|
|
6373
6349
|
readonly SettlementAccount: "SETTLEMENT_ACCOUNT";
|
|
6374
6350
|
};
|
|
6375
|
-
export type
|
|
6351
|
+
export type PaymentAccountType = (typeof PaymentAccountType)[keyof typeof PaymentAccountType];
|
|
6376
6352
|
/**
|
|
6377
6353
|
*
|
|
6378
6354
|
* @export
|
|
@@ -6689,6 +6665,16 @@ export interface PaymentLinkDetails {
|
|
|
6689
6665
|
*/
|
|
6690
6666
|
external_transaction_reference: string;
|
|
6691
6667
|
}
|
|
6668
|
+
/**
|
|
6669
|
+
* The payment link mode
|
|
6670
|
+
* @export
|
|
6671
|
+
* @enum {string}
|
|
6672
|
+
*/
|
|
6673
|
+
export declare const PaymentLinkMode: {
|
|
6674
|
+
readonly Payment: "PAYMENT";
|
|
6675
|
+
readonly Setup: "SETUP";
|
|
6676
|
+
};
|
|
6677
|
+
export type PaymentLinkMode = (typeof PaymentLinkMode)[keyof typeof PaymentLinkMode];
|
|
6692
6678
|
/**
|
|
6693
6679
|
*
|
|
6694
6680
|
* @export
|
|
@@ -6720,11 +6706,11 @@ export interface PaymentLinkResponse {
|
|
|
6720
6706
|
*/
|
|
6721
6707
|
link_customizations?: PaymentLinkCustomizations;
|
|
6722
6708
|
/**
|
|
6723
|
-
*
|
|
6724
|
-
* @type {
|
|
6709
|
+
*
|
|
6710
|
+
* @type {PaymentLinkMode}
|
|
6725
6711
|
* @memberof PaymentLinkResponse
|
|
6726
6712
|
*/
|
|
6727
|
-
mode?:
|
|
6713
|
+
mode?: PaymentLinkMode;
|
|
6728
6714
|
/**
|
|
6729
6715
|
*
|
|
6730
6716
|
* @type {PaymentLinkDetails}
|
|
@@ -6766,17 +6752,17 @@ export interface PaymentLinkResponse {
|
|
|
6766
6752
|
*/
|
|
6767
6753
|
url?: string;
|
|
6768
6754
|
/**
|
|
6769
|
-
*
|
|
6770
|
-
* @type {
|
|
6755
|
+
*
|
|
6756
|
+
* @type {PaymentLinkStatus}
|
|
6771
6757
|
* @memberof PaymentLinkResponse
|
|
6772
6758
|
*/
|
|
6773
|
-
status?:
|
|
6759
|
+
status?: PaymentLinkStatus;
|
|
6774
6760
|
/**
|
|
6775
|
-
*
|
|
6776
|
-
* @type {
|
|
6761
|
+
*
|
|
6762
|
+
* @type {PaymentLinkSessionStatus}
|
|
6777
6763
|
* @memberof PaymentLinkResponse
|
|
6778
6764
|
*/
|
|
6779
|
-
session_status?:
|
|
6765
|
+
session_status?: PaymentLinkSessionStatus;
|
|
6780
6766
|
/**
|
|
6781
6767
|
* Timestamp of when the payment link was created in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
|
|
6782
6768
|
* @type {string}
|
|
@@ -6814,23 +6800,6 @@ export interface PaymentLinkResponse {
|
|
|
6814
6800
|
*/
|
|
6815
6801
|
integration_metadata?: IntegrationMetadataResponse;
|
|
6816
6802
|
}
|
|
6817
|
-
export declare const PaymentLinkResponseModeEnum: {
|
|
6818
|
-
readonly Payment: "PAYMENT";
|
|
6819
|
-
};
|
|
6820
|
-
export type PaymentLinkResponseModeEnum = (typeof PaymentLinkResponseModeEnum)[keyof typeof PaymentLinkResponseModeEnum];
|
|
6821
|
-
export declare const PaymentLinkResponseStatusEnum: {
|
|
6822
|
-
readonly Created: "CREATED";
|
|
6823
|
-
readonly Paid: "PAID";
|
|
6824
|
-
readonly Expired: "EXPIRED";
|
|
6825
|
-
};
|
|
6826
|
-
export type PaymentLinkResponseStatusEnum = (typeof PaymentLinkResponseStatusEnum)[keyof typeof PaymentLinkResponseStatusEnum];
|
|
6827
|
-
export declare const PaymentLinkResponseSessionStatusEnum: {
|
|
6828
|
-
readonly Open: "OPEN";
|
|
6829
|
-
readonly Processing: "PROCESSING";
|
|
6830
|
-
readonly Complete: "COMPLETE";
|
|
6831
|
-
readonly Failed: "FAILED";
|
|
6832
|
-
};
|
|
6833
|
-
export type PaymentLinkResponseSessionStatusEnum = (typeof PaymentLinkResponseSessionStatusEnum)[keyof typeof PaymentLinkResponseSessionStatusEnum];
|
|
6834
6803
|
/**
|
|
6835
6804
|
*
|
|
6836
6805
|
* @export
|
|
@@ -6887,6 +6856,29 @@ export interface PaymentLinkSenderResponse {
|
|
|
6887
6856
|
*/
|
|
6888
6857
|
user_id?: string;
|
|
6889
6858
|
}
|
|
6859
|
+
/**
|
|
6860
|
+
* The session status of payment link
|
|
6861
|
+
* @export
|
|
6862
|
+
* @enum {string}
|
|
6863
|
+
*/
|
|
6864
|
+
export declare const PaymentLinkSessionStatus: {
|
|
6865
|
+
readonly Open: "OPEN";
|
|
6866
|
+
readonly Processing: "PROCESSING";
|
|
6867
|
+
readonly Complete: "COMPLETE";
|
|
6868
|
+
readonly Failed: "FAILED";
|
|
6869
|
+
};
|
|
6870
|
+
export type PaymentLinkSessionStatus = (typeof PaymentLinkSessionStatus)[keyof typeof PaymentLinkSessionStatus];
|
|
6871
|
+
/**
|
|
6872
|
+
* The status of payment link
|
|
6873
|
+
* @export
|
|
6874
|
+
* @enum {string}
|
|
6875
|
+
*/
|
|
6876
|
+
export declare const PaymentLinkStatus: {
|
|
6877
|
+
readonly Created: "CREATED";
|
|
6878
|
+
readonly Paid: "PAID";
|
|
6879
|
+
readonly Expired: "EXPIRED";
|
|
6880
|
+
};
|
|
6881
|
+
export type PaymentLinkStatus = (typeof PaymentLinkStatus)[keyof typeof PaymentLinkStatus];
|
|
6890
6882
|
/**
|
|
6891
6883
|
*
|
|
6892
6884
|
* @export
|
|
@@ -7692,11 +7684,11 @@ export type PaymentScheduleFrequencyEnum = (typeof PaymentScheduleFrequencyEnum)
|
|
|
7692
7684
|
*/
|
|
7693
7685
|
export interface PaymentSetupOptions {
|
|
7694
7686
|
/**
|
|
7695
|
-
*
|
|
7696
|
-
* @type {
|
|
7687
|
+
*
|
|
7688
|
+
* @type {FuturePaymentsMode}
|
|
7697
7689
|
* @memberof PaymentSetupOptions
|
|
7698
7690
|
*/
|
|
7699
|
-
future_payments?:
|
|
7691
|
+
future_payments?: FuturePaymentsMode;
|
|
7700
7692
|
/**
|
|
7701
7693
|
*
|
|
7702
7694
|
* @type {MandateDetailsForPaymentLink}
|
|
@@ -7728,11 +7720,6 @@ export interface PaymentSetupOptions {
|
|
|
7728
7720
|
*/
|
|
7729
7721
|
recurring_payment_mode?: string;
|
|
7730
7722
|
}
|
|
7731
|
-
export declare const PaymentSetupOptionsFuturePaymentsEnum: {
|
|
7732
|
-
readonly Autopay: "AUTOPAY";
|
|
7733
|
-
readonly ClickToPay: "CLICK_TO_PAY";
|
|
7734
|
-
};
|
|
7735
|
-
export type PaymentSetupOptionsFuturePaymentsEnum = (typeof PaymentSetupOptionsFuturePaymentsEnum)[keyof typeof PaymentSetupOptionsFuturePaymentsEnum];
|
|
7736
7723
|
/**
|
|
7737
7724
|
*
|
|
7738
7725
|
* @export
|
|
@@ -7740,11 +7727,11 @@ export type PaymentSetupOptionsFuturePaymentsEnum = (typeof PaymentSetupOptionsF
|
|
|
7740
7727
|
*/
|
|
7741
7728
|
export interface PaymentSetupOptionsRequest {
|
|
7742
7729
|
/**
|
|
7743
|
-
*
|
|
7744
|
-
* @type {
|
|
7730
|
+
*
|
|
7731
|
+
* @type {FuturePaymentsMode}
|
|
7745
7732
|
* @memberof PaymentSetupOptionsRequest
|
|
7746
7733
|
*/
|
|
7747
|
-
future_payments?:
|
|
7734
|
+
future_payments?: FuturePaymentsMode;
|
|
7748
7735
|
/**
|
|
7749
7736
|
*
|
|
7750
7737
|
* @type {MandateDetailsForPaymentLinkRequest}
|
|
@@ -7776,11 +7763,6 @@ export interface PaymentSetupOptionsRequest {
|
|
|
7776
7763
|
*/
|
|
7777
7764
|
recurring_payment_mode?: string;
|
|
7778
7765
|
}
|
|
7779
|
-
export declare const PaymentSetupOptionsRequestFuturePaymentsEnum: {
|
|
7780
|
-
readonly Autopay: "AUTOPAY";
|
|
7781
|
-
readonly ClickToPay: "CLICK_TO_PAY";
|
|
7782
|
-
};
|
|
7783
|
-
export type PaymentSetupOptionsRequestFuturePaymentsEnum = (typeof PaymentSetupOptionsRequestFuturePaymentsEnum)[keyof typeof PaymentSetupOptionsRequestFuturePaymentsEnum];
|
|
7784
7766
|
/**
|
|
7785
7767
|
*
|
|
7786
7768
|
* @export
|
|
@@ -7951,10 +7933,10 @@ export interface PaymentUser {
|
|
|
7951
7933
|
user_id?: string;
|
|
7952
7934
|
/**
|
|
7953
7935
|
*
|
|
7954
|
-
* @type {
|
|
7936
|
+
* @type {PaymentUserType}
|
|
7955
7937
|
* @memberof PaymentUser
|
|
7956
7938
|
*/
|
|
7957
|
-
user_type?:
|
|
7939
|
+
user_type?: PaymentUserType;
|
|
7958
7940
|
/**
|
|
7959
7941
|
* Whether the user has given consent for autopay
|
|
7960
7942
|
* @type {boolean}
|
|
@@ -7968,11 +7950,16 @@ export interface PaymentUser {
|
|
|
7968
7950
|
*/
|
|
7969
7951
|
integration_metadata?: IntegrationMetadataResponse;
|
|
7970
7952
|
}
|
|
7971
|
-
|
|
7953
|
+
/**
|
|
7954
|
+
* Type of account held by the Sender at the Institution. Possible values are INDIVIDUAL, BUSINESS
|
|
7955
|
+
* @export
|
|
7956
|
+
* @enum {string}
|
|
7957
|
+
*/
|
|
7958
|
+
export declare const PaymentUserType: {
|
|
7972
7959
|
readonly Individual: "INDIVIDUAL";
|
|
7973
7960
|
readonly Business: "BUSINESS";
|
|
7974
7961
|
};
|
|
7975
|
-
export type
|
|
7962
|
+
export type PaymentUserType = (typeof PaymentUserType)[keyof typeof PaymentUserType];
|
|
7976
7963
|
/**
|
|
7977
7964
|
*
|
|
7978
7965
|
* @export
|
|
@@ -8037,10 +8024,10 @@ export interface PaymentUserWithoutEmail {
|
|
|
8037
8024
|
user_id?: string;
|
|
8038
8025
|
/**
|
|
8039
8026
|
*
|
|
8040
|
-
* @type {
|
|
8027
|
+
* @type {PaymentUserType}
|
|
8041
8028
|
* @memberof PaymentUserWithoutEmail
|
|
8042
8029
|
*/
|
|
8043
|
-
user_type?:
|
|
8030
|
+
user_type?: PaymentUserType;
|
|
8044
8031
|
/**
|
|
8045
8032
|
* Whether the user has given consent for autopay
|
|
8046
8033
|
* @type {boolean}
|
|
@@ -8054,11 +8041,6 @@ export interface PaymentUserWithoutEmail {
|
|
|
8054
8041
|
*/
|
|
8055
8042
|
integration_metadata?: IntegrationMetadataResponse;
|
|
8056
8043
|
}
|
|
8057
|
-
export declare const PaymentUserWithoutEmailUserTypeEnum: {
|
|
8058
|
-
readonly Individual: "INDIVIDUAL";
|
|
8059
|
-
readonly Business: "BUSINESS";
|
|
8060
|
-
};
|
|
8061
|
-
export type PaymentUserWithoutEmailUserTypeEnum = (typeof PaymentUserWithoutEmailUserTypeEnum)[keyof typeof PaymentUserWithoutEmailUserTypeEnum];
|
|
8062
8044
|
/**
|
|
8063
8045
|
*
|
|
8064
8046
|
* @export
|
|
@@ -8210,16 +8192,16 @@ export interface PayoutSnapshotResponse {
|
|
|
8210
8192
|
payout_id?: string;
|
|
8211
8193
|
/**
|
|
8212
8194
|
*
|
|
8213
|
-
* @type {
|
|
8195
|
+
* @type {PayoutStatus}
|
|
8214
8196
|
* @memberof PayoutSnapshotResponse
|
|
8215
8197
|
*/
|
|
8216
|
-
status?:
|
|
8198
|
+
status?: PayoutStatus;
|
|
8217
8199
|
/**
|
|
8218
8200
|
*
|
|
8219
|
-
* @type {
|
|
8201
|
+
* @type {PayoutType}
|
|
8220
8202
|
* @memberof PayoutSnapshotResponse
|
|
8221
8203
|
*/
|
|
8222
|
-
type?:
|
|
8204
|
+
type?: PayoutType;
|
|
8223
8205
|
/**
|
|
8224
8206
|
*
|
|
8225
8207
|
* @type {string}
|
|
@@ -8313,7 +8295,12 @@ export interface PayoutSnapshotResponse {
|
|
|
8313
8295
|
*/
|
|
8314
8296
|
error?: FvEmbeddedErrorModel;
|
|
8315
8297
|
}
|
|
8316
|
-
|
|
8298
|
+
/**
|
|
8299
|
+
* Payout status
|
|
8300
|
+
* @export
|
|
8301
|
+
* @enum {string}
|
|
8302
|
+
*/
|
|
8303
|
+
export declare const PayoutStatus: {
|
|
8317
8304
|
readonly Executed: "EXECUTED";
|
|
8318
8305
|
readonly Created: "CREATED";
|
|
8319
8306
|
readonly Processing: "PROCESSING";
|
|
@@ -8323,14 +8310,19 @@ export declare const PayoutSnapshotResponseStatusEnum: {
|
|
|
8323
8310
|
readonly Funded: "FUNDED";
|
|
8324
8311
|
readonly Submitted: "SUBMITTED";
|
|
8325
8312
|
};
|
|
8326
|
-
export type
|
|
8327
|
-
|
|
8313
|
+
export type PayoutStatus = (typeof PayoutStatus)[keyof typeof PayoutStatus];
|
|
8314
|
+
/**
|
|
8315
|
+
* Payout type
|
|
8316
|
+
* @export
|
|
8317
|
+
* @enum {string}
|
|
8318
|
+
*/
|
|
8319
|
+
export declare const PayoutType: {
|
|
8328
8320
|
readonly Manual: "MANUAL";
|
|
8329
8321
|
readonly Scheduled: "SCHEDULED";
|
|
8330
8322
|
readonly Settlement: "SETTLEMENT";
|
|
8331
8323
|
readonly OnDemand: "ON_DEMAND";
|
|
8332
8324
|
};
|
|
8333
|
-
export type
|
|
8325
|
+
export type PayoutType = (typeof PayoutType)[keyof typeof PayoutType];
|
|
8334
8326
|
/**
|
|
8335
8327
|
*
|
|
8336
8328
|
* @export
|
|
@@ -8723,11 +8715,11 @@ export interface RecipientAccountFilters {
|
|
|
8723
8715
|
*/
|
|
8724
8716
|
export interface RecipientAccountNumber {
|
|
8725
8717
|
/**
|
|
8726
|
-
*
|
|
8727
|
-
* @type {
|
|
8718
|
+
*
|
|
8719
|
+
* @type {AccountNumberType}
|
|
8728
8720
|
* @memberof RecipientAccountNumber
|
|
8729
8721
|
*/
|
|
8730
|
-
type:
|
|
8722
|
+
type: AccountNumberType;
|
|
8731
8723
|
/**
|
|
8732
8724
|
* Account number value
|
|
8733
8725
|
* @type {string}
|
|
@@ -8741,11 +8733,6 @@ export interface RecipientAccountNumber {
|
|
|
8741
8733
|
*/
|
|
8742
8734
|
number_plaintext?: string | null;
|
|
8743
8735
|
}
|
|
8744
|
-
export declare const RecipientAccountNumberTypeEnum: {
|
|
8745
|
-
readonly Local: "LOCAL";
|
|
8746
|
-
readonly Iban: "IBAN";
|
|
8747
|
-
};
|
|
8748
|
-
export type RecipientAccountNumberTypeEnum = (typeof RecipientAccountNumberTypeEnum)[keyof typeof RecipientAccountNumberTypeEnum];
|
|
8749
8736
|
/**
|
|
8750
8737
|
*
|
|
8751
8738
|
* @export
|
|
@@ -8771,11 +8758,11 @@ export interface RecipientAccountResponse {
|
|
|
8771
8758
|
*/
|
|
8772
8759
|
account_number?: RecipientAccountNumber;
|
|
8773
8760
|
/**
|
|
8774
|
-
*
|
|
8775
|
-
* @type {
|
|
8761
|
+
*
|
|
8762
|
+
* @type {PaymentAccountType}
|
|
8776
8763
|
* @memberof RecipientAccountResponse
|
|
8777
8764
|
*/
|
|
8778
|
-
account_type?:
|
|
8765
|
+
account_type?: PaymentAccountType;
|
|
8779
8766
|
/**
|
|
8780
8767
|
* List of currencies supported by the recipient account
|
|
8781
8768
|
* @type {Array<string>}
|
|
@@ -8807,11 +8794,6 @@ export interface RecipientAccountResponse {
|
|
|
8807
8794
|
*/
|
|
8808
8795
|
branch_code?: string;
|
|
8809
8796
|
}
|
|
8810
|
-
export declare const RecipientAccountResponseAccountTypeEnum: {
|
|
8811
|
-
readonly ExternalAccount: "EXTERNAL_ACCOUNT";
|
|
8812
|
-
readonly SettlementAccount: "SETTLEMENT_ACCOUNT";
|
|
8813
|
-
};
|
|
8814
|
-
export type RecipientAccountResponseAccountTypeEnum = (typeof RecipientAccountResponseAccountTypeEnum)[keyof typeof RecipientAccountResponseAccountTypeEnum];
|
|
8815
8797
|
/**
|
|
8816
8798
|
*
|
|
8817
8799
|
* @export
|
|
@@ -9035,10 +9017,10 @@ export interface SelectPaymentMethodRequest {
|
|
|
9035
9017
|
payment_method_type: PaymentType;
|
|
9036
9018
|
/**
|
|
9037
9019
|
*
|
|
9038
|
-
* @type {
|
|
9020
|
+
* @type {PaymentUserType}
|
|
9039
9021
|
* @memberof SelectPaymentMethodRequest
|
|
9040
9022
|
*/
|
|
9041
|
-
sender_type?:
|
|
9023
|
+
sender_type?: PaymentUserType;
|
|
9042
9024
|
/**
|
|
9043
9025
|
* Whether the user is on mobile device (only makes a difference if payment_method_provider is KCP)
|
|
9044
9026
|
* @type {boolean}
|
|
@@ -9064,11 +9046,6 @@ export interface SelectPaymentMethodRequest {
|
|
|
9064
9046
|
*/
|
|
9065
9047
|
locale?: string;
|
|
9066
9048
|
}
|
|
9067
|
-
export declare const SelectPaymentMethodRequestSenderTypeEnum: {
|
|
9068
|
-
readonly Individual: "INDIVIDUAL";
|
|
9069
|
-
readonly Business: "BUSINESS";
|
|
9070
|
-
};
|
|
9071
|
-
export type SelectPaymentMethodRequestSenderTypeEnum = (typeof SelectPaymentMethodRequestSenderTypeEnum)[keyof typeof SelectPaymentMethodRequestSenderTypeEnum];
|
|
9072
9049
|
/**
|
|
9073
9050
|
*
|
|
9074
9051
|
* @export
|
|
@@ -9707,16 +9684,11 @@ export interface UpdatePaymentUserRequest {
|
|
|
9707
9684
|
next_bill_update?: string | null;
|
|
9708
9685
|
/**
|
|
9709
9686
|
*
|
|
9710
|
-
* @type {
|
|
9687
|
+
* @type {PaymentUserType}
|
|
9711
9688
|
* @memberof UpdatePaymentUserRequest
|
|
9712
9689
|
*/
|
|
9713
|
-
user_type?:
|
|
9690
|
+
user_type?: PaymentUserType;
|
|
9714
9691
|
}
|
|
9715
|
-
export declare const UpdatePaymentUserRequestUserTypeEnum: {
|
|
9716
|
-
readonly Individual: "INDIVIDUAL";
|
|
9717
|
-
readonly Business: "BUSINESS";
|
|
9718
|
-
};
|
|
9719
|
-
export type UpdatePaymentUserRequestUserTypeEnum = (typeof UpdatePaymentUserRequestUserTypeEnum)[keyof typeof UpdatePaymentUserRequestUserTypeEnum];
|
|
9720
9692
|
/**
|
|
9721
9693
|
*
|
|
9722
9694
|
* @export
|
package/dist/api.js
CHANGED
|
@@ -22,15 +22,24 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.PublicApi = exports.PublicApiFactory =
|
|
25
|
+
exports.PaymentMethodIntegrationMetadataAdyenMetadataRecurringProcessingModelEnum = exports.PaymentMethodIntegrationMetadataIntegrationIdEnum = exports.PaymentLinkTokenResponseTokenTypeEnum = exports.PaymentLinkStatus = exports.PaymentLinkSessionStatus = exports.PaymentLinkMode = exports.PaymentLinkCustomizationsUiModeEnum = exports.PaymentLinkCustomizationsLanguageEnum = exports.PaymentInfoPaymentsSupportedEnum = exports.PaymentAccountType = exports.MandateStatus = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.MandateAuthLinkCustomizationsLanguageEnum = exports.LoginMethodStatusEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestLanguageEnum = exports.LinkTokenRequestUiModeEnum = exports.LineItemItemTypeEnum = exports.KcpVaMetadataVaReceiptGubnEnum = exports.IntegrationMetadataResponseIntegrationIdEnum = exports.IntegrationMetadataRequestIntegrationIdEnum = exports.IntegrationMetadataPaymentUserRequestIntegrationIdEnum = exports.InstitutionStatusEnum = exports.InstitutionUserTypeEnum = exports.InstitutionProductsSupportedEnum = exports.InstitutionInstitutionTypeEnum = exports.InstitutionTagsEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FuturePaymentsMode = exports.FinverseErrorCategory = exports.FeePaidBy = exports.DisputeStatus = exports.CreateRecipientAccountAccountTypeEnum = exports.CreatePaymentAccountRequestAccountTypeEnum = exports.CreateMandateRequestWithDdaReferenceStatusEnum = exports.CreateCardRequestStatusEnum = exports.CompleteKcpPaymentRequestCardPointUseEnum = exports.CardStatus = exports.CardFundingType = exports.BillStatus = exports.AutopayEnrollmentConfigurationEnrollmentPrefillValueEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = exports.AccountTypeSubtypeEnum = exports.AccountTypeTypeEnum = exports.AccountNumberType = void 0;
|
|
26
|
+
exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.ListPayoutsPayoutTypesEnum = exports.ListPayoutsStatusesEnum = exports.ListPaymentsPaymentTypesEnum = exports.ListPaymentsPaymentTypeEnum = exports.ListPaymentsSenderTypeEnum = exports.ListPaymentsStatusesEnum = exports.ListPaymentAccountsWithEnrichedDataAccountTypeEnum = exports.ListMandatesSenderTypeEnum = exports.ListMandatesStatusesEnum = exports.ListDisputesStatusesEnum = exports.ListDetokenizedMandatesSenderTypeEnum = exports.ListDetokenizedMandatesStatusesEnum = exports.ListBillsStatusesEnum = exports.PaymentApi = exports.PaymentApiFactory = exports.PaymentApiFp = exports.PaymentApiAxiosParamCreator = exports.GetBalanceHistorySourceEnum = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.TokenGrantTypeEnum = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.ListInstitutionsInstitutionTypeEnum = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.UpdateTestPaymentStatusRequestStatusEnum = exports.TransactionLimitsResponsePeriodEnum = exports.TransactionLimitsRequestPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SenderDetailDetailsTypeEnum = exports.RefreshLoginIdentityLinkCustomizationsUiModeEnum = exports.RefreshLoginIdentityLinkCustomizationsLanguageEnum = exports.PayoutType = exports.PayoutStatus = exports.PaymentUserType = exports.PaymentType = exports.PaymentStatus = exports.PaymentScheduleFrequencyEnum = exports.PaymentMethodType = exports.PaymentMethodIntegrationMetadataGocardlessMetadataFundsSettlementEnum = exports.PaymentMethodIntegrationMetadataGocardlessMetadataStatusEnum = void 0;
|
|
27
|
+
exports.PublicApi = exports.PublicApiFactory = void 0;
|
|
28
28
|
const axios_1 = require("axios");
|
|
29
29
|
// Some imports not used depending on template conditions
|
|
30
30
|
// @ts-ignore
|
|
31
31
|
const common_1 = require("./common");
|
|
32
32
|
// @ts-ignore
|
|
33
33
|
const base_1 = require("./base");
|
|
34
|
+
/**
|
|
35
|
+
* Type of account number. Possible values: LOCAL, IBAN
|
|
36
|
+
* @export
|
|
37
|
+
* @enum {string}
|
|
38
|
+
*/
|
|
39
|
+
exports.AccountNumberType = {
|
|
40
|
+
Local: 'LOCAL',
|
|
41
|
+
Iban: 'IBAN',
|
|
42
|
+
};
|
|
34
43
|
exports.AccountTypeTypeEnum = {
|
|
35
44
|
Deposit: 'DEPOSIT',
|
|
36
45
|
Card: 'CARD',
|
|
@@ -77,9 +86,28 @@ exports.AutopayEnrollmentConfigurationEnrollmentPrefillValueEnum = {
|
|
|
77
86
|
Yes: 'YES',
|
|
78
87
|
No: 'NO',
|
|
79
88
|
};
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
89
|
+
/**
|
|
90
|
+
* Bill status
|
|
91
|
+
* @export
|
|
92
|
+
* @enum {string}
|
|
93
|
+
*/
|
|
94
|
+
exports.BillStatus = {
|
|
95
|
+
Unknown: 'UNKNOWN',
|
|
96
|
+
Unpaid: 'UNPAID',
|
|
97
|
+
Paid: 'PAID',
|
|
98
|
+
Cancelled: 'CANCELLED',
|
|
99
|
+
Failed: 'FAILED',
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* The funding source of the card
|
|
103
|
+
* @export
|
|
104
|
+
* @enum {string}
|
|
105
|
+
*/
|
|
106
|
+
exports.CardFundingType = {
|
|
107
|
+
Unknown: 'UNKNOWN',
|
|
108
|
+
Credit: 'CREDIT',
|
|
109
|
+
Debit: 'DEBIT',
|
|
110
|
+
Prepaid: 'PREPAID',
|
|
83
111
|
};
|
|
84
112
|
/**
|
|
85
113
|
* Card status
|
|
@@ -100,38 +128,21 @@ exports.CompleteKcpPaymentRequestCardPointUseEnum = {
|
|
|
100
128
|
exports.CreateCardRequestStatusEnum = {
|
|
101
129
|
Succeeded: 'SUCCEEDED',
|
|
102
130
|
};
|
|
103
|
-
exports.CreateCardRequestCardDetailsFundingEnum = {
|
|
104
|
-
Unknown: 'UNKNOWN',
|
|
105
|
-
Credit: 'CREDIT',
|
|
106
|
-
Debit: 'DEBIT',
|
|
107
|
-
Prepaid: 'PREPAID',
|
|
108
|
-
};
|
|
109
131
|
exports.CreateMandateRequestWithDdaReferenceStatusEnum = {
|
|
110
132
|
Succeeded: 'SUCCEEDED',
|
|
111
133
|
};
|
|
112
|
-
exports.CreateMandateSenderUserTypeEnum = {
|
|
113
|
-
Individual: 'INDIVIDUAL',
|
|
114
|
-
Business: 'BUSINESS',
|
|
115
|
-
};
|
|
116
|
-
exports.CreateMandateSenderResponseUserTypeEnum = {
|
|
117
|
-
Individual: 'INDIVIDUAL',
|
|
118
|
-
Business: 'BUSINESS',
|
|
119
|
-
};
|
|
120
134
|
exports.CreatePaymentAccountRequestAccountTypeEnum = {
|
|
121
135
|
ExternalAccount: 'EXTERNAL_ACCOUNT',
|
|
122
136
|
};
|
|
123
|
-
exports.CreatePaymentLinkRequestModeEnum = {
|
|
124
|
-
Payment: 'PAYMENT',
|
|
125
|
-
Setup: 'SETUP',
|
|
126
|
-
};
|
|
127
|
-
exports.CreatePaymentUserRequestUserTypeEnum = {
|
|
128
|
-
Individual: 'INDIVIDUAL',
|
|
129
|
-
Business: 'BUSINESS',
|
|
130
|
-
};
|
|
131
137
|
exports.CreateRecipientAccountAccountTypeEnum = {
|
|
132
138
|
ExternalAccount: 'EXTERNAL_ACCOUNT',
|
|
133
139
|
};
|
|
134
|
-
|
|
140
|
+
/**
|
|
141
|
+
* The status of the dispute
|
|
142
|
+
* @export
|
|
143
|
+
* @enum {string}
|
|
144
|
+
*/
|
|
145
|
+
exports.DisputeStatus = {
|
|
135
146
|
Unknown: 'UNKNOWN',
|
|
136
147
|
Undefended: 'UNDEFENDED',
|
|
137
148
|
ActionRequired: 'ACTION_REQUIRED',
|
|
@@ -140,46 +151,37 @@ exports.DisputeResponseDisputeStatusEnum = {
|
|
|
140
151
|
Lost: 'LOST',
|
|
141
152
|
Won: 'WON',
|
|
142
153
|
};
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
};
|
|
150
|
-
exports.FVCardDetailsFundingEnum = {
|
|
151
|
-
Unknown: 'UNKNOWN',
|
|
152
|
-
Credit: 'CREDIT',
|
|
153
|
-
Debit: 'DEBIT',
|
|
154
|
-
Prepaid: 'PREPAID',
|
|
155
|
-
};
|
|
156
|
-
exports.FeePaidByEnum = {
|
|
154
|
+
/**
|
|
155
|
+
* Who pays the fee
|
|
156
|
+
* @export
|
|
157
|
+
* @enum {string}
|
|
158
|
+
*/
|
|
159
|
+
exports.FeePaidBy = {
|
|
157
160
|
Recipient: 'RECIPIENT',
|
|
158
161
|
Sender: 'SENDER',
|
|
159
162
|
};
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
}
|
|
164
|
-
|
|
163
|
+
/**
|
|
164
|
+
* The error type
|
|
165
|
+
* @export
|
|
166
|
+
* @enum {string}
|
|
167
|
+
*/
|
|
168
|
+
exports.FinverseErrorCategory = {
|
|
165
169
|
LinkError: 'LINK_ERROR',
|
|
166
170
|
ApiError: 'API_ERROR',
|
|
167
171
|
};
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
172
|
+
/**
|
|
173
|
+
* The type of future_payments that customer want to use. Possible values: AUTOPAY or CLICK_TO_PAY
|
|
174
|
+
* @export
|
|
175
|
+
* @enum {string}
|
|
176
|
+
*/
|
|
177
|
+
exports.FuturePaymentsMode = {
|
|
178
|
+
Autopay: 'AUTOPAY',
|
|
179
|
+
ClickToPay: 'CLICK_TO_PAY',
|
|
171
180
|
};
|
|
172
181
|
exports.GetBalanceHistoryResponseSourceEnum = {
|
|
173
182
|
Institution: 'INSTITUTION',
|
|
174
183
|
Computed: 'COMPUTED',
|
|
175
184
|
};
|
|
176
|
-
exports.GetBillResponseStatusEnum = {
|
|
177
|
-
Unknown: 'UNKNOWN',
|
|
178
|
-
Unpaid: 'UNPAID',
|
|
179
|
-
Paid: 'PAID',
|
|
180
|
-
Cancelled: 'CANCELLED',
|
|
181
|
-
Failed: 'FAILED',
|
|
182
|
-
};
|
|
183
185
|
exports.GetMandateAuthLinkResponseTokenTypeEnum = {
|
|
184
186
|
Bearer: 'Bearer',
|
|
185
187
|
};
|
|
@@ -189,14 +191,6 @@ exports.GetMandateAuthResponseMandateStatusEnum = {
|
|
|
189
191
|
Submitted: 'SUBMITTED',
|
|
190
192
|
Error: 'ERROR',
|
|
191
193
|
};
|
|
192
|
-
exports.GetMandateAuthResponseSenderTypeEnum = {
|
|
193
|
-
Individual: 'INDIVIDUAL',
|
|
194
|
-
Business: 'BUSINESS',
|
|
195
|
-
};
|
|
196
|
-
exports.GetMandateSenderUserTypeEnum = {
|
|
197
|
-
Individual: 'INDIVIDUAL',
|
|
198
|
-
Business: 'BUSINESS',
|
|
199
|
-
};
|
|
200
194
|
exports.InstitutionTagsEnum = {
|
|
201
195
|
Real: 'real',
|
|
202
196
|
Test: 'test',
|
|
@@ -276,13 +270,6 @@ exports.MandateAuthLinkCustomizationsUiModeEnum = {
|
|
|
276
270
|
AutoRedirect: 'auto_redirect',
|
|
277
271
|
Standalone: 'standalone',
|
|
278
272
|
};
|
|
279
|
-
exports.MandateRecipientAccountAccountTypeEnum = {
|
|
280
|
-
ExternalAccount: 'EXTERNAL_ACCOUNT',
|
|
281
|
-
SettlementAccount: 'SETTLEMENT_ACCOUNT',
|
|
282
|
-
};
|
|
283
|
-
exports.MandateSenderAccountAccountTypeEnum = {
|
|
284
|
-
ExternalAccount: 'EXTERNAL_ACCOUNT',
|
|
285
|
-
};
|
|
286
273
|
/**
|
|
287
274
|
* Mandate status
|
|
288
275
|
* @export
|
|
@@ -300,11 +287,12 @@ exports.MandateStatus = {
|
|
|
300
287
|
Closed: 'CLOSED',
|
|
301
288
|
Cancelled: 'CANCELLED',
|
|
302
289
|
};
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
}
|
|
307
|
-
|
|
290
|
+
/**
|
|
291
|
+
* Type of payment account
|
|
292
|
+
* @export
|
|
293
|
+
* @enum {string}
|
|
294
|
+
*/
|
|
295
|
+
exports.PaymentAccountType = {
|
|
308
296
|
ExternalAccount: 'EXTERNAL_ACCOUNT',
|
|
309
297
|
SettlementAccount: 'SETTLEMENT_ACCOUNT',
|
|
310
298
|
};
|
|
@@ -324,20 +312,36 @@ exports.PaymentLinkCustomizationsUiModeEnum = {
|
|
|
324
312
|
AutoRedirect: 'auto_redirect',
|
|
325
313
|
Standalone: 'standalone',
|
|
326
314
|
};
|
|
327
|
-
|
|
315
|
+
/**
|
|
316
|
+
* The payment link mode
|
|
317
|
+
* @export
|
|
318
|
+
* @enum {string}
|
|
319
|
+
*/
|
|
320
|
+
exports.PaymentLinkMode = {
|
|
328
321
|
Payment: 'PAYMENT',
|
|
322
|
+
Setup: 'SETUP',
|
|
329
323
|
};
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
exports.
|
|
324
|
+
/**
|
|
325
|
+
* The session status of payment link
|
|
326
|
+
* @export
|
|
327
|
+
* @enum {string}
|
|
328
|
+
*/
|
|
329
|
+
exports.PaymentLinkSessionStatus = {
|
|
336
330
|
Open: 'OPEN',
|
|
337
331
|
Processing: 'PROCESSING',
|
|
338
332
|
Complete: 'COMPLETE',
|
|
339
333
|
Failed: 'FAILED',
|
|
340
334
|
};
|
|
335
|
+
/**
|
|
336
|
+
* The status of payment link
|
|
337
|
+
* @export
|
|
338
|
+
* @enum {string}
|
|
339
|
+
*/
|
|
340
|
+
exports.PaymentLinkStatus = {
|
|
341
|
+
Created: 'CREATED',
|
|
342
|
+
Paid: 'PAID',
|
|
343
|
+
Expired: 'EXPIRED',
|
|
344
|
+
};
|
|
341
345
|
exports.PaymentLinkTokenResponseTokenTypeEnum = {
|
|
342
346
|
Bearer: 'Bearer',
|
|
343
347
|
};
|
|
@@ -375,14 +379,6 @@ exports.PaymentScheduleFrequencyEnum = {
|
|
|
375
379
|
Quarterly: 'QUARTERLY',
|
|
376
380
|
Yearly: 'YEARLY',
|
|
377
381
|
};
|
|
378
|
-
exports.PaymentSetupOptionsFuturePaymentsEnum = {
|
|
379
|
-
Autopay: 'AUTOPAY',
|
|
380
|
-
ClickToPay: 'CLICK_TO_PAY',
|
|
381
|
-
};
|
|
382
|
-
exports.PaymentSetupOptionsRequestFuturePaymentsEnum = {
|
|
383
|
-
Autopay: 'AUTOPAY',
|
|
384
|
-
ClickToPay: 'CLICK_TO_PAY',
|
|
385
|
-
};
|
|
386
382
|
/**
|
|
387
383
|
* Payment status
|
|
388
384
|
* @export
|
|
@@ -411,15 +407,21 @@ exports.PaymentType = {
|
|
|
411
407
|
Manual: 'MANUAL',
|
|
412
408
|
Wallet: 'WALLET',
|
|
413
409
|
};
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
}
|
|
418
|
-
|
|
410
|
+
/**
|
|
411
|
+
* Type of account held by the Sender at the Institution. Possible values are INDIVIDUAL, BUSINESS
|
|
412
|
+
* @export
|
|
413
|
+
* @enum {string}
|
|
414
|
+
*/
|
|
415
|
+
exports.PaymentUserType = {
|
|
419
416
|
Individual: 'INDIVIDUAL',
|
|
420
417
|
Business: 'BUSINESS',
|
|
421
418
|
};
|
|
422
|
-
|
|
419
|
+
/**
|
|
420
|
+
* Payout status
|
|
421
|
+
* @export
|
|
422
|
+
* @enum {string}
|
|
423
|
+
*/
|
|
424
|
+
exports.PayoutStatus = {
|
|
423
425
|
Executed: 'EXECUTED',
|
|
424
426
|
Created: 'CREATED',
|
|
425
427
|
Processing: 'PROCESSING',
|
|
@@ -429,20 +431,17 @@ exports.PayoutSnapshotResponseStatusEnum = {
|
|
|
429
431
|
Funded: 'FUNDED',
|
|
430
432
|
Submitted: 'SUBMITTED',
|
|
431
433
|
};
|
|
432
|
-
|
|
434
|
+
/**
|
|
435
|
+
* Payout type
|
|
436
|
+
* @export
|
|
437
|
+
* @enum {string}
|
|
438
|
+
*/
|
|
439
|
+
exports.PayoutType = {
|
|
433
440
|
Manual: 'MANUAL',
|
|
434
441
|
Scheduled: 'SCHEDULED',
|
|
435
442
|
Settlement: 'SETTLEMENT',
|
|
436
443
|
OnDemand: 'ON_DEMAND',
|
|
437
444
|
};
|
|
438
|
-
exports.RecipientAccountNumberTypeEnum = {
|
|
439
|
-
Local: 'LOCAL',
|
|
440
|
-
Iban: 'IBAN',
|
|
441
|
-
};
|
|
442
|
-
exports.RecipientAccountResponseAccountTypeEnum = {
|
|
443
|
-
ExternalAccount: 'EXTERNAL_ACCOUNT',
|
|
444
|
-
SettlementAccount: 'SETTLEMENT_ACCOUNT',
|
|
445
|
-
};
|
|
446
445
|
exports.RefreshLoginIdentityLinkCustomizationsLanguageEnum = {
|
|
447
446
|
En: 'en',
|
|
448
447
|
Vi: 'vi',
|
|
@@ -455,10 +454,6 @@ exports.RefreshLoginIdentityLinkCustomizationsUiModeEnum = {
|
|
|
455
454
|
AutoRedirect: 'auto_redirect',
|
|
456
455
|
Standalone: 'standalone',
|
|
457
456
|
};
|
|
458
|
-
exports.SelectPaymentMethodRequestSenderTypeEnum = {
|
|
459
|
-
Individual: 'INDIVIDUAL',
|
|
460
|
-
Business: 'BUSINESS',
|
|
461
|
-
};
|
|
462
457
|
exports.SenderDetailDetailsTypeEnum = {
|
|
463
458
|
HkId: 'HK_ID',
|
|
464
459
|
Passport: 'PASSPORT',
|
|
@@ -485,10 +480,6 @@ exports.TransactionLimitsResponsePeriodEnum = {
|
|
|
485
480
|
Quarterly: 'QUARTERLY',
|
|
486
481
|
Yearly: 'YEARLY',
|
|
487
482
|
};
|
|
488
|
-
exports.UpdatePaymentUserRequestUserTypeEnum = {
|
|
489
|
-
Individual: 'INDIVIDUAL',
|
|
490
|
-
Business: 'BUSINESS',
|
|
491
|
-
};
|
|
492
483
|
exports.UpdateTestPaymentStatusRequestStatusEnum = {
|
|
493
484
|
Executed: 'EXECUTED',
|
|
494
485
|
};
|