Create customer

A comprehensive testing strategy is crucial to ensure the successful integration of SmartpayGenie into your application. Here are some key testing types:

Create a customer

https://api.smartpaygenie.com/customer

'POST'

Request parameters

Parameters

Type

Description

Required

first_name

String

Customers first name

Yes

last_name

String

Customers last name

Yes

Email address

String

Customers email address

Yes

phone_number

String

Customers phone number

No

id_no

Number

Customers verification ID

Yes

Request Payload

JSON

{
  "first_name": "John",
  "last_name": "Doe",
  "email_address": "johndoe@example.com",
  "phone_number": "+2348123456789",
  "id_no": 1234567890
}

Response

200 - OK successful response

{
  "id": "customer_id",
  "first_name": "John",
  "last_name": "Doe",
  "email_address": "johndoe@example.com",
  "phone_number": "+2348123456789",
  "id_no": 1234567890,
  "created_at": "2023-11-22T13:37:20Z"
}

Support

If you encounter any issues or have questions, please feel free to contact our dedicated support team.

We are committed to providing you with the best possible experience and support.

Table of Content

Create Customer

Create a customer

Request parameter

Request Payload

Response

Support