Skip to main content
An onye is a customer record on your workspace. Customers are optional: you can create an ugwo with just onye_email and Kwugwo will find or create the customer for you. Create them explicitly when you want to attach your own user ID, names or billing address.

Attributes

string
Unique identifier, ony.XXXX.YYYYYYYYYYYYYYYYYYYYYYYY.
string
Email address, lowercased. Unique per workspace.
string | null
First name, title-cased (ada → Ada).
string | null
Last name, title-cased.
string | null
Your reference for this customer, typically your user ID. You set it as ref on create and update; it is returned as nzube_ref. Case-sensitive.
object | null
string
ISO-8601 timestamp.
string
ISO-8601 timestamp.
object
Your { "key": "value" } metadata. {} when there is none.
integer
Number of successful payment attempts by this customer.
integer
Number of failed payment attempts by this customer.
string | object | null
The customer’s most recent activity. On Get a customer this is the full Activity object; everywhere else (list, create, update, delete, nested in an ugwo, and webhooks) it is just the activity ID, act.…. null if the customer has never paid.
The Customer object