Artha API
  1. Customers
  • Introduction
  • Authentication
  • KYC/KYB Requirements
  • API Setup Guide
  • Customers
    • Create Customer
      POST
    • List Customers
      GET
    • Get Customer
      GET
    • Update Customer
      PATCH
  • Cards
    • Submit KYC/KYB Applicant
      POST
    • Issue Card
      POST
    • Cards List
      GET
    • Get Card
      GET
    • Get Sensitive Card Details
      GET
  • Card Operations
    • Activate Card
      POST
    • Freeze Card
      POST
    • Unfreeze Card
      POST
    • Cancel Card
      POST
    • Replace Card
      POST
    • Set / Reset Card PIN
      POST
    • Get Card Limits
      GET
    • Update Card Limits
      POST
  • Funding
    • Top Up Card
      POST
    • Get Card Balance
      GET
    • List Top-Up History
      GET
  • Transactions
    • List All Transactions
      GET
    • List Card Transactions
      GET
    • List Customer Transactions
      GET
    • Get Transaction
      GET
  • Products
    • List Products
    • Get Product
  • Utilities
    • Upload Documents
  • Webhook's
    • Webhooks
  1. Customers

Create Customer

POST
/{{baseurl}}/api/v1/Customers
Creates a new customer record.
⚠️ Required Fields
FieldTypeDescriptionConstraints
typestringindividual or businessPattern: `^(individual
emailstring (email)Unique email address-
phoneCodestringInternational dialling code (e.g. +44)-
phoneNumberstringPhone number without country code-
countrystringCountry of residence-
Optional Fields
FieldTypeDescriptionConstraints
firstNamestringCustomer's first nameMax: 100 · Nullable
lastNamestringCustomer's last nameMax: 100 · Nullable
businessNamestringRequired for business customersNullable
dateOfBirthstring (date)Required for individual customers (YYYY-MM-DD)Nullable
genderstringmale, female, otherNullable
externalReferencestringYour internal customer IDMax: 200 · Nullable

Request

Header Params

Body Params application/jsonRequired

Examples

Responses

🟢201
application/json
Customer created successfully.
Body

🟠401
🟠409
🟠422
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location -g --request POST '/{{baseurl}}/api/v1/Customers' \
--header 'X-API-Key;' \
--header 'X-Signature;' \
--header 'X-Timestamp;' \
--header 'X-Nonce;' \
--header 'X-Body-Hash;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "type": "individual",
    "firstName": "Jane",
    "lastName": "Doe",
    "email": "jane.doe@example.com",
    "phoneCode": "+44",
    "phoneNumber": "7700900000",
    "dateOfBirth": "1990-06-15",
    "gender": "female",
    "country": "GB",
    "externalReference": "usr_12345"
}'
Response Response Example
{
    "data": {
        "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "type": "individual",
        "firstName": "Jane",
        "lastName": "Doe",
        "email": "jane.doe@example.com",
        "phoneCode": "+44",
        "phoneNumber": "7700900000",
        "country": "GB",
        "status": "active",
        "kycState": "not_submitted",
        "createdAt": "2024-01-15T10:30:00Z"
    },
    "request_id": "req_abc123",
    "timestamp": "2024-01-15T10:30:00Z"
}
Modified at 2026-02-19 17:53:55
Previous
API Setup Guide
Next
List Customers
Built with