Events
Payment Success Event
Learn how to handle the payment success event in your integration.
The payment.success
event is sent when a payment is successfully processed.
This event contains information about the payment and the resources that were affected by the payment.
Event Payload
The payload of the payment.success
event contains the following fields:
payment_id
: The unique identifier of the payment.resource_type
: The type of resource that was affected by the payment. Now itβs alwaysticket
. In the future may be extended.resource_ids
: An array of unique identifiers of the resources that were affected by the payment.metadata
: Free-form metadata that you passed when creating the payment.send_resources
: A boolean value that indicates if you asked Fourvenues to send the resources via email, SMS or / and WhatsApp(r).