> ## Documentation Index
> Fetch the complete documentation index at: https://developer.paywint.com/llms.txt
> Use this file to discover all available pages before exploring further.

# payment.success

> Sent when a payment is successfully completed.

The `payment.success` event is sent when a payment has been **successfully completed** and funds have been confirmed.

Use this webhook to mark transactions as completed, grant access to services, or trigger fulfillment workflows in your system.

***

## Example Payload

```json theme={null}
{
  "event": "payment.success",
  "id": "99036bd3-a8b2-403c-867c-3d03dafbe4b7",
  "data": {
    "payment_id": "b91a0f36-b10b-4a31-ae12-e8b4c5ee71f4",
    "status": "success",
    "amount": 599
  },
  "eventGeneratedTime": 1756451608.069325
}
```

***

## Data Fields

<ResponseField name="payment_id" type="string">
  Unique identifier for the payment transaction.
</ResponseField>

<ResponseField name="status" type="string">
  Final status of the payment. Always <code>success</code> for this event.
</ResponseField>

<ResponseField name="amount" type="float">
  Payment amount expressed in the major currency unit (for example, USD).
</ResponseField>

## Handling the Event

Use this event to:

* Mark the payment as completed in your system
* Unlock purchased content or services
* Trigger fulfillment or settlement workflows
* Notify users of successful payment completion

## Related Events

* [payment.opened](/webhooks/events/payment/opened)
* [payment.initiated](/webhooks/events/payment/initiated)
* [payment.processing](/webhooks/events/payment/processing)
* [payment.settling](/webhooks/events/payment/settling)
* [payment.rejected](/webhooks/events/payment/rejected)
* [payment.fee-refunded](/webhooks/events/payment/fee-refunded)
* [payment.refunded](/webhooks/events/payment/refunded)
* [payment.failed](/webhooks/events/payment/failed)
