ACCOUNTS_RETRIEVED

Fired when a user's merchant accounts are successfully retrieved from their Google Account. This event is specific to the MassSwitcher feature.

postWebhookaccounts_retrieved

Payload

eventstring

Name of the webhook event.

session_idstring

Unique identifier for the session.

task_idinteger

Unique identifier for the task.

external_user_idstring

Unique identifier for the user.

timestampinteger

Unix timestamp of the webhook event in UTC.

Example payload

{
  "event": "ACCOUNTS_RETRIEVED",
  "session_id": "fb5aa994-ed1c-4c3e-b29a-b2a53222e584",
  "task_id": 25605,
  "external_user_id": "3dcbb19a-b2f1-4a7b-8792-d76027b627b3",
  "merchant": {
    "id": 26,
    "name": "Google Keychain"
  },
  "data": {
    "metadata": {
      "reference_token": "abc123",
      "trace_id": "def456"
    }
  },
  "timestamp": 1710864923198
}

Changes

Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.