Start checkout
Answers with the address of a checkout page for a plan, paid by the month or by the year. The plan changes once it is paid.
View as
opensend.billing.checkout(input)Needs the scopeworkspace:writeFrom a terminal
opensend billing checkoutInput
planIdstringRequiredThe plan to buy:
proormax.One of
freepromaxintervalstringPay by the
monthor by theyear. By the month when left out.One of
monthyear
Returns
The call resolves to the answer, already parsed. A call the API refuses throws OpenSendError with the code and the message of the answer. SDK lists the errors of the client itself.
object"checkout"Always
checkout.urlstringThe address of the page to send the person to.