API v1FiatPe Home
FiatPeDocs

Webhook

Webhooks are automated server-to-server notifications sent by FiatPe to your configured callback URL whenever an important payment event occurs, such as payment success, payment failure, refund update, or status change. Webhooks help your system receive real-time updates without repeatedly calling the status API.

Entity

idstring

The unique identifier of the webhook.

entitystring

The type of entity represented by this object.

namestring

The name assigned to the webhook for identification.

emailstring | null

The email address associated with the webhook, if configured.

callback_urlstring

The URL where FiatPe sends webhook event notifications.

failure_countinteger

The number of failed webhook delivery attempts.

last_success_atinteger | null

Unix timestamp of the last successful webhook delivery. Returns null if no successful delivery has occurred.

last_failure_atinteger | null

Unix timestamp of the last failed webhook delivery. Returns null if no failure has occurred.

created_atinteger

Unix timestamp indicating when the webhook was created.

eventsarray

The list of events subscribed to this webhook. FiatPe will send notifications to the callback URL whenever any of these events occur.