Create Pending Subscription

Pre-registers a subscription's email/tier before Razorpay ever calls back. Called server-side by the web app's checkout route immediately after creating a Razorpay subscription, so subscription.activated can trust our own DB row instead of webhook-supplied notes.email for a brand-new subscription_id (closes the spoofing gap noted at the top of the webhook handler below).

post/subscriptions/pending

Request

  • Base URL: https://api.memorylayer.in (the document declares no server; this is the origin it was published from)
  • URL: https://api.memorylayer.in/subscriptions/pending
  • Auth: none declared

Headers

x-internal-secretstring nullable

Request body

subscription_idstring required
emailstring required
tierstring required

Response

Successful Response

unknown required

Changes

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