Customers
Create Customer
Overview
Customers
Funding Sources
Cards
Accounts
Authorizations
Transactions
Customers
Create Customer
Creates a new customer.
POST
/
customers
curl --request POST \
--url https://api.sandbox.sudo.cards/customers \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"type": "individual",
"name": "<string>",
"phoneNumber": "<string>",
"emailAddress": "<string>",
"individual": {
"firstName": "<string>",
"lastName": "<string>",
"otherNames": "<string>",
"dob": "<string>",
"identity": {
"type": "BVN",
"number": "<string>"
},
"documents": {
"idFrontUrl": "<string>",
"idBackUrl": "<string>",
"incorporationCertificateUrl": "<string>",
"addressVerificationUrl": "<string>"
}
},
"company": {
"name": "<string>",
"identity": {
"type": "BVN",
"number": "<string>"
},
"officer": {
"firstName": "<string>",
"lastName": "<string>",
"otherNames": "<string>",
"dob": "<string>",
"identity": {
"type": "BVN",
"number": "<string>"
},
"documents": {
"idFrontUrl": "<string>",
"idBackUrl": "<string>",
"incorporationCertificateUrl": "<string>",
"addressVerificationUrl": "<string>"
}
},
"documents": {
"idFrontUrl": "<string>",
"idBackUrl": "<string>",
"incorporationCertificateUrl": "<string>",
"addressVerificationUrl": "<string>"
}
},
"status": "active",
"billingAddress": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "<string>",
"postalCode": "<string>",
"country": "<string>"
}
}'
"{}"
Authorizations
Body
application/json
Response
200
application/json
200
The response is of type object
.
curl --request POST \
--url https://api.sandbox.sudo.cards/customers \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"type": "individual",
"name": "<string>",
"phoneNumber": "<string>",
"emailAddress": "<string>",
"individual": {
"firstName": "<string>",
"lastName": "<string>",
"otherNames": "<string>",
"dob": "<string>",
"identity": {
"type": "BVN",
"number": "<string>"
},
"documents": {
"idFrontUrl": "<string>",
"idBackUrl": "<string>",
"incorporationCertificateUrl": "<string>",
"addressVerificationUrl": "<string>"
}
},
"company": {
"name": "<string>",
"identity": {
"type": "BVN",
"number": "<string>"
},
"officer": {
"firstName": "<string>",
"lastName": "<string>",
"otherNames": "<string>",
"dob": "<string>",
"identity": {
"type": "BVN",
"number": "<string>"
},
"documents": {
"idFrontUrl": "<string>",
"idBackUrl": "<string>",
"incorporationCertificateUrl": "<string>",
"addressVerificationUrl": "<string>"
}
},
"documents": {
"idFrontUrl": "<string>",
"idBackUrl": "<string>",
"incorporationCertificateUrl": "<string>",
"addressVerificationUrl": "<string>"
}
},
"status": "active",
"billingAddress": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "<string>",
"postalCode": "<string>",
"country": "<string>"
}
}'
"{}"