Membership
Start a membership purchase for the current buyer
Changed onCreates the provider subscription for the signed-in buyer and returns what the browser needs to collect the first annual payment. A pending attempt for the same program is reused.
post/account/membership/purchases
Request
- Base URLhttps://api.session.services
- AuthAPI key in header x-tenant-id
Request body
object required
programId, string required
termsAccepted, unknown required
Response
OK
object required
purchase, object required
A checkout attempt for a membership program
payment, object required
What the browser needs to collect the first payment
Changes
- warning
the
programIdrequest property's maxLength was set to128
- warning
- breaking
the
purchase/currencyresponse property's maxLength was unset from3for the response status - breaking
the
purchase/currencyresponse property's minLength was decreased from3to0for the response status
3 more changes in this revision
- breaking