Use these operations to manage customers. A customer is an entity that purchases goods or services from you (a merchant), and is the payee in any transaction that is credited to you. Customers are associated with payment instruments, subscriptions, invoices, and other related resources.
In other systems, customers may be referred to as accounts, clients, members, patrons, or players. For information on the customer resource, see Resources.
Retrieves a list of customers.
Criteria for filtering collection items. This field requires a special format. Use , to specify multiple allowed values. Use ; to specify multiple fields.
For more information, see Search filters.
Expands a request to include embedded objects within the _embedded property of the response. This field accepts a comma-separated list of objects.
For more information, see Embedded resources.
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/customers
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/customers
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/customers
- SecretApiKey
- JWT
- ApplicationJWT
curl -i -X GET \
'https://www.rebilly.com/_mock/catalog/all/customers?limit=1000&offset=1000&filter=string&q=string&expand=string&fields=string&sort=string' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE'List of customers retrieved.
ID of the website. A website is where an organization obtains a customer. For more information, see Obtain an organization ID and website ID.
Vaulted payment instrument.
To use this payment instrument for automatic subscription renewals, and for transactions when no specific payment instrument is provided by the user, set this as the default payment instrument.
ID of the customer's preferred payment instrument for payouts.
Date and time when the resource is created. This value is set automatically when the resource is created.
Date and time when the resource is updated. This value is set automatically when the resource is updated.
Use custom fields to extend a resource scheme to include custom data that is not provided as a common field. For more information, see Custom fields.
{ "foo": "bar" }
Company information that is associated with the customer's primary email address domain.
This is a paid feature, to enable it contact Rebilly.
Total number of approved payments made by the customer. Payments are the result of sale or capture transactions.
Date and time when the customer made their last approved payment. Payments are the result of sale or capture transactions.
Total number of invoices issued to the customer. This value is auto-incrementing. If this value is 0, the record relates to a lead. A lead is a customer who has not made a payment yet. If this value is greater than or equal to 1 the record relates to a customer.
Number of times the customer's data has been modified.
Use this value when analyzing webhook data to determine if a change must take precedence over the current representation.
Specifies if the customer has accepted and reviewed identity and address documents, or an accepted credit file document.
Unique organization identifier. An organization is an entity that represents a company. For more information, see Obtain an organization ID.
ID of the associated person.
Email addresses for notification delivery in event-based email notifications. When you configure event-based email notifications, you can send to these addresses, the customer's primary email address, or another email address you specify. For more information, see Manage notification emails.
[ { "id": "cus_0YV7DDSDD1C8DA64KHH2W33CPF", "email": "user@example.com", "firstName": "string", "lastName": "string", "websiteId": "web_0YV7DE4Z26DQSA1AC92FBJ7SEG", "defaultPaymentInstrument": { … }, "preferredPayoutInstrumentId": "inst_0YVB8KPKNXCBR9EDX7JHSED75N", "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "customFields": { … }, "primaryAddress": { … }, "company": { … }, "averageValue": { … }, "paymentCount": 0, "lastPaymentTime": "2019-08-24T14:15:22Z", "lifetimeRevenue": { … }, "invoiceCount": 0, "tags": [ … ], "revision": 0, "hasFulfilledKyc": true, "organizationId": "org_0YVDM8RC7GDADADSBSMW124JA8", "locale": "fr-FR", "taxNumbers": [ … ], "personId": "prs_0YV7DDSDD1C8DA64KHH2W33CPF", "notificationEmails": [ … ], "_links": [ … ], "_embedded": { … } } ]