Simiz automatically creates and updates customer profiles when transactions occur. Use the Customers API to search, filter, and view transaction history per customer.

API reference

Base path: /api/v1/projects/{projectId}/customers

Available endpoints

MethodEndpointDescription
GET/List all customers (with filters)
GET/statsGet customer statistics
GET/{customerId}Get a single customer
GET/{customerId}/transactionsGet customer’s transaction history
Customers are created automatically when a transaction includes a customerId. There is no manual create endpoint — customers emerge from your transaction flow.

List customers with filters

GET /api/v1/projects/{projectId}/customers?search=237690&page=1&per_page=20&sort_by=lastTransactionAt&sort_order=desc

Filter parameters

ParameterTypeDefaultDescription
searchstringSearch by phone, email, or name
pagenumber1Page number
per_pagenumber20Items per page (1-100)
sort_bystringlastTransactionAtSort field
sort_orderstringdescasc or desc

Get customer transactions

GET /api/v1/projects/{projectId}/customers/{customerId}/transactions?page=1&per_page=20

Customer fields

Each customer profile includes:
FieldTypeDescription
idUUIDUnique customer ID
projectIdUUIDAssociated project
externalIdstringYour own customer identifier (optional)
emailstringCustomer email (optional)
phonestringCustomer phone (optional)
namestringCustomer name (optional)
metadataobjectCustom key-value data
totalTransactionsnumberTotal number of transactions
totalSpentdecimalTotal amount spent
lastTransactionAtdatetimeLast transaction timestamp
createdAtdatetimeCustomer creation date
updatedAtdatetimeLast update date