The payment attempt failed.
{ "id": "evt_81239839123", "type": "payment.attempt_failed", "data": { "id": "pay_123123123", "status": "draft", "amount": 300, "currency": "ZAR", "country": "ZA", "external_reference": "order_id_2331120", "payment_method_details": { "type": "card", "card": { "type": "credit", "scheme": "mastercard", "bin": "527346", "last4": "3333" } }, "last_payment_error": { "error_code": "card_declined", "decline_code": "generic_decline", "message": "The request attempted to process a payment, but an error occurred during card processing.", "timestamp": "2025-01-30T10:56:08.727Z" }, "metadata": { "order_id": "o_b5MuE6le7p9W5Ufsf8tQk" }, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } }
The public key (pk_test_TYooMQauvdEDq54NiTt6F5zVxjGmZcjdZa) or secret key (sk_test_4eC39HqLyjWDarjtT1zdp7dc) used for making authenticated calls to the API.
Event payload for payment lifecycle webhooks.
Unique identifier for the event.
Type of event being emitted.
payment.succeeded
payment.attempt_failed
Payment data associated with the event.
Show child attributes
Was this page helpful?