Create and manage customers within your integration.
POST /customers
Show Address Fields
business
individual
curl -X POST "https://api.spendjuice.com/customers" \ -H "Authorization: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "first_name": "John", "last_name": "Doe", "email": "john.doe@example.com", "phone_number": "+2348012345678", "type": "business|individual", "billing_address": { "line1": "123 Test Lane", "line2": "Suite 456", "city": "Lagos", "state": "Lagos", "zip_code": "100001", "country": "NG" } }'
{ "data": { "id": "6f7e1e7f-93d1-4fcc-b7a4-738f869615c8", "first_name": "John", "last_name": "Doe", "email": "john.doe@example.com", "phone_number": "+2348012345678", "type": "business|individual", "billing_address": { "line1": "123 Test Lane", "line2": "Suite 456", "city": "Lagos", "state": "Lagos", "zip_code": "100001", "country": "NG" } } }
429 Too Many Requests
Idempotency-Key
Idempotency-Key: a123b456-c789-d012-e345-f67890123456