Skip to main content
POST
/
identity
/
entities
Create Customer
curl --request POST \
  --url https://api.sandbox.sardine.ai/v1/identity/entities \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phoneNumber": "+14155551234"
}
'
{
  "customerId": "3f8c1a22-1234-4abc-9def-000000000001",
  "createdAt": "2026-05-01T10:00:00Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.payments.sardine.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

HTTP Basic Auth. Use your clientId as the username and clientSecret as the password.

Body

application/json
phoneNumber
string
required

E.164 formatted phone number

Example:

"+14155551234"

Response

Customer created successfully

customerId
string

Sardine-assigned customer UUID

Example:

"3f8c1a22-1234-4abc-9def-000000000001"

createdAt
string<date-time>
Example:

"2026-05-01T10:00:00Z"