Persons
Creates a new person under the account, for verification of Businesses
Changed onThis is for creating persons under your or your sub accounts account, required for verification of businesses. The following limits apply: - Maximum of 9 persons - Maximum of 5 persons with a role of Director - Maximum of 4 persons with a role of UltimateBeneficialOwner - Maximum of 1 person with a role of BusinessContact
post/accounts/{id}/persons
Request
- Base URLhttps://sandbox-api.ryftpay.com/v1
- URLhttps://sandbox-api.ryftpay.com/v1/accounts/{id}/persons
- AuthAPI key in header Authorization
Path parameters
idstring required
Example:ac_b83f2653-06d7-44a9-a548-5825e8186004
the account id of one of your sub accounts
Request body
Example request
{
"firstName": "Fred",
"middleNames": "David",
"lastName": "Jones",
"email": "fred.jones@example.com",
"dateOfBirth": "1990-01-20",
"countryOfBirth": "GB",
"gender": "Male",
"nationalities": [
"GB"
],
"address": {
"lineOne": "123 Test Street",
"city": "Manchester",
"country": "GB",
"postalCode": "SP4 7DE"
},
"phoneNumber": "+447900000000",
"businessRoles": [
"BusinessContact",
"Director"
],
"documents": [
{
"type": "BankStatement",
"front": "fl_01G0EYVFR02KBBVE2YWQ8AKMGJ",
"back": "fl_01G0EYVFR02KBBVE2YWQ8AKMGJ"
}
],
"metadata": {
"accountId": "1"
}
}Response
The person was created successfully
Example response
{
"id": "per_01G0EYVFR02KBBVE2YWQ8AKMGJ",
"firstName": "Fred",
"middleNames": "David",
"lastName": "Jones",
"email": "fred.jones@example.com",
"dateOfBirth": "1990-01-20",
"countryOfBirth": "GB",
"gender": "Male",
"nationalities": [
"GB"
],
"address": {
"lineOne": "123 Test Street",
"city": "Manchester",
"country": "GB",
"postalCode": "SP4 7DE"
},
"phoneNumber": "+447900000000",
"businessRoles": [
"BusinessContact",
"Director"
],
"verification": {
"status": "Required",
"requiredFields": [
{
"name": "phoneNumber"
}
],
"requiredDocuments": [
{
"category": "ProofOfIdentity",
"types": [
"BankStatement"
],
"quantity": 1
}
],
"errors": [
{
"code": "InvalidDocument",
"id": "fl_01HAAHFQKEF4V7S6H3BTA3H85G",
"description": "File corrupted or image not clear"
}
]
},
"documents": [
{
"type": "BankStatement",
"category": "ProofOfIdentity",
"front": "fl_01G0EYVFR02KBBVE2YWQ8AKMGJ",
"back": "fl_01G0EYVFR02KBBVE2YWQ8AKMGJ",
"status": "Pending",
"invalidReason": "Document has expired",
"country": "GB",
"assignedTimestamp": 1470989538,
"lastUpdatedTimestamp": 1470989538
}
],
"metadata": {
"accountId": "1"
},
"createdTimestamp": 1470989538,
"lastUpdatedTimestamp": 1470989538
}Changes
- breaking
removed from the
//////////request propertyanyOflist - info
added to the
//////////request propertyanyOflist
- breaking