updatePerson
Overview
This mutation updates personal fields and resends to AFEX for confirmation if updating personalTaxId.
Special Considerations
- If personalTaxId is being updated, the system will resend the account information to AFEX for confirmation.
Inputs
UpdatePersonArgs
Data
phone (optional): string
phoneCountryCode (optional): Country
personalTaxId (optional): string
Returns
Promise<SuccessResult>
A promise containing a success message.
Example
Running this mutation:
mutation {
updatePerson (data: {
phone: "5713886974"
phoneCountryCode: US
}) {
message
}
}
Gives us:
{
"data": {
"updatePerson": {
"message": "Person updated sucessfully"
}
}
}
Common Errors
- "Financial Institution Request error (E-0014)"
- There was a problem with AFEX verification of the personalTaxId.