Gr4vy Embed accepts an
onEvent parameter that can be used to listen to certain
events emitted from the form.
Currently, we Gr4vy Embed emits the following events.
Returned when the initial input (
options) are incorrectly formatted
Returned when the form updates. Currently this only informs the developer if the form is valid.
Returns a full transaction object when the transaction was successfully created.
Returned when the form encounters an API error.