UNPKG

@bebapps/rapyd-sdk

Version:

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

51 lines (50 loc) 1.38 kB
export interface UpdateCustomerRequest { /** * ID of the 'customer' object. String starting with **cus_**. */ customer: `cus_${string}`; /** * 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; /** * The payment method that is used when the transaction does not specify a payment method. String starting with **card_** or **other_**. Must appear in the array in the `payment_methods` field. */ default_payment_method?: `card_${string}`; /** * A text description of the customer. */ description?: string; /** * Customer's email address. */ email?: string; /** * ID of the wallet that is linked to the customer. String starting with **ewallet_**. */ ewallet?: `ewallet_${string}`; /** * A custom string that is prefixed to all invoices for this customer. */ invoice_prefix?: string; /** * A JSON object defined by the Rapyd partner. */ metadata?: object; /** * The name of the individual customer or the business name. */ name?: string; /** * Customer's primary phone number in E.164 format. */ phone_number?: string; };