The EBT Element event object

TypeDescription
typestringA constant string representing the type of event. Either change or ready.
usecasestringA constant string representing the type of EBT Element.

One of: ebt_card_tokenize_number, ebt_pin_check_balance, ebt_pin_capture_payment.
errorstring | nullA string indicating an error, or null if no error has occurred.

Example change event object for a ForageEbtBalanceElement

{
  type: 'ready',
  usecase: 'ebt_pin_check_balance',
  error: null
}

Supported events