phone_number to check if a customer already exists in your merchant account:active and 0 points balance.409 error indicating the customer is already registered.phone_number is unique across all merchants — the same phone number cannot be registered by multiple merchants.customer_email is unique across all merchants — the same email cannot be registered more than once.Idempotency-Key header to prevent duplicate customer creation from retried requests.curl --location --request POST 'https://rewrd-api-staging.fly.dev/v1/customers' \
--header 'Idempotency-Key: customer-create-20260203-001' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"customer_email": "jane@example.com",
"phone_number": "+2348012345678"
}'{
"status": true,
"message": "Customer created successfully",
"data": {
"uid": "26833813",
"email": "jane@example.com",
"phone_number": "+2348012345678",
"first_name": "Jane",
"last_name": "Doe",
"date_of_birth": "1995-06-15",
"status": "active",
"points_balance": 1500,
"created_at": "2026-01-15T10:30:00.000Z"
}
}