Account Events Webhook

Galileo POSTs to /AccountEvent to send Account Events to the client. An Account Event is triggered when an event occurs on an account (card activated, updated profile, card shipped, etc.).

Requests

The event data (described in the index pages that follow) will be in the body of the request, as JSON or form data.

JSON example (application/json):

{
  "type": "card_shipped",
  "account_id": "2011",
  "balance": "500.00",
  "cad": "12534",
  "pmt_ref_no": "155200002022",
  "prod_id": "1701",
  "prog_id": "305",
  "timestamp": "2019-10-09 11:20:33 MST",
  "msg_event_id": "1234567891"
}

Form example (application/x-www-form-urlencoded):

type=card_shipped&prod_id=1619&prog_id=255&pmt_ref_no=199999999998&open_to_buy=4.05&timestamp=2019-10-09+11%3A20%3A33+MST

Responses

JSON response example:

{
  "success_code": "0"
}

XML responses should use the webhook name (AccountEvent) as the envelope.
Example:

<AccountEvent><success_code>0</success_code></AccountEvent>

Response Schema


success_codestring

Response ("success") codes. Possible values:

  • 0 - Success
  • 1 - Parameters do not pass validation
  • 2 - Cardholder account not in system
  • 3 - General system failure
  • 4 - Authentication failed
  • 5 - Not ready to accept messages. Event will be retransmitted.

For all but 5, the event will not be retransmitted.

Language