Adjustment 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
amountstringYesAdjustment Amount. Ex: "21.45"
typestringNoType of adjustment
act_typestringNoProcessor specific. For all adjustments the activity type is “AD”
adj_idstringNoProcessor specific. Generated identifier for this adjustment. Example: “462354”
pmt_idstringNoProcessor specific. Generated identifier for this payment. Example: "7971383"
balance_idstringNoProcessor specific
descriptionstringNoTransaction description. Example: "Transfer from savings"
source_idstringNoProcessor specific. An identifier that maps back to the origin of the adjustment.

account Object

FieldValueIs RequiredDescription
idintegerYesid of cardholder account
cardholder_idintegerYesid of cardholder
processor_referencestringYesReference to the account on the processor's system
available_balancestringNoavailable balance of account to spend

Sample Request

{
  "program_id": 2,
  "event": "adjustment",
  "event_time": "2021-09-28T10:27:48.071960258-04:00",
  "data": {
    "account": {
      "id": 1,
      "cardholder_id": 1,
      "processor_reference": "129201097356",
      "available_balance": "10.00"
    },
    "timestamp": "2021-09-28T10:23:17Z",
    "type": "ABC",
    "amount": "10.75",
    "adj_id": "462354",
    "act_type": "AD",
    "description": "Transfer from savings",
    "balance_id": "20211",
    "source_id": "31571"
  }
}

JSON Schema

{
  "$id": "https://api.pungle.io/schemas/event/adjustment",
  "title": "Adjustment Event payload",
  "type": "object",
  "properties": {
    "account": {
      "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"
        },
        "available_balance": {
          "description": "The available balance of the account to spend",
          "type": "string"
        }
      }
    },
    "timestamp": {
      "description": "Date and time Berkeley receives the event",
      "type": "string"
    },
    "type": {
      "description": "Type of transaction",
      "type": "string"
    },
    "amount": {
      "description": "Settlement Amount. Ex: 21.45",
      "type": "string"
    }
  }
}