Customers

The Customers feature provides a centralized registry for your users. By linking payments to customer profiles, you unlock unified analytics, personalized communications, and streamlined recurring billing.
Creating customers is optional. Payments can be processed without them, but linking payments to customers enables powerful features like lifetime value tracking and automated email workflows.

🎯 Why Use Customer Profiles?


🛠️ Creating a Customer

Via SDK

Linking a Payment to a Customer

When creating a payment, include the customer_id:

📋 Field Reference


📊 Customer Analytics

The customer profile automatically aggregates:
  • Total Spent: Sum of all successful payments.
  • Payment Count: Number of transactions.
  • Last Payment Date: When they last paid.
  • Subscription Status: Active/cancelled recurring plans.
Fetch a customer’s payment history:
Find your top customers by revenue:

🔍 Payment Source Tracking

Each payment in a customer’s history includes source information to help you understand where payments originated:

Source Types

Why Use Source Tracking?

Source tracking helps you answer questions like:
  • “Which payment link generated the most revenue?”
  • “What percentage of this customer’s payments came from subscriptions vs. one-time purchases?”
  • “Which marketing campaign (payment link) converted this customer?”
When creating a payment link, give it a descriptive name that will appear in source_description:
When customers pay through this link, their payment history will show:

🔗 The external_id Field

The external_id is critical for syncing Reevit with your internal systems.
  • What it is: A unique identifier from your database (e.g., usr_abc123).
  • Why use it: When a webhook fires, you can use the external_id to immediately look up the customer in your database without needing to map Reevit IDs.
  • Lookup: GET /v1/customers?external_id=usr_abc123
The external_id must be unique within your organization. An attempt to create a customer with a duplicate external_id will return an error.

✅ Best Practices

  1. Always Set external_id: Use your internal user ID to keep systems in sync.
  2. Use Tags for Segmentation: Apply tags like churned, active, trial to power analytics and workflows.
  3. Store Contact Info: Providing email and phone enables automated receipt sending and SMS notifications.

Subscriptions

Create recurring billing plans linked to customers.

Payments

Link individual payments to customer profiles.

Workflows

Send automated emails based on customer events.

Webhooks

Get notified when customer data changes.