Transaction Notification
We send this notification when a capture or sale moves money on a single or frequent payment. The body is plain JSON: it isn't encrypted, encoded or signed, and every value, amounts included, is a string. If you set a username and password in the backoffice, we send them as HTTP Basic auth. See the webhooks guide for security, retries and duplicates.
Headers
The code you set next to this notification URL in the backoffice, sent back unchanged. Only present if you configured one. Compare it in constant time to check the notification came from us.
Always EasypayNotification/2.0.
Payload
The unique identifier for the notification
The monetary amount, as a decimal string (for example "10.5" or "40"). Parse it as a decimal, not a float.
ISO 4217 currency code
Merchant identification key
The expiration time for the payment. Format YYYY-MM-DD HH:MM:SS, with no timezone offset. Empty when the payment has no expiration.
Payment method used
Example payload
{
"id": "ad3a0bb3-15a0-462c-8049-4abeb2e11f11",
"value": "10.5",
"currency": "EUR",
"key": "Example Key",
"expiration_time": "2025-12-26 10:32:45",
"method": "MBW",
"customer": {
"id": "4a908674-3bfb-47e5-b518-052a5e14b8fb",
"name": "Josefa Gomes",
"email": "customer@example.com",
"phone": "911234567",
"phone_indicative": "+351",
"fiscal_number": "PT123456789",
"key": "Customer Key"
},
"account": {
"id": "3ab50128-567c-4624-9268-04c5899ffb66"
},
"transaction": {
"id": "3ab50128-567c-4624-9268-04c5899ffb60",
"key": "Transaction_key",
"type": "capture",
"date": "2025-12-26 10:32:45",
"transfer_date": "2025-12-29 00:00:00",
"document_number": "MARCEL0208220658120320251226103247",
"values": {
"requested": "10.5",
"paid": "10.5",
"fixed_fee": "0.07",
"variable_fee": "0.08",
"tax": "0",
"transfer": "10.5"
}
}
}Response
Answer with any status from 200 to 204 within 20 seconds to acknowledge the notification. We ignore the response body and headers. Any other final status, a TLS error or a timeout counts as a failure, and we retry up to ten more times over roughly 95 minutes. We follow redirects, but a 301, 302 or 303 turns the POST into a bodiless GET, so register the final URL. See the webhooks guide.
Changes
Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.