/** * Lemonway DirectKit API 2.0 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { Address } from './Address'; import type { Birth } from './Birth'; import type { Company } from './Company'; /** * * @export * @interface AccountDetails */ export interface AccountDetails { /** * Payment Account ID * @type {string} * @memberof AccountDetails */ id?: string; /** * Internal ID given by Lemonway (ID displayed on the Backoffice/Dashboard) * @type {number} * @memberof AccountDetails */ internalId?: number; /** * Client Title * @type {string} * @memberof AccountDetails */ clientTitle?: string; /** * Holder's First Name * @type {string} * @memberof AccountDetails */ firstname?: string; /** * Holder's Last Name * @type {string} * @memberof AccountDetails */ lastname?: string; /** * Payment Account Balance Amount * @type {number} * @memberof AccountDetails */ balance?: number; /** * Email * @type {string} * @memberof AccountDetails */ email?: string; /** * | Status Code | Payment Account Status | * |-----------------------------------------------------------------|----------------------------------------------------------------| * | -1 | Wallet SC | * | 2 | Registered, not verified: missing document(s) | * | 3 | Registered, not verified: document(s) rejected | * | 5 | Registered, not verified: KYC 1 (status given at registration) | * | 6 | Registered and verified: KYC 2 | * | 7* | Registered and verified by previous PSP: KYC 3 | * | 8 | Registered, not verified: expired document(s) | * | 10 | Blocked | * | 12 | Closed | * | 13* | Registered, status is being updated from KYC 2 to KYC 3 | * | 14* | One-time customer | * | 15* | Special wallet for crowdlending | * | 16* | Technical wallet | * | *these status may or may not be used depending on your business | | * @type {number} * @memberof AccountDetails */ status?: number; /** * Indicates if wallet is blocked or not: * 0: Not blocked * 1: Blocked * @type {boolean} * @memberof AccountDetails */ isblocked?: boolean; /** * * @type {number} * @memberof AccountDetails */ accountType?: number; /** * * @type {Company} * @memberof AccountDetails */ company?: Company; /** * * @type {Address} * @memberof AccountDetails */ adresse?: Address; /** * * @type {Birth} * @memberof AccountDetails */ birth?: Birth; /** * Nationality * @type {string} * @memberof AccountDetails */ nationality?: string; /** * Phone number with MSISDN format * @type {string} * @memberof AccountDetails */ phoneNumber?: string; /** * Mobile phone number with MSISDN format * @type {string} * @memberof AccountDetails */ mobileNumber?: string; /** * For crowdfunding/loan platforms, indicates if the wallet is created for a debtor * 0 or empty: no * 1: yes * @type {boolean} * @memberof AccountDetails */ isDebtor?: boolean; /** * Indicates if the payment account is created for a payer or a beneficiary: * 1. Empty: unknown status (default) * 2. 1: Payer * 3. 2: Beneficiary * @type {number} * @memberof AccountDetails */ payerOrBeneficiary?: number; } /** * Check if a given object implements the AccountDetails interface. */ export declare function instanceOfAccountDetails(value: object): boolean; export declare function AccountDetailsFromJSON(json: any): AccountDetails; export declare function AccountDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountDetails; export declare function AccountDetailsToJSON(value?: AccountDetails | null): any;