handle_callback
Simulate or process Malipo webhook callback payloads to test and ground your payment integration code with real examples.
Instructions
Simulate or handle the callback payload sent by Malipo to your webhook. Essential for grounding your webhook integration code with real payload examples.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | The amount confirmed by the provider as a decimal string (e.g., '1500.00'). | |
| status | Yes | The final status of the payment (e.g., 'COMPLETED', 'FAILED', 'CANCELLED'). | |
| timestamp | No | The event datetime as a string, e.g. '2024-11-25 16:45:10'. | |
| x_signature | No | The X-Signature header value. HMAC-SHA256 of the JSON payload with alphabetically sorted keys (Python json.dumps(payload, sort_keys=True) format) using your API secret key. | |
| payment_date | No | The date and time the payment was completed, e.g. '2024-11-25 14:30:45'. | |
| reference_id | No | Your system's unique order reference. | |
| transaction_id | Yes | The unique Malipo transaction ID sent in the webhook. |