subscription

Create Order

post/v1/subscription/order

Request

  • Base URL
    https://api.linktodm.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body

checkout_tokenstring required
payment_gateway'RAZORPAY' | 'LEMON_SQUEEZY' | 'DODO_PAYMENTS' required

Payment gateways. Canonical definition — subscription schemas re-export it, and settings.india_payment_gateway (the kill switch) uses it.

redirect_urlstring nullable
namestring nullable
emailstring nullable
phone_numberstring nullable
is_businessboolean
business_namestring nullable
tax_idstring nullable
tax_country_codestring nullable
country_codestring nullable
addressstring nullable
cancel_existing_subscriptionboolean

Response

Successful Response

idstring required
urlstring nullable

Changes

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