Skip to main content

Customer

customer

Properties

NameTypeRequiredDescription
namestrThe name of the customer
addressesList[Address]
business_vat_idstrThe tax ID number of the customer. Relevant when the customer is a business
created_atintTime of creation of this customer, in Unix time. Response only
default_payment_methodstrThe payment method that is used when the 'payment' object or subscription does not specify a payment method. The value must also appear in the payment_methods list. The payment method is referenced by its name field.
delinquentboolIndicates whether there is currently a failure of an automatic payment that is part of a subscription, or an invoice that was not paid when due. Response only. true - The account is delinquent false - The account is current
descriptionstrA text description of the customer
discountDiscountDescribes the fields relating to discounts in REST messages and webhooks for customer profiles and subscriptions Contains information about the coupon that applies to the customer. Read-only field. Adding a discount is a 2-step process - 1. Create Coupon, which returns a coupon ID. 2. Add the coupon ID to the coupon field of the customer with Create Customer or Update Customer.
emailstrCustomer's email address. Maximum 512 characters
ewalletstrID of the wallet that is linked to the customer. String starting with ewallet_. Each wallet can be associated with only one customer
id_strID of the Customer object. String starting with cus_
invoice_prefixstrA custom string that is prefixed to all invoices for this customer. For more information see Invoice Object at https://docs.rapyd.net/build-with-rapyd/reference/invoices#invoice-object
metadatadictA JSON object defined by the client
payment_methodsCustomerPaymentMethodsAn object containing the following fields - _ data - A list of up to three payment methods. For more information, see Customer Payment Method Object. _ has_more - Indicates whether there are more than three payment methods for this customer. _ total_count - Total number of payment methods for this customer. _ url - URL for requesting all of the payment methods for this customer..
phone_numberstrCustomer's primary phone number in E.164 format. The merchant is responsible for verifying that the number is correct. One method of verifying could be to send an activation code to the phone by SMS, with a limited time for response.
subscriptionsList[Subscription]

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →