Skip to main content
POST
Create Customer

Authorizations

Authorization
string
header
default:{{APIKey}}
required

Body

application/json
type
enum<string>
default:individual
required

This is the customer type.

Available options:
individual,
company
Example:

"individual"

name
string
required

The customer's full name.

Example:

"Jane Smith"

phoneNumber
string
required

Customer's phone number: 7 to 15 digits, optionally starting with + and the country code (e.g. +2348031234567). Spaces, dashes and brackets are allowed. Required for USD cards. For USD cards, save it in international format, such as +2348031234567; a number without its country code is read as one from the billing country.

Example:

"+2348012345678"

status
enum<string>
default:active
required

This is the initial status of the customer.

Available options:
active,
inactive
Example:

"active"

billingAddress
object
required

This is the billing address

emailAddress
string

Customer's email address. Must be a valid email address. Required for USD cards.

Example:

"jane.smith@example.com"

individual
object

Individual details. Required if customer type is individual.

Example:
company
object

Company details. Required if customer type is company.

Response

Customer created successfully.

statusCode
integer

HTTP status code returned by the API.

message
string

Human-readable description of the result.

data
object

Response payload.