Webhooks

Subscribe an HTTPS endpoint to the events below. Each delivery carries a signature header with a timestamp and an HMAC of the body. Retries run at 1 minute, 5 minutes, 30 minutes, 2 hours and 12 hours, then the endpoint is disabled and the owner is emailed.

Example

curl -X POST https://perfito.al/v1/cards/PF-8F2A-19/earn \
  -H "Authorization: Bearer sk_test_…" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: 0a99914f" \
  -d '{ "amount": 1450 }'