POST /v1/customers to create a record, attach billing address and tax details, and then reference the customer id when creating subscriptions or payments.
Create a customer
POST /v1/customers
Creates a new customer object.
Request parameters
string
required
Email address of the customer. Must be a valid email format.
string
Full name of the customer.
string
Phone number of the customer.
string
Icelandic national ID (kennitala). Ten-digit identifier used for individuals and legal entities in Iceland.
string
Your own identifier for this customer — an ID from your database or CRM. Stored as-is and returned in all responses.
string
VAT registration number for the customer. Included on invoices when present.
object
Set of key-value pairs you can attach to the customer. Values must be strings.
string
Primary billing address line.
string
Secondary billing address line (apartment, suite, etc.).
string
City for the billing address.
string
Postal code for the billing address.
string
Two-letter ISO 3166-1 alpha-2 country code (e.g.
IS, GB, DE).Response fields
string
required
Unique identifier for the customer (e.g.
cus_xxx).string
required
Customer email address.
string
Customer full name.
string
Customer phone number.
string
Icelandic national ID.
string
Your reference identifier for this customer.
string
VAT registration number.
object
Key-value pairs attached to the customer.
object
Structured billing address.
string
required
ISO 8601 timestamp of when the customer was created.
List customers
GET /v1/customers
Returns a paginated list of customers, ordered by creation date descending.
Query parameters
string
Cursor for pagination. Pass the
id of the last customer from the previous page to retrieve the next page.number
Maximum number of customers to return per page.
Response fields
object[]
required
Array of customer objects.
boolean
required
Whether more customers exist beyond this page.
Retrieve a customer
GET /v1/customers/{id}
Retrieves the details of an existing customer.
Path parameters
string
required
The ID of the customer to retrieve.
Response fields
string
required
Unique customer identifier.
string
required
Customer email address.
string
Customer full name.
string
Customer phone number.
string
Icelandic national ID.
string
Your reference identifier for this customer.
string
VAT registration number.
object
Key-value pairs attached to the customer.
object
Structured billing address.
string
required
ISO 8601 timestamp of when the customer was created.
Update a customer
PATCH /v1/customers/{id}
Updates an existing customer. Only the fields you provide are changed — all other fields remain unchanged.
Path parameters
string
required
The ID of the customer to update.
Request parameters
string
Updated email address.
string
Updated full name.
string
Updated phone number.
string
Updated Icelandic national ID.
string
Updated external reference identifier.
string
Updated VAT registration number.
object
Updated metadata. Replaces the existing metadata object entirely.
string
Updated primary billing address line.
string
Updated secondary billing address line.
string
Updated billing city.
string
Updated billing postal code.
string
Updated two-letter ISO country code.