Logo

Command Palette

Search for a command to run...

payment.done

Triggered when a payment is successfully processed

This webhook is sent when a payment is successfully processed for an account. The payload includes the timestamp, event type, and the amount that was charged.

Payload Example

{
  "timestamp": 1640995200,
  "event_type": "payment.done",
  "charged_amount": "$29.00"
}
payment.fail

Triggered when a payment fails to process

This webhook is sent when a payment fails to process. The payload includes the timestamp, event type, the amount that failed to be charged, and the reason for the failure.

Payload Example

{
  "timestamp": 1640995200,
  "event_type": "payment.fail",
  "charged_amount": "$9.00",
  "reason": "Your credit card company is not accessible"
}