Customers

Create and store the customer object to reuse it for later payments.

Parameters

Parameter

Type

Required

Description

firstName
string <= 100 characters
Yes
The customer’s first name
lastName
string <= 100 characters
Yes
The customer’s last name
email
string <= 256 characters
Yes
The customer’s email address
phone
string => 8, <= 18 characters
No

The customer’s phone number

accountReference
string => 5, <= 32 characters
Required for PayTM, UPI and IMPS payment methods
The merchant defined account reference
category
string <= 50 characters
No
The merchant defined category
streetAddress
string <= 50 characters

Yes, if the address object is used

The street address

city

string <= 50 characters

Yes, if the address object is used

The address city
postcode

string <= 12 characters

Yes, if the address object is used

The address zip/postal code
country
string

Yes, if the address object is used

The two-letter ISO country code of the address

Create a Customer

POST https://api.quaife.net/v1/customers/
JSON Request object

{
“firstName”: “Torey”,
“lastName”: “Jacobi”,
“email”: “john@doe.com”,
“phone”: “+234323423”,
“accountReference”:”acc0002″,
“address”: {
“streetAddress”:”StreetAddress”,
“city”: “Boston”,
“postcode”:”01010″,
“country”:”US”
}
}

JSON Response object

{
“id”: “cus_i0doaqvlez”,
“firstName”: “Torey”,
“lastName”: “Jacobi”,
“email”: “jxxx2@doe.com”,
“created”: “2021-01-06T16:36:57.2218962Z”
}

MERCHANT

Should you be interested in becoming a merchant, then please fill out the short form below and one of our specialists will be in touch shortly.

SIGN UP

We are delighted that you are considering using Quaife as your payment partner. Fill in the form below & let’s get started.