Create a customer

This endpoint allows you to create a customer with their personal information and address.

POST https://api.digitalpaye.com/v1/customer

Headers

Name
Value

X-Environment

Production

Content-Type

application/json

Authorization

Bearer <AccessToken>

JSON Body

Name
Required
Description
Type

firstName

true

Customer's first name

String

lastName

true

Customer name

String

email

true

Customer email

String

phoneNumber

true

Customer's phone

String

Address

true

Customer's address

Object

Response

{
    "statusCode": 200,
    "message": "Successful",
    "data": {
        "id": "8db1ad33-50d6-4e6f-9ec3-5f9169c621a6",
        "lastName": "GUEI",
        "firstName": "HELIE",
        "email": "[email protected]",
        "phoneNumber": "0151737309",
        "address": {
            "countryCode": "CI",
            "city": "Abidjan",
            "streetAddress": "Yopougon, Niangon"
        },
        "createdAt": "2025-03-28T06:54:41.000Z"
    }
}

Last updated