Create Customer

The Customers API enables you to create and manage customers within your integration.

The endpoint below will enable you to create a customer.

POST /customers

Please verify that the phone number is consistent with the billing address and country. For instance, a Nigerian phone number should match a Nigerian billing address.

Request

{
    "first_name": "required",
    "last_name": "required",
    "email": "required",
    "phone_number": "required",
    "billing_address": {
        "line1": "required",
        "line2": "required",
        "city": "required",
        "state": "required",
        "zip_code": "required",
        "country": "required"
    }
}

Response

{
    "data": {
        "id": "6f7e1e7f-93d1-4fcc-b7a4-738f869615c8",
        "first_name": "Test",
        "last_name": "Customer",
        "email": "test@custom.er",
        "phone_number": "+2348012345678",
        "billing_address": {
            "line1": "123 Test lane",
            "line2": "234 Cdrive",
            "city": "Anon",
            "state": "Acme",
            "zip_code": "12345",
            "country": "US"
        }
    }
}

Last updated