The create_payment webhook is triggered whenever a payment (received by PAIR Finance) is booked on a case file, providing a breakdown of how the payment amount was allocated across all positions and reflecting the updated open amounts for each position.
{
"id": "LKmKqhZd",
"data": {
"amount": 111.74,
"description": null,
"booking_date": "2025-12-08"
},
"state": "paid",
"created_at": "2025-12-08T20:58:21+01:00",
"case_file_id": "1234567891012",
"total_amount": "111.94",
"webhook_name": "create_payment",
"total_interest": "0.2",
"overpayment_dca": "0.0",
"dca_fees_covered": {
"open_amount": "0.0",
"booking_amount": "55.62",
"initial_amount": "55.62"
},
"total_open_amount": "0.2",
"main_claim_covered": [
{
"open_amount": "0.0",
"creditor_fees": [
{
"id": 105754453,
"type": "creditor_reminder_fee",
"open_amount": "0.0",
"booking_date": "2025-10-30",
"booking_amount": "2.5",
"initial_amount": "2.5"
},
{
"id": 105754454,
"type": "creditor_reminder_fee",
"open_amount": "0.0",
"booking_date": "2025-11-07",
"booking_amount": "2.5",
"initial_amount": "2.5"
}
],
"booking_amount": "51.12",
"initial_amount": "51.12",
"invoice_number": "123456789"
}
],
"total_open_interest": "0.2",
"overpayment_creditor": "0.0",
"total_main_claim_amount": "51.12",
"total_side_claim_amount": "5.0",
"total_dca_fees_costs_amount": "55.62",
"total_main_claim_open_amount": "0.0",
"total_side_claim_open_amount": "0.0",
"total_dca_fees_costs_open_amount": "0.0"
}