Card Shipped Webhook

data Object (event payload)

FieldValueIs RequiredDescription
accountobjectYesIDs and identifiers associated with the account of an event (see below)
timestampDateYesDate and time the event is received by Berkeley
cadintegerYesProcessor specific and processor generated card ID. Example: "12534"

account Object

FieldValueIs RequiredDescription
idintegerYesid of cardholder account
cardholder_idintegerYesid of cardholder
processor_referencestringYesreference to the account on the processor's system

Sample Request

{
  "program_id": 2,
  "event": "card_shipped",
  "event_time": "2021-09-28T10:23:17.560200822-04:00",
  "data": {
    "account": {
      "id": 1,
      "cardholder_id": 1,
      "processor_reference": "129201097356"
    },
    "timestamp": "2021-09-28T10:23:17Z"
    "cad": "12534"
  }
}

JSON Schema

{
  "$id": "https://api.pungle.io/schemas/event/card_shipped",
  "title": "Card Shipped Event payload",
  "type": "object",
  "properties": {
    "account": {
      "title": "Account Information",
      "type": "object",
      "properties": {
        "id": {
          "description": "ID of cardholder account",
          "type": "number",
          "minimum": 0
        },
        "cardholder_id": {
          "description": "ID of cardholder",
          "type": "number",
          "minimum": 0
        },
        "processor_reference": {
          "description": "Reference to the account on the processor's system",
          "type": "string"
        }
      }
    },
    "timestamp": {
      "description": "Date and time Berkeley receives the event",
      "type": "string"
    }
  }
}