pluggy-sdk
Version:
Official Node SDK for Pluggy API.
24 lines (23 loc) • 579 B
TypeScript
export declare const PAYMENT_CUSTOMER_TYPE: readonly ["INDIVIDUAL", "BUSINESS"];
/**
* @typedef PaymentCustomerType
* Types of customers
*/
export declare type PaymentCustomerType = typeof PAYMENT_CUSTOMER_TYPE[number];
export declare type PaymentCustomer = {
id: string;
name: string;
email: string;
cpf: string;
cnpj: string;
type: PaymentCustomerType;
createdAt: Date;
updatedAt: Date;
};
export declare type CreatePaymentCustomer = {
name: string;
email: string;
cpf: string;
cnpj: string;
type: PaymentCustomerType;
};