Cashback transactions are called “Refund” transactions on the Fidel Dashboard. There are 2 ways you can see Refund Transactions on the Fidel Platform:
- In the Fidel Dashboard, under the Transactions section. They will have a negative amount and the “Refund” status.
- Via the Fidel API, if you’ve registered a
transaction.refund
Webhook. To register a webhook, you can either use the Dashboard or the API:
curl -X POST \
https://api.fidel.uk/v1/hooks \
-H 'Content-Type: application/json' \
-H 'Fidel-Key: sk_test_50ea90b6-2a3b-4a56-814d-1bc592ba4d63' \
-d '{
"event": "transaction.refund",
"url": "https://example.com"
}'