Webhooks (Notification)
Our APIs use webhooks for event notifications. Webhooks are push API calls that let your app know an event has happened.
In order to receive notifications about the events in your platform, you have to previously configure the notification when you do the POST
of the transaction, indicating the URL in the field callback
.
Event
Whenever an event occurs, we will send you a notification in json format using HTTP POST to the URL that you specified.
Each JSON-formatted POST notification message contains event information based on the resource type and the event type.
Note: If your app responds with any other status code, we tries to resend the notification message 5 times over the course of three days.
Security - To prevent downgrade attacks
Every notification we send to your endpoint is signed. We do this by including a header named "SmartFastPay-Signature"
in every event we send. This allows you to verify and ensure that the event was sent by SmartFastPay and not a third party.
Notification example
An example of a successful payment notification:
Successful Payment Notification
Notification data details
An example of an unsuccessful payout notification
Unsuccessful Payout Notification
Notification data details
Last updated