Trusted Contact
The trustedContact
payload stores the details of a designated individual authorized by the account holder. This contact is utilized for account-related purposes in situations such as emergencies, suspected fraud, or scenarios requiring additional verification or communication.
Payload Structure with Validation Rules
- Schema
- Example
Field Name | Type | Description | Validations | Values Accepted |
---|---|---|---|---|
name | String | The full name of the trusted contact person. | Required field without special characters. | a-Z |
relationship | String | The relationship of the trusted contact to the account holder. | Required field with a valid value. | Child, Self, Spouse, Other |
phoneNumber | String | The phone number of the trusted contact. | Required field with a valid 10-digit phone number. | Exact 10 digits |
email | String | The email address of the trusted contact. | Optional field. | Valid email address, if provided. |
address | Object | The mailing address of the trusted contact. | Required field with the mailing address details of the trusted contact. | Refer Mailing Address Rules |
{
"trustedContact": {
"name": "Jane Smith", //string
"relationship": "spouse", //string
"phoneNumber": "2056964444", //string
"email": "[email protected]", //string
"address": {
"country": "US", //string
"street": "2 Perimeter Park S Suite 100W", //string
"city": "Birmingham", //string
"stateProvince": "AL", //string
"postalCode": "35243" //string
}
}
}
Any validation failure will trigger an error message and halt the Account Creation or Updation Process.
Error Scenarios
For any validation failures, refer Standard Errors and Account Related Errors.