Skip to main content
POST
/
api
/
v3
/
kyc
Create Kyc Basic Details
curl --request POST \
  --url https://sandbox-api.kotanipay.com/api/v3/kyc \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "userEmail": "<string>",
  "customerKey": "<string>",
  "firstName": "<string>",
  "lastName": "<string>",
  "dob": "<string>",
  "gender": "M",
  "country": "<string>",
  "phone": "<string>"
}
'
{
  "success": true,
  "message": "Kyc Basic Details created successfully",
  "data": {
    "status": "<string>",
    "kycId": "<string>",
    "kycStatus": true
  }
}
This API will create a new KYC basic details record for customer verification.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
userEmail
string
required
customerKey
string
required
firstName
string
required
lastName
string
required
dob
string
required

should be of this format YYYY-MM-DD

gender
enum<string>
required
Available options:
M,
F
country
string
required

example GH,KE,NG

phone
string
required

Response

200 - application/json
success
boolean
Example:

true

message
string
Example:

"Kyc Basic Details created successfully"

data
object