connect-sdk-nodejs
Version:
SDK to communicate with the Ingenico ePayments platform using the Ingenico Connect Server API
58 lines (57 loc) • 1.93 kB
TypeScript
import { AmountOfMoney, BankAccountBban, BankAccountIban } from "../definitions";
import { APIError } from "../errors/definitions";
import { BankTransferPayoutMethodSpecificInput, CardPayoutMethodSpecificInput, PayoutCustomer, PayoutDetails, PayoutMerchant, PayoutReferences, PayoutResult } from "./definitions";
export interface ApprovePayoutRequest {
datePayout?: string | null;
}
export interface CreatePayoutRequest {
/**
* @deprecated Moved to PayoutDetails
*/
amountOfMoney?: AmountOfMoney | null;
/**
* @deprecated Moved to BankTransferPayoutMethodSpecificInput
*/
bankAccountBban?: BankAccountBban | null;
/**
* @deprecated Moved to BankTransferPayoutMethodSpecificInput
*/
bankAccountIban?: BankAccountIban | null;
bankTransferPayoutMethodSpecificInput?: BankTransferPayoutMethodSpecificInput | null;
cardPayoutMethodSpecificInput?: CardPayoutMethodSpecificInput | null;
/**
* @deprecated Moved to PayoutDetails
*/
customer?: PayoutCustomer | null;
merchant?: PayoutMerchant | null;
/**
* @deprecated Moved to BankTransferPayoutMethodSpecificInput
*/
payoutDate?: string | null;
payoutDetails?: PayoutDetails | null;
/**
* @deprecated Moved to BankTransferPayoutMethodSpecificInput
*/
payoutText?: string | null;
/**
* @deprecated Moved to PayoutDetails
*/
references?: PayoutReferences | null;
/**
* @deprecated Moved to BankTransferPayoutMethodSpecificInput
*/
swiftCode?: string | null;
}
export interface FindPayoutsResponse {
limit?: number | null;
offset?: number | null;
payouts?: PayoutResult[] | null;
totalCount?: number | null;
}
export interface PayoutErrorResponse {
errorId?: string | null;
errors?: APIError[] | null;
payoutResult?: PayoutResult | null;
}
export interface PayoutResponse extends PayoutResult {
}