added

Support for Challenge Question Answers

Adds support for collecting challenge question answers when linking an EBT account via (API) Create temporary link. Possible challenge questions are:

  • BIRTH_CITY: A challenge question where the user is asked about their city of birth.
  • PET_NAME: A challenge question where the user is asked about their pet's name.
  • FAVORITE_VACATION_SPOT: A challenge question where the user is asked about their favorite vacation spot.
  • WHO_DO_YOU_ADMIRE: A challenge question where the user is asked about the person they admire the most.
  • BIGGEST_PASSION: A challenge question where the user is asked about their biggest passion.
  • FAVORITE_FOOD: A challenge question where the user is asked about their favorite food.
  • FAVORITE_SONG: A challenge question where the user is asked about their favorite song.
  • FAVORITE_COLOR: A challenge question where the user is asked about their favorite color.

If the username and password are correct, but a challenge question answer is required or incorrect, a webhook event will emit the challenge question type that must be answered. E.g.:

{
  "payload": {
    "temporary_link_id": "temp_s76o1azllg3qe4j9hz2zm6ylt",
    "is_invalid_challenge_question_answer": true,
    "challenge_question_type": "BIRTH_CITY"
  },
  "type": "ebt.link.failure"
}