Request Schema
The Webhook implementation needs to support the following scheme
reason
You can receive a webhook request for the following reasons
SubscriptionCreated - A new subscription was approved for one of your items
SubscriptionCancelled - An existing subscription was cancelled
Payment - A successful payment
PaymentFailure - Payment failed, could be due to missing relayer or account balance!
DynamicPaymentRequestRejected - The Request to make a direct debit with a custom amount was rejected during relaying. Payment can't be processed.
link
A link to the payment intent using APIV1
You can fetch the details of the payment intent using the link via GET request
version and home
The version and home keys store meta data The API version and the URL of the service.
Example Webhook code
Last updated