embed.session_generated
Notification that a card embed session was successfully generated.
Event Details
event_type
constenumrequired
The type of event
Allowed:embed.session_generatedsession_id
uuidrequired
The identifier shared by webhook events for the same embed session.card_token
uuidrequired
The token of the card associated with the embed sessionaccount_token
uuidrequired
The token of the account associated with the cardsession_type
stringenumrequired
The type of embed session that was generated
Allowed:CARD_EMBED,PIN_SETTING_EMBEDdevice_details
objectrequired
Details about the request that generated the embed session
Embed Device Details object
- Code block indicating a successful response
200 Return a 200 status to indicate that the data was received successfully
Example JSON Response
{
"event_type": "embed.session_generated",
"session_id": "4273ff06-3ce4-4092-8a1f-0340e33b6375",
"card_token": "4df9a19c-9e1e-40d1-b27a-05e01152ee07",
"account_token": "9a352526-4e69-469a-80b8-e22c71ba3cf0",
"session_type": "CARD_EMBED",
"device_details": {
"ip_address": "192.0.2.1"
}
}