Create a customer record scoped to your merchant account, or retrieve an existing one by externalId. Returns the Accelebit customer UUID.
Use this endpoint to create a new customer record scoped to your merchant account. The endpoint behaves as an upsert: if a customer with the given externalId already exists under your account, the API returns that existing record rather than creating a duplicate. This makes it safe to call on every checkout or sign-in flow without needing to track whether you have already registered a customer.
The externalId is your primary deduplication key. Choose a stable, unique identifier from your own system — such as a database user ID — and use it consistently across requests.
Your own unique identifier for this customer. Must be between 1 and 255 characters. This value is used for deduplication — if a customer with this externalId already exists, their record is returned.
Arbitrary key-value pairs you want to attach to the customer record. Useful for storing plan tier, region, or any other context relevant to your integration.