@finverse/sdk-typescript 0.0.84 → 0.0.86
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 +192 -0
- package/dist/api.js +210 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -815,6 +815,49 @@ export declare const CreatePaymentRequestTypeEnum: {
|
|
|
815
815
|
readonly Single: "SINGLE";
|
|
816
816
|
};
|
|
817
817
|
export declare type CreatePaymentRequestTypeEnum = typeof CreatePaymentRequestTypeEnum[keyof typeof CreatePaymentRequestTypeEnum];
|
|
818
|
+
/**
|
|
819
|
+
*
|
|
820
|
+
* @export
|
|
821
|
+
* @interface CreatePayoutInstructionRequest
|
|
822
|
+
*/
|
|
823
|
+
export interface CreatePayoutInstructionRequest {
|
|
824
|
+
/**
|
|
825
|
+
* The mandate used to execute payments for this payout instruction. Currency for the mandate must be supported by the recipient account
|
|
826
|
+
* @type {string}
|
|
827
|
+
* @memberof CreatePayoutInstructionRequest
|
|
828
|
+
*/
|
|
829
|
+
mandate_id: string;
|
|
830
|
+
/**
|
|
831
|
+
* The recipient account to receive the payment
|
|
832
|
+
* @type {string}
|
|
833
|
+
* @memberof CreatePayoutInstructionRequest
|
|
834
|
+
*/
|
|
835
|
+
recipient_account_id: string;
|
|
836
|
+
/**
|
|
837
|
+
* Amount to be paid, in currency\'s smallest unit or “minor unit”, as defined in ISO 4217. For example, HKD 100.01 is represented as amount = 10001 (minor unit = cents). For currencies without minor units (e.g. VND, JPY), the amount is represented as is, without modification. For example, VND 15101 is represented as amount = 15101.
|
|
838
|
+
* @type {number}
|
|
839
|
+
* @memberof CreatePayoutInstructionRequest
|
|
840
|
+
*/
|
|
841
|
+
amount: number;
|
|
842
|
+
/**
|
|
843
|
+
* YYYY-MM-DD, date (in UTC) to execute the payment, must be 1 day later than current date
|
|
844
|
+
* @type {string}
|
|
845
|
+
* @memberof CreatePayoutInstructionRequest
|
|
846
|
+
*/
|
|
847
|
+
date: string;
|
|
848
|
+
/**
|
|
849
|
+
* A description for the payment (that will appear as the transaction description on bank statements)
|
|
850
|
+
* @type {string}
|
|
851
|
+
* @memberof CreatePayoutInstructionRequest
|
|
852
|
+
*/
|
|
853
|
+
description?: string;
|
|
854
|
+
/**
|
|
855
|
+
* The currency code as defined in ISO 4217.
|
|
856
|
+
* @type {string}
|
|
857
|
+
* @memberof CreatePayoutInstructionRequest
|
|
858
|
+
*/
|
|
859
|
+
currency: string;
|
|
860
|
+
}
|
|
818
861
|
/**
|
|
819
862
|
*
|
|
820
863
|
* @export
|
|
@@ -3663,6 +3706,39 @@ export declare const PaymentScheduleFrequencyEnum: {
|
|
|
3663
3706
|
readonly Yearly: "YEARLY";
|
|
3664
3707
|
};
|
|
3665
3708
|
export declare type PaymentScheduleFrequencyEnum = typeof PaymentScheduleFrequencyEnum[keyof typeof PaymentScheduleFrequencyEnum];
|
|
3709
|
+
/**
|
|
3710
|
+
*
|
|
3711
|
+
* @export
|
|
3712
|
+
* @interface PayoutInstructionResponse
|
|
3713
|
+
*/
|
|
3714
|
+
export interface PayoutInstructionResponse {
|
|
3715
|
+
/**
|
|
3716
|
+
* Finverse Payout Instruction ID
|
|
3717
|
+
* @type {string}
|
|
3718
|
+
* @memberof PayoutInstructionResponse
|
|
3719
|
+
*/
|
|
3720
|
+
payout_instruction_id: string;
|
|
3721
|
+
/**
|
|
3722
|
+
* Possible values - CREATED, PROCESSING, EXECUTED, CANCELLED, FAILED.
|
|
3723
|
+
* @type {string}
|
|
3724
|
+
* @memberof PayoutInstructionResponse
|
|
3725
|
+
*/
|
|
3726
|
+
status: PayoutInstructionResponseStatusEnum;
|
|
3727
|
+
/**
|
|
3728
|
+
*
|
|
3729
|
+
* @type {FvErrorModel}
|
|
3730
|
+
* @memberof PayoutInstructionResponse
|
|
3731
|
+
*/
|
|
3732
|
+
error?: FvErrorModel;
|
|
3733
|
+
}
|
|
3734
|
+
export declare const PayoutInstructionResponseStatusEnum: {
|
|
3735
|
+
readonly Created: "CREATED";
|
|
3736
|
+
readonly Processing: "PROCESSING";
|
|
3737
|
+
readonly Executed: "EXECUTED";
|
|
3738
|
+
readonly Cancelled: "CANCELLED";
|
|
3739
|
+
readonly Failed: "FAILED";
|
|
3740
|
+
};
|
|
3741
|
+
export declare type PayoutInstructionResponseStatusEnum = typeof PayoutInstructionResponseStatusEnum[keyof typeof PayoutInstructionResponseStatusEnum];
|
|
3666
3742
|
/**
|
|
3667
3743
|
*
|
|
3668
3744
|
* @export
|
|
@@ -4456,6 +4532,13 @@ export interface UserMessage {
|
|
|
4456
4532
|
* @export
|
|
4457
4533
|
*/
|
|
4458
4534
|
export declare const CustomerApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4535
|
+
/**
|
|
4536
|
+
* Cancel Payout Instruction by payout_instruction_id
|
|
4537
|
+
* @param {string} payoutInstructionId payout instruction id
|
|
4538
|
+
* @param {*} [options] Override http request option.
|
|
4539
|
+
* @throws {RequiredError}
|
|
4540
|
+
*/
|
|
4541
|
+
cancelPayoutInstruction: (payoutInstructionId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4459
4542
|
/**
|
|
4460
4543
|
* CREATE Mandate
|
|
4461
4544
|
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
@@ -4479,6 +4562,14 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
4479
4562
|
* @throws {RequiredError}
|
|
4480
4563
|
*/
|
|
4481
4564
|
createPaymentInstruction: (paymentInstruction: CustomerPaymentInstruction, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4565
|
+
/**
|
|
4566
|
+
* Create new Payout instruction
|
|
4567
|
+
* @param {CreatePayoutInstructionRequest} createPayoutInstructionRequest request body for creating payout instruction
|
|
4568
|
+
* @param {string} [idempotencyKey] A random key provided by the customer, per unique payout. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
|
|
4569
|
+
* @param {*} [options] Override http request option.
|
|
4570
|
+
* @throws {RequiredError}
|
|
4571
|
+
*/
|
|
4572
|
+
createPayoutInstruction: (createPayoutInstructionRequest: CreatePayoutInstructionRequest, idempotencyKey?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4482
4573
|
/**
|
|
4483
4574
|
* Create Recipients
|
|
4484
4575
|
* @param {CreateRecipientRequest} createRecipientRequest request body for creating recipient
|
|
@@ -4548,6 +4639,13 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
4548
4639
|
* @throws {RequiredError}
|
|
4549
4640
|
*/
|
|
4550
4641
|
getPaymentInstruction: (paymentInstructionId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4642
|
+
/**
|
|
4643
|
+
* Get Payout Instruction details by payout_instruction_id
|
|
4644
|
+
* @param {string} payoutInstructionId payout instruction id
|
|
4645
|
+
* @param {*} [options] Override http request option.
|
|
4646
|
+
* @throws {RequiredError}
|
|
4647
|
+
*/
|
|
4648
|
+
getPayoutInstruction: (payoutInstructionId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4551
4649
|
/**
|
|
4552
4650
|
* Get a list of institutions
|
|
4553
4651
|
* @param {string} [country] (Deprecated) The country the institution belongs to
|
|
@@ -4585,6 +4683,13 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
4585
4683
|
* @export
|
|
4586
4684
|
*/
|
|
4587
4685
|
export declare const CustomerApiFp: (configuration?: Configuration) => {
|
|
4686
|
+
/**
|
|
4687
|
+
* Cancel Payout Instruction by payout_instruction_id
|
|
4688
|
+
* @param {string} payoutInstructionId payout instruction id
|
|
4689
|
+
* @param {*} [options] Override http request option.
|
|
4690
|
+
* @throws {RequiredError}
|
|
4691
|
+
*/
|
|
4692
|
+
cancelPayoutInstruction(payoutInstructionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
4588
4693
|
/**
|
|
4589
4694
|
* CREATE Mandate
|
|
4590
4695
|
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
@@ -4608,6 +4713,14 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
|
|
|
4608
4713
|
* @throws {RequiredError}
|
|
4609
4714
|
*/
|
|
4610
4715
|
createPaymentInstruction(paymentInstruction: CustomerPaymentInstruction, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentInstructionResponse>>;
|
|
4716
|
+
/**
|
|
4717
|
+
* Create new Payout instruction
|
|
4718
|
+
* @param {CreatePayoutInstructionRequest} createPayoutInstructionRequest request body for creating payout instruction
|
|
4719
|
+
* @param {string} [idempotencyKey] A random key provided by the customer, per unique payout. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
|
|
4720
|
+
* @param {*} [options] Override http request option.
|
|
4721
|
+
* @throws {RequiredError}
|
|
4722
|
+
*/
|
|
4723
|
+
createPayoutInstruction(createPayoutInstructionRequest: CreatePayoutInstructionRequest, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayoutInstructionResponse>>;
|
|
4611
4724
|
/**
|
|
4612
4725
|
* Create Recipients
|
|
4613
4726
|
* @param {CreateRecipientRequest} createRecipientRequest request body for creating recipient
|
|
@@ -4677,6 +4790,13 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
|
|
|
4677
4790
|
* @throws {RequiredError}
|
|
4678
4791
|
*/
|
|
4679
4792
|
getPaymentInstruction(paymentInstructionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentInstructionsResponse>>;
|
|
4793
|
+
/**
|
|
4794
|
+
* Get Payout Instruction details by payout_instruction_id
|
|
4795
|
+
* @param {string} payoutInstructionId payout instruction id
|
|
4796
|
+
* @param {*} [options] Override http request option.
|
|
4797
|
+
* @throws {RequiredError}
|
|
4798
|
+
*/
|
|
4799
|
+
getPayoutInstruction(payoutInstructionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayoutInstructionResponse>>;
|
|
4680
4800
|
/**
|
|
4681
4801
|
* Get a list of institutions
|
|
4682
4802
|
* @param {string} [country] (Deprecated) The country the institution belongs to
|
|
@@ -4714,6 +4834,13 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
|
|
|
4714
4834
|
* @export
|
|
4715
4835
|
*/
|
|
4716
4836
|
export declare const CustomerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4837
|
+
/**
|
|
4838
|
+
* Cancel Payout Instruction by payout_instruction_id
|
|
4839
|
+
* @param {string} payoutInstructionId payout instruction id
|
|
4840
|
+
* @param {*} [options] Override http request option.
|
|
4841
|
+
* @throws {RequiredError}
|
|
4842
|
+
*/
|
|
4843
|
+
cancelPayoutInstruction(payoutInstructionId: string, options?: any): AxiosPromise<void>;
|
|
4717
4844
|
/**
|
|
4718
4845
|
* CREATE Mandate
|
|
4719
4846
|
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
@@ -4737,6 +4864,14 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
|
|
|
4737
4864
|
* @throws {RequiredError}
|
|
4738
4865
|
*/
|
|
4739
4866
|
createPaymentInstruction(paymentInstruction: CustomerPaymentInstruction, options?: any): AxiosPromise<CreatePaymentInstructionResponse>;
|
|
4867
|
+
/**
|
|
4868
|
+
* Create new Payout instruction
|
|
4869
|
+
* @param {CreatePayoutInstructionRequest} createPayoutInstructionRequest request body for creating payout instruction
|
|
4870
|
+
* @param {string} [idempotencyKey] A random key provided by the customer, per unique payout. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
|
|
4871
|
+
* @param {*} [options] Override http request option.
|
|
4872
|
+
* @throws {RequiredError}
|
|
4873
|
+
*/
|
|
4874
|
+
createPayoutInstruction(createPayoutInstructionRequest: CreatePayoutInstructionRequest, idempotencyKey?: string, options?: any): AxiosPromise<PayoutInstructionResponse>;
|
|
4740
4875
|
/**
|
|
4741
4876
|
* Create Recipients
|
|
4742
4877
|
* @param {CreateRecipientRequest} createRecipientRequest request body for creating recipient
|
|
@@ -4806,6 +4941,13 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
|
|
|
4806
4941
|
* @throws {RequiredError}
|
|
4807
4942
|
*/
|
|
4808
4943
|
getPaymentInstruction(paymentInstructionId: string, options?: any): AxiosPromise<GetPaymentInstructionsResponse>;
|
|
4944
|
+
/**
|
|
4945
|
+
* Get Payout Instruction details by payout_instruction_id
|
|
4946
|
+
* @param {string} payoutInstructionId payout instruction id
|
|
4947
|
+
* @param {*} [options] Override http request option.
|
|
4948
|
+
* @throws {RequiredError}
|
|
4949
|
+
*/
|
|
4950
|
+
getPayoutInstruction(payoutInstructionId: string, options?: any): AxiosPromise<PayoutInstructionResponse>;
|
|
4809
4951
|
/**
|
|
4810
4952
|
* Get a list of institutions
|
|
4811
4953
|
* @param {string} [country] (Deprecated) The country the institution belongs to
|
|
@@ -4844,6 +4986,14 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
|
|
|
4844
4986
|
* @interface CustomerApi
|
|
4845
4987
|
*/
|
|
4846
4988
|
export interface CustomerApiInterface {
|
|
4989
|
+
/**
|
|
4990
|
+
* Cancel Payout Instruction by payout_instruction_id
|
|
4991
|
+
* @param {string} payoutInstructionId payout instruction id
|
|
4992
|
+
* @param {*} [options] Override http request option.
|
|
4993
|
+
* @throws {RequiredError}
|
|
4994
|
+
* @memberof CustomerApiInterface
|
|
4995
|
+
*/
|
|
4996
|
+
cancelPayoutInstruction(payoutInstructionId: string, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
4847
4997
|
/**
|
|
4848
4998
|
* CREATE Mandate
|
|
4849
4999
|
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
@@ -4870,6 +5020,15 @@ export interface CustomerApiInterface {
|
|
|
4870
5020
|
* @memberof CustomerApiInterface
|
|
4871
5021
|
*/
|
|
4872
5022
|
createPaymentInstruction(paymentInstruction: CustomerPaymentInstruction, options?: AxiosRequestConfig): AxiosPromise<CreatePaymentInstructionResponse>;
|
|
5023
|
+
/**
|
|
5024
|
+
* Create new Payout instruction
|
|
5025
|
+
* @param {CreatePayoutInstructionRequest} createPayoutInstructionRequest request body for creating payout instruction
|
|
5026
|
+
* @param {string} [idempotencyKey] A random key provided by the customer, per unique payout. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
|
|
5027
|
+
* @param {*} [options] Override http request option.
|
|
5028
|
+
* @throws {RequiredError}
|
|
5029
|
+
* @memberof CustomerApiInterface
|
|
5030
|
+
*/
|
|
5031
|
+
createPayoutInstruction(createPayoutInstructionRequest: CreatePayoutInstructionRequest, idempotencyKey?: string, options?: AxiosRequestConfig): AxiosPromise<PayoutInstructionResponse>;
|
|
4873
5032
|
/**
|
|
4874
5033
|
* Create Recipients
|
|
4875
5034
|
* @param {CreateRecipientRequest} createRecipientRequest request body for creating recipient
|
|
@@ -4949,6 +5108,14 @@ export interface CustomerApiInterface {
|
|
|
4949
5108
|
* @memberof CustomerApiInterface
|
|
4950
5109
|
*/
|
|
4951
5110
|
getPaymentInstruction(paymentInstructionId: string, options?: AxiosRequestConfig): AxiosPromise<GetPaymentInstructionsResponse>;
|
|
5111
|
+
/**
|
|
5112
|
+
* Get Payout Instruction details by payout_instruction_id
|
|
5113
|
+
* @param {string} payoutInstructionId payout instruction id
|
|
5114
|
+
* @param {*} [options] Override http request option.
|
|
5115
|
+
* @throws {RequiredError}
|
|
5116
|
+
* @memberof CustomerApiInterface
|
|
5117
|
+
*/
|
|
5118
|
+
getPayoutInstruction(payoutInstructionId: string, options?: AxiosRequestConfig): AxiosPromise<PayoutInstructionResponse>;
|
|
4952
5119
|
/**
|
|
4953
5120
|
* Get a list of institutions
|
|
4954
5121
|
* @param {string} [country] (Deprecated) The country the institution belongs to
|
|
@@ -4992,6 +5159,14 @@ export interface CustomerApiInterface {
|
|
|
4992
5159
|
* @extends {BaseAPI}
|
|
4993
5160
|
*/
|
|
4994
5161
|
export declare class CustomerApi extends BaseAPI implements CustomerApiInterface {
|
|
5162
|
+
/**
|
|
5163
|
+
* Cancel Payout Instruction by payout_instruction_id
|
|
5164
|
+
* @param {string} payoutInstructionId payout instruction id
|
|
5165
|
+
* @param {*} [options] Override http request option.
|
|
5166
|
+
* @throws {RequiredError}
|
|
5167
|
+
* @memberof CustomerApi
|
|
5168
|
+
*/
|
|
5169
|
+
cancelPayoutInstruction(payoutInstructionId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
4995
5170
|
/**
|
|
4996
5171
|
* CREATE Mandate
|
|
4997
5172
|
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
@@ -5018,6 +5193,15 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
|
|
|
5018
5193
|
* @memberof CustomerApi
|
|
5019
5194
|
*/
|
|
5020
5195
|
createPaymentInstruction(paymentInstruction: CustomerPaymentInstruction, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentInstructionResponse>>;
|
|
5196
|
+
/**
|
|
5197
|
+
* Create new Payout instruction
|
|
5198
|
+
* @param {CreatePayoutInstructionRequest} createPayoutInstructionRequest request body for creating payout instruction
|
|
5199
|
+
* @param {string} [idempotencyKey] A random key provided by the customer, per unique payout. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
|
|
5200
|
+
* @param {*} [options] Override http request option.
|
|
5201
|
+
* @throws {RequiredError}
|
|
5202
|
+
* @memberof CustomerApi
|
|
5203
|
+
*/
|
|
5204
|
+
createPayoutInstruction(createPayoutInstructionRequest: CreatePayoutInstructionRequest, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PayoutInstructionResponse>>;
|
|
5021
5205
|
/**
|
|
5022
5206
|
* Create Recipients
|
|
5023
5207
|
* @param {CreateRecipientRequest} createRecipientRequest request body for creating recipient
|
|
@@ -5097,6 +5281,14 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
|
|
|
5097
5281
|
* @memberof CustomerApi
|
|
5098
5282
|
*/
|
|
5099
5283
|
getPaymentInstruction(paymentInstructionId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentInstructionsResponse>>;
|
|
5284
|
+
/**
|
|
5285
|
+
* Get Payout Instruction details by payout_instruction_id
|
|
5286
|
+
* @param {string} payoutInstructionId payout instruction id
|
|
5287
|
+
* @param {*} [options] Override http request option.
|
|
5288
|
+
* @throws {RequiredError}
|
|
5289
|
+
* @memberof CustomerApi
|
|
5290
|
+
*/
|
|
5291
|
+
getPayoutInstruction(payoutInstructionId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PayoutInstructionResponse>>;
|
|
5100
5292
|
/**
|
|
5101
5293
|
* Get a list of institutions
|
|
5102
5294
|
* @param {string} [country] (Deprecated) The country the institution belongs to
|
package/dist/api.js
CHANGED
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SenderDetailDetailsTypeEnum = exports.RecipientAccountNumberTypeEnum = exports.RecipientAccountAccountTypeEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentResponseStatusEnum = exports.PaymentResponseTypeEnum = exports.PaymentInstructionTypeEnum = exports.PaymentInfoPaymentsSupportedEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.LoginMethodStatusEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.InstitutionStatusEnum = exports.InstitutionUserTypeEnum = exports.InstitutionProductsSupportedEnum = exports.InstitutionInstitutionTypeEnum = exports.InstitutionTagsEnum = exports.GetMandateSenderSenderTypeEnum = exports.GetMandateResponseStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FvErrorModelTypeEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreatePaymentRequestTypeEnum = exports.CreateMandateSenderSenderTypeEnum = exports.CreateMandateResponseStatusEnum = exports.BadRequestModelV2ErrorTypeEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = exports.AccountTypeSubtypeEnum = exports.AccountTypeTypeEnum = void 0;
|
|
25
|
+
exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SenderDetailDetailsTypeEnum = exports.RecipientAccountNumberTypeEnum = exports.RecipientAccountAccountTypeEnum = exports.PayoutInstructionResponseStatusEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentResponseStatusEnum = exports.PaymentResponseTypeEnum = exports.PaymentInstructionTypeEnum = exports.PaymentInfoPaymentsSupportedEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.LoginMethodStatusEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.InstitutionStatusEnum = exports.InstitutionUserTypeEnum = exports.InstitutionProductsSupportedEnum = exports.InstitutionInstitutionTypeEnum = exports.InstitutionTagsEnum = exports.GetMandateSenderSenderTypeEnum = exports.GetMandateResponseStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FvErrorModelTypeEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreatePaymentRequestTypeEnum = exports.CreateMandateSenderSenderTypeEnum = exports.CreateMandateResponseStatusEnum = exports.BadRequestModelV2ErrorTypeEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = exports.AccountTypeSubtypeEnum = exports.AccountTypeTypeEnum = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -204,6 +204,13 @@ exports.PaymentScheduleFrequencyEnum = {
|
|
|
204
204
|
Quarterly: 'QUARTERLY',
|
|
205
205
|
Yearly: 'YEARLY',
|
|
206
206
|
};
|
|
207
|
+
exports.PayoutInstructionResponseStatusEnum = {
|
|
208
|
+
Created: 'CREATED',
|
|
209
|
+
Processing: 'PROCESSING',
|
|
210
|
+
Executed: 'EXECUTED',
|
|
211
|
+
Cancelled: 'CANCELLED',
|
|
212
|
+
Failed: 'FAILED',
|
|
213
|
+
};
|
|
207
214
|
exports.RecipientAccountAccountTypeEnum = {
|
|
208
215
|
ExternalAccount: 'EXTERNAL_ACCOUNT',
|
|
209
216
|
};
|
|
@@ -236,6 +243,36 @@ exports.TransactionLimitsPeriodEnum = {
|
|
|
236
243
|
*/
|
|
237
244
|
exports.CustomerApiAxiosParamCreator = function (configuration) {
|
|
238
245
|
return {
|
|
246
|
+
/**
|
|
247
|
+
* Cancel Payout Instruction by payout_instruction_id
|
|
248
|
+
* @param {string} payoutInstructionId payout instruction id
|
|
249
|
+
* @param {*} [options] Override http request option.
|
|
250
|
+
* @throws {RequiredError}
|
|
251
|
+
*/
|
|
252
|
+
cancelPayoutInstruction: (payoutInstructionId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
253
|
+
// verify required parameter 'payoutInstructionId' is not null or undefined
|
|
254
|
+
common_1.assertParamExists('cancelPayoutInstruction', 'payoutInstructionId', payoutInstructionId);
|
|
255
|
+
const localVarPath = `/payout_instruction/{payoutInstructionId}/cancel`.replace(`{${'payoutInstructionId'}}`, encodeURIComponent(String(payoutInstructionId)));
|
|
256
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
257
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
258
|
+
let baseOptions;
|
|
259
|
+
if (configuration) {
|
|
260
|
+
baseOptions = configuration.baseOptions;
|
|
261
|
+
}
|
|
262
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
263
|
+
const localVarHeaderParameter = {};
|
|
264
|
+
const localVarQueryParameter = {};
|
|
265
|
+
// authentication Oauth2 required
|
|
266
|
+
// oauth required
|
|
267
|
+
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
268
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
269
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
270
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
271
|
+
return {
|
|
272
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
273
|
+
options: localVarRequestOptions,
|
|
274
|
+
};
|
|
275
|
+
}),
|
|
239
276
|
/**
|
|
240
277
|
* CREATE Mandate
|
|
241
278
|
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
@@ -340,6 +377,42 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
340
377
|
options: localVarRequestOptions,
|
|
341
378
|
};
|
|
342
379
|
}),
|
|
380
|
+
/**
|
|
381
|
+
* Create new Payout instruction
|
|
382
|
+
* @param {CreatePayoutInstructionRequest} createPayoutInstructionRequest request body for creating payout instruction
|
|
383
|
+
* @param {string} [idempotencyKey] A random key provided by the customer, per unique payout. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
|
|
384
|
+
* @param {*} [options] Override http request option.
|
|
385
|
+
* @throws {RequiredError}
|
|
386
|
+
*/
|
|
387
|
+
createPayoutInstruction: (createPayoutInstructionRequest, idempotencyKey, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
388
|
+
// verify required parameter 'createPayoutInstructionRequest' is not null or undefined
|
|
389
|
+
common_1.assertParamExists('createPayoutInstruction', 'createPayoutInstructionRequest', createPayoutInstructionRequest);
|
|
390
|
+
const localVarPath = `/payout_instruction`;
|
|
391
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
392
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
393
|
+
let baseOptions;
|
|
394
|
+
if (configuration) {
|
|
395
|
+
baseOptions = configuration.baseOptions;
|
|
396
|
+
}
|
|
397
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
398
|
+
const localVarHeaderParameter = {};
|
|
399
|
+
const localVarQueryParameter = {};
|
|
400
|
+
// authentication Oauth2 required
|
|
401
|
+
// oauth required
|
|
402
|
+
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
403
|
+
if (idempotencyKey !== undefined && idempotencyKey !== null) {
|
|
404
|
+
localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey);
|
|
405
|
+
}
|
|
406
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
407
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
408
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
409
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
410
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(createPayoutInstructionRequest, localVarRequestOptions, configuration);
|
|
411
|
+
return {
|
|
412
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
413
|
+
options: localVarRequestOptions,
|
|
414
|
+
};
|
|
415
|
+
}),
|
|
343
416
|
/**
|
|
344
417
|
* Create Recipients
|
|
345
418
|
* @param {CreateRecipientRequest} createRecipientRequest request body for creating recipient
|
|
@@ -643,6 +716,36 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
643
716
|
options: localVarRequestOptions,
|
|
644
717
|
};
|
|
645
718
|
}),
|
|
719
|
+
/**
|
|
720
|
+
* Get Payout Instruction details by payout_instruction_id
|
|
721
|
+
* @param {string} payoutInstructionId payout instruction id
|
|
722
|
+
* @param {*} [options] Override http request option.
|
|
723
|
+
* @throws {RequiredError}
|
|
724
|
+
*/
|
|
725
|
+
getPayoutInstruction: (payoutInstructionId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
726
|
+
// verify required parameter 'payoutInstructionId' is not null or undefined
|
|
727
|
+
common_1.assertParamExists('getPayoutInstruction', 'payoutInstructionId', payoutInstructionId);
|
|
728
|
+
const localVarPath = `/payout_instruction/{payoutInstructionId}`.replace(`{${'payoutInstructionId'}}`, encodeURIComponent(String(payoutInstructionId)));
|
|
729
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
730
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
731
|
+
let baseOptions;
|
|
732
|
+
if (configuration) {
|
|
733
|
+
baseOptions = configuration.baseOptions;
|
|
734
|
+
}
|
|
735
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
736
|
+
const localVarHeaderParameter = {};
|
|
737
|
+
const localVarQueryParameter = {};
|
|
738
|
+
// authentication Oauth2 required
|
|
739
|
+
// oauth required
|
|
740
|
+
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
741
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
742
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
743
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
744
|
+
return {
|
|
745
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
746
|
+
options: localVarRequestOptions,
|
|
747
|
+
};
|
|
748
|
+
}),
|
|
646
749
|
/**
|
|
647
750
|
* Get a list of institutions
|
|
648
751
|
* @param {string} [country] (Deprecated) The country the institution belongs to
|
|
@@ -791,6 +894,18 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
791
894
|
exports.CustomerApiFp = function (configuration) {
|
|
792
895
|
const localVarAxiosParamCreator = exports.CustomerApiAxiosParamCreator(configuration);
|
|
793
896
|
return {
|
|
897
|
+
/**
|
|
898
|
+
* Cancel Payout Instruction by payout_instruction_id
|
|
899
|
+
* @param {string} payoutInstructionId payout instruction id
|
|
900
|
+
* @param {*} [options] Override http request option.
|
|
901
|
+
* @throws {RequiredError}
|
|
902
|
+
*/
|
|
903
|
+
cancelPayoutInstruction(payoutInstructionId, options) {
|
|
904
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
905
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.cancelPayoutInstruction(payoutInstructionId, options);
|
|
906
|
+
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
907
|
+
});
|
|
908
|
+
},
|
|
794
909
|
/**
|
|
795
910
|
* CREATE Mandate
|
|
796
911
|
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
@@ -829,6 +944,19 @@ exports.CustomerApiFp = function (configuration) {
|
|
|
829
944
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
830
945
|
});
|
|
831
946
|
},
|
|
947
|
+
/**
|
|
948
|
+
* Create new Payout instruction
|
|
949
|
+
* @param {CreatePayoutInstructionRequest} createPayoutInstructionRequest request body for creating payout instruction
|
|
950
|
+
* @param {string} [idempotencyKey] A random key provided by the customer, per unique payout. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
|
|
951
|
+
* @param {*} [options] Override http request option.
|
|
952
|
+
* @throws {RequiredError}
|
|
953
|
+
*/
|
|
954
|
+
createPayoutInstruction(createPayoutInstructionRequest, idempotencyKey, options) {
|
|
955
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
956
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createPayoutInstruction(createPayoutInstructionRequest, idempotencyKey, options);
|
|
957
|
+
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
958
|
+
});
|
|
959
|
+
},
|
|
832
960
|
/**
|
|
833
961
|
* Create Recipients
|
|
834
962
|
* @param {CreateRecipientRequest} createRecipientRequest request body for creating recipient
|
|
@@ -948,6 +1076,18 @@ exports.CustomerApiFp = function (configuration) {
|
|
|
948
1076
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
949
1077
|
});
|
|
950
1078
|
},
|
|
1079
|
+
/**
|
|
1080
|
+
* Get Payout Instruction details by payout_instruction_id
|
|
1081
|
+
* @param {string} payoutInstructionId payout instruction id
|
|
1082
|
+
* @param {*} [options] Override http request option.
|
|
1083
|
+
* @throws {RequiredError}
|
|
1084
|
+
*/
|
|
1085
|
+
getPayoutInstruction(payoutInstructionId, options) {
|
|
1086
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1087
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPayoutInstruction(payoutInstructionId, options);
|
|
1088
|
+
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1089
|
+
});
|
|
1090
|
+
},
|
|
951
1091
|
/**
|
|
952
1092
|
* Get a list of institutions
|
|
953
1093
|
* @param {string} [country] (Deprecated) The country the institution belongs to
|
|
@@ -1008,6 +1148,17 @@ exports.CustomerApiFp = function (configuration) {
|
|
|
1008
1148
|
exports.CustomerApiFactory = function (configuration, basePath, axios) {
|
|
1009
1149
|
const localVarFp = exports.CustomerApiFp(configuration);
|
|
1010
1150
|
return {
|
|
1151
|
+
/**
|
|
1152
|
+
* Cancel Payout Instruction by payout_instruction_id
|
|
1153
|
+
* @param {string} payoutInstructionId payout instruction id
|
|
1154
|
+
* @param {*} [options] Override http request option.
|
|
1155
|
+
* @throws {RequiredError}
|
|
1156
|
+
*/
|
|
1157
|
+
cancelPayoutInstruction(payoutInstructionId, options) {
|
|
1158
|
+
return localVarFp
|
|
1159
|
+
.cancelPayoutInstruction(payoutInstructionId, options)
|
|
1160
|
+
.then((request) => request(axios, basePath));
|
|
1161
|
+
},
|
|
1011
1162
|
/**
|
|
1012
1163
|
* CREATE Mandate
|
|
1013
1164
|
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
@@ -1043,6 +1194,18 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
|
|
|
1043
1194
|
.createPaymentInstruction(paymentInstruction, options)
|
|
1044
1195
|
.then((request) => request(axios, basePath));
|
|
1045
1196
|
},
|
|
1197
|
+
/**
|
|
1198
|
+
* Create new Payout instruction
|
|
1199
|
+
* @param {CreatePayoutInstructionRequest} createPayoutInstructionRequest request body for creating payout instruction
|
|
1200
|
+
* @param {string} [idempotencyKey] A random key provided by the customer, per unique payout. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
|
|
1201
|
+
* @param {*} [options] Override http request option.
|
|
1202
|
+
* @throws {RequiredError}
|
|
1203
|
+
*/
|
|
1204
|
+
createPayoutInstruction(createPayoutInstructionRequest, idempotencyKey, options) {
|
|
1205
|
+
return localVarFp
|
|
1206
|
+
.createPayoutInstruction(createPayoutInstructionRequest, idempotencyKey, options)
|
|
1207
|
+
.then((request) => request(axios, basePath));
|
|
1208
|
+
},
|
|
1046
1209
|
/**
|
|
1047
1210
|
* Create Recipients
|
|
1048
1211
|
* @param {CreateRecipientRequest} createRecipientRequest request body for creating recipient
|
|
@@ -1136,6 +1299,15 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
|
|
|
1136
1299
|
.getPaymentInstruction(paymentInstructionId, options)
|
|
1137
1300
|
.then((request) => request(axios, basePath));
|
|
1138
1301
|
},
|
|
1302
|
+
/**
|
|
1303
|
+
* Get Payout Instruction details by payout_instruction_id
|
|
1304
|
+
* @param {string} payoutInstructionId payout instruction id
|
|
1305
|
+
* @param {*} [options] Override http request option.
|
|
1306
|
+
* @throws {RequiredError}
|
|
1307
|
+
*/
|
|
1308
|
+
getPayoutInstruction(payoutInstructionId, options) {
|
|
1309
|
+
return localVarFp.getPayoutInstruction(payoutInstructionId, options).then((request) => request(axios, basePath));
|
|
1310
|
+
},
|
|
1139
1311
|
/**
|
|
1140
1312
|
* Get a list of institutions
|
|
1141
1313
|
* @param {string} [country] (Deprecated) The country the institution belongs to
|
|
@@ -1188,6 +1360,18 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
|
|
|
1188
1360
|
* @extends {BaseAPI}
|
|
1189
1361
|
*/
|
|
1190
1362
|
class CustomerApi extends base_1.BaseAPI {
|
|
1363
|
+
/**
|
|
1364
|
+
* Cancel Payout Instruction by payout_instruction_id
|
|
1365
|
+
* @param {string} payoutInstructionId payout instruction id
|
|
1366
|
+
* @param {*} [options] Override http request option.
|
|
1367
|
+
* @throws {RequiredError}
|
|
1368
|
+
* @memberof CustomerApi
|
|
1369
|
+
*/
|
|
1370
|
+
cancelPayoutInstruction(payoutInstructionId, options) {
|
|
1371
|
+
return exports.CustomerApiFp(this.configuration)
|
|
1372
|
+
.cancelPayoutInstruction(payoutInstructionId, options)
|
|
1373
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1374
|
+
}
|
|
1191
1375
|
/**
|
|
1192
1376
|
* CREATE Mandate
|
|
1193
1377
|
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
@@ -1226,6 +1410,19 @@ class CustomerApi extends base_1.BaseAPI {
|
|
|
1226
1410
|
.createPaymentInstruction(paymentInstruction, options)
|
|
1227
1411
|
.then((request) => request(this.axios, this.basePath));
|
|
1228
1412
|
}
|
|
1413
|
+
/**
|
|
1414
|
+
* Create new Payout instruction
|
|
1415
|
+
* @param {CreatePayoutInstructionRequest} createPayoutInstructionRequest request body for creating payout instruction
|
|
1416
|
+
* @param {string} [idempotencyKey] A random key provided by the customer, per unique payout. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
|
|
1417
|
+
* @param {*} [options] Override http request option.
|
|
1418
|
+
* @throws {RequiredError}
|
|
1419
|
+
* @memberof CustomerApi
|
|
1420
|
+
*/
|
|
1421
|
+
createPayoutInstruction(createPayoutInstructionRequest, idempotencyKey, options) {
|
|
1422
|
+
return exports.CustomerApiFp(this.configuration)
|
|
1423
|
+
.createPayoutInstruction(createPayoutInstructionRequest, idempotencyKey, options)
|
|
1424
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1425
|
+
}
|
|
1229
1426
|
/**
|
|
1230
1427
|
* Create Recipients
|
|
1231
1428
|
* @param {CreateRecipientRequest} createRecipientRequest request body for creating recipient
|
|
@@ -1345,6 +1542,18 @@ class CustomerApi extends base_1.BaseAPI {
|
|
|
1345
1542
|
.getPaymentInstruction(paymentInstructionId, options)
|
|
1346
1543
|
.then((request) => request(this.axios, this.basePath));
|
|
1347
1544
|
}
|
|
1545
|
+
/**
|
|
1546
|
+
* Get Payout Instruction details by payout_instruction_id
|
|
1547
|
+
* @param {string} payoutInstructionId payout instruction id
|
|
1548
|
+
* @param {*} [options] Override http request option.
|
|
1549
|
+
* @throws {RequiredError}
|
|
1550
|
+
* @memberof CustomerApi
|
|
1551
|
+
*/
|
|
1552
|
+
getPayoutInstruction(payoutInstructionId, options) {
|
|
1553
|
+
return exports.CustomerApiFp(this.configuration)
|
|
1554
|
+
.getPayoutInstruction(payoutInstructionId, options)
|
|
1555
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1556
|
+
}
|
|
1348
1557
|
/**
|
|
1349
1558
|
* Get a list of institutions
|
|
1350
1559
|
* @param {string} [country] (Deprecated) The country the institution belongs to
|