Payment processing
Fired when processing a payment transaction. Returning an error aborts the payment in the platform, but external gateways (e.g., Stripe) may still complete the charge. Enable automatic refunds in settings to reverse failed transactions on external gateways.”
Example payload:
{
"online": null,
"payments": [
{
"amount": 40,
"customer": 1,
"id": 25,
"method": 1,
"pos": 1,
"created": "2025-07-20T16:29:42+02:00",
"...": "..."
}
],
"sales": [
{
"id": 34,
"customer": 1,
"product": 12,
"price": 40,
"total": 40,
"description": "2 Horas\nDomingo, 20 Julio 2025 - 18:30",
"useDate": "2025-07-20T18:30:00+02:00",
"...": "..."
}
]
}