Adjustment Webhook
data Object (event payload)
Field | Value | Is Required | Description |
---|---|---|---|
account | object | Yes | IDs and identifiers associated with the account of an event (see below) |
timestamp | Date | Yes | Date and time the event is received by Berkeley |
amount | string | Yes | Adjustment Amount. Ex: "21.45" |
type | string | No | Type of adjustment |
act_type | string | No | Processor specific. For all adjustments the activity type is “AD” |
adj_id | string | No | Processor specific. Generated identifier for this adjustment. Example: “462354” |
pmt_id | string | No | Processor specific. Generated identifier for this payment. Example: "7971383" |
balance_id | string | No | Processor specific |
description | string | No | Transaction description. Example: "Transfer from savings" |
source_id | string | No | Processor specific. An identifier that maps back to the origin of the adjustment. |
account Object
Field | Value | Is Required | Description |
---|---|---|---|
id | integer | Yes | id of cardholder account |
cardholder_id | integer | Yes | id of cardholder |
processor_reference | string | Yes | Reference to the account on the processor's system |
available_balance | string | No | available 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"
}
}
}
Updated almost 2 years ago