Wallet
Wallet

Subscription Webhook

Handle subscription status webhooks from payment service.

post/api/v1/wallet/subscription/webhook

Request

  • Base URL
    https://backend.caspr.ai (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Headers

X-API-Keystring nullable

Request body

subscription_idstring required
eventstring required
payment_idstring nullable
statusstring nullable
gatewaystring nullable
plan_tierstring nullable
plan_durationstring nullable
paid_countinteger nullable
payment_methodstring nullable
payment_method_detailsobject nullable
start_datestring nullable
end_datestring nullable
next_payment_datetimestring nullable
amountnumber nullable
currencystring nullable
sale_idstring nullable
error_codestring nullable
error_messagestring nullable
gateway_plan_idstring nullable
current_startstring nullable
current_endstring nullable
refund_idstring nullable
refund_statusstring nullable
refund_created_atstring nullable
refund_speed_requestedstring nullable
refund_speed_processedstring nullable
gateway_payment_idstring nullable
gateway_invoice_idstring nullable
gateway_order_idstring nullable
original_payment_amountnumber nullable
amount_refunded_totalnumber nullable
payment_refund_statusstring nullable
payment_created_atstring nullable
payment_descriptionstring nullable
razorpay_eventstring nullable

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.