UNPKG

@bebapps/rapyd-sdk

Version:

An un-official [Rapyd](https://rapyd.net) SDK for Node.js.

48 lines (47 loc) 1.24 kB
export interface CreateCustomerRequest { /** * Array of address objects associated with this customer. For more information, see [Address Object](ref:address-object). */ addresses?: string; /** * The tax ID number of the customer. */ business_vat_id?: string; /** * The ID of a coupon that is assigned to this customer. */ coupon?: string; /** * A text description of the customer. */ description?: string; /** * Customer's email address. Required for some payment methods. */ email?: string; /** * ID of the wallet that is linked to the customer. String starting with **ewallet_**. Each wallet can be associated with only one customer. */ ewallet?: `ewallet_${string}`; /** * A custom string that is prefixed to all invoices for this customer. */ invoice_prefix?: string; /** * A JSON object defined by the client. */ metadata?: object; /** * The name of the individual customer or the business name. */ name: string; /** * An object that contains the following parameters: 'type', 'fields', 'metadata' */ payment_method?: string; /** * Customer's primary phone number in E.164 format. */ phone_number?: string; type?: string; };