Skip to content

sendKbaAnswers

Mutation

Spinwheel user verification/consent submit KBA answers (step 2 of 2)

Mutation Signature

mutation {
sendKbaAnswers(input: SendKbaAnswersInput!): SendKbaAnswersResponse!
}

Example Request

mutation SendKbaAnswers($input: SendKbaAnswersInput!) {
sendKbaAnswers(input: $input) {
# Add fields you want to retrieve
}
}

Example Variables:

{
"input": {
"reqOrgContactId": "contact-12345",
"answers": [
{
"questionId": "q1",
"answerId": "a1-option2"
},
{
"questionId": "q2",
"answerId": "a2-option1"
},
{
"questionId": "q3",
"answerId": "a3-option4"
}
]
}
}

Example Response

{
"data": {
"sendKbaAnswers": {
"data": {
"message": "KBA verification successful"
},
"errors": null
}
}
}

Arguments

ArgumentTypeDescription
inputSendKbaAnswersInput!Input containing the KBA answers for verification

Input Types

SendKbaAnswersInput

Input for submitting KBA answers

Required Fields:

FieldTypeDescription
reqOrgContactIdString!Requesting organization contact ID
answers[KbaAnswer!]!KBA answers

KbaAnswer

Required Fields:

FieldTypeDescription
questionIdString!Question ID
answerIdString!Answer ID from list of options

Response Type

Returns: SendKbaAnswersResponse!

SendKbaAnswersResponse

FieldTypeDescription
dataSendKbaAnswersResultSuccess message
errors[SendKbaAnswersError]List of error messages

SendKbaAnswersResult

Result of submitting KBA answers

FieldTypeDescription
messageStringSuccess or status message

SendKbaAnswersError

FieldTypeDescription
messageStringKBA requesting questions error message

Error Types

The response may include the following error types:

SendKbaAnswersError

FieldTypeDescription
messageStringKBA requesting questions error message

Common Errors

Error CodeDescriptionResolution
VALIDATION_ERRORInput validation failedCheck required fields and formats
UNAUTHORIZEDInvalid or expired tokenRe-authenticate and retry
NOT_FOUNDResource not foundVerify the ID or reference