Skip to main content
POST
/
v1
/
customers
Create a customer
curl --request POST \
  --url https://api.useduro.com/v1/customers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "jsmith@example.com",
  "phone": "2348012345678",
  "name": "<string>",
  "merchantRef": "<string>",
  "metadata": {}
}
'
{
  "id": "<string>",
  "email": "<string>",
  "phone": "<string>",
  "name": "<string>",
  "merchantRef": "<string>",
  "blacklisted": true,
  "blacklistReason": "<string>",
  "createdAt": "<string>"
}

Authorizations

Authorization
string
header
required

A secret key (sk_test_… / sk_live_…), OAuth token, or identity token.

Body

application/json
email
string<email>
phone
string
Example:

"2348012345678"

name
string
merchantRef
string

Your own ID for this customer.

metadata
object

Response

201 - application/json

Created

id
string
email
string | null
phone
string | null
name
string | null
merchantRef
string | null
blacklisted
boolean
blacklistReason
string | null
createdAt
string