curl --request PUT \
--url https://api.sandbox.sudo.cards/customers/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "individual",
"name": "<string>",
"status": "active",
"phoneNumber": "<string>",
"emailAddress": "<string>",
"individual": {
"firstName": "<string>",
"lastName": "<string>",
"dob": "<string>",
"otherNames": "<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>",
"dob": "<string>",
"otherNames": "<string>",
"identity": {
"type": "BVN",
"number": "<string>"
},
"documents": {
"idFrontUrl": "<string>",
"idBackUrl": "<string>",
"incorporationCertificateUrl": "<string>",
"addressVerificationUrl": "<string>"
}
},
"documents": {
"idFrontUrl": "<string>",
"idBackUrl": "<string>",
"incorporationCertificateUrl": "<string>",
"addressVerificationUrl": "<string>"
}
},
"metadata": "<string>",
"billingAddress": {
"line1": "<string>",
"city": "<string>",
"state": "<string>",
"postalCode": "<string>",
"country": "<string>",
"line2": "<string>"
}
}
'"{}"Updates the specific customer by setting the values of the parameters provided. Only provided parameters will be changed.
curl --request PUT \
--url https://api.sandbox.sudo.cards/customers/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "individual",
"name": "<string>",
"status": "active",
"phoneNumber": "<string>",
"emailAddress": "<string>",
"individual": {
"firstName": "<string>",
"lastName": "<string>",
"dob": "<string>",
"otherNames": "<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>",
"dob": "<string>",
"otherNames": "<string>",
"identity": {
"type": "BVN",
"number": "<string>"
},
"documents": {
"idFrontUrl": "<string>",
"idBackUrl": "<string>",
"incorporationCertificateUrl": "<string>",
"addressVerificationUrl": "<string>"
}
},
"documents": {
"idFrontUrl": "<string>",
"idBackUrl": "<string>",
"incorporationCertificateUrl": "<string>",
"addressVerificationUrl": "<string>"
}
},
"metadata": "<string>",
"billingAddress": {
"line1": "<string>",
"city": "<string>",
"state": "<string>",
"postalCode": "<string>",
"country": "<string>",
"line2": "<string>"
}
}
'"{}"The _id of the customer you wish to update.
This is the customer type.
individual, company The customer's full name.
This is the status of the customer.
active, inactive Customer's mobile phone number in international format.
Customer's email address.
Individual details. Required if customer type is individual.
Show child attributes
Customer's first name.
Customer's last name.
Customer's date of birth in the format YYYY/MM/DD.
Customer's other names.
Customer's KYC documents.
Show child attributes
ID Card front page url.
ID Card back page url.
Company incorporation certificate url.
Customer address verification document url.
Company details. Required if customer type is company.
Show child attributes
Company name.
Company officer information.
Show child attributes
Customer's first name.
Customer's last name.
Customer's date of birth in the format YYYY/MM/DD.
Customer's other names.
Customer's KYC documents.
Show child attributes
ID Card front page url.
ID Card back page url.
Company incorporation certificate url.
Customer address verification document url.
Customer's KYC documents.
Show child attributes
The customer metadata object in key-value pair. This can be useful for storing additional information about the customer in a structured format
This is the billing address of the customer.
200
The response is of type object.