SUBSCRIPTIONS WEBHOOK

Kushki can send webhook events that notify your application any time one of the following events happens:

  1. When a charge is successful (successfulCharge)
  2. When an attempt to charge the subscription failed (failedRetry)
  3. When all the the attempts to charge the subscription failed (lastRetry)
  4. When a subscription is deleted (subscriptionDelete)

Here’s what a complete payload looks like when it’s delivered to a Subscriptions webhook:

Method: POST

headers
object
X-Kushki-Key
string
X-Kushki-Signature
string
X-Kushki-SimpleSignature
string
X-Kushki-Id
integer
body
object
name
string

Name of the event: “successfulCharge”, “failedRetry”, “lastRetry”, “subscriptionDelete”

event
object

All the information related to the subscription