Documentation Index
Fetch the complete documentation index at: https://docs.fype.dev/llms.txt
Use this file to discover all available pages before exploring further.
Webhook Event Types
Fype supports a variety of events to keep your system in sync with the payment lifecycle.Payment Events
| Event Type | Description |
|---|---|
payment.succeeded | Triggered when a payment has been successfully captured by the gateway. |
payment.failed | Triggered when a payment attempt fails (e.g., insufficient funds, card declined). |
payment.processing | Triggered when a payment is in a pending state (e.g., awaiting bank confirmation). |
payment.captured | Alias for payment.succeeded in some provider contexts. |
Refund Events
| Event Type | Description |
|---|---|
refund.processed | Triggered when a refund has been successfully processed by the gateway. |
refund.failed | Triggered if a refund attempt fails. |
Event Payload Details
Every event contains adata.object which represents the normalized entity (Payment or Refund).
Payment Object
Refund Object
Handling Unsupported Events
Gateways may occasionally send events that are not yet natively mapped by Fype. In such cases, Fype will still forward the event if possible, prefixed withunsupported.. We recommend logging these events but not basing critical business logic on them without verification.