Membership
Prepare the payment form for the current buyer
Changed onEnsures the signed-in buyer exists as a customer on the team's connected account and returns a customer session so the payment form can show their saved cards.
post/account/membership/payment-session
Request
- Base URLhttps://api.session.services
- AuthAPI key in header x-tenant-id
Request body
object required
programId, string required
Response
OK
object required
What the payment form needs before the purchase starts
provider, 'STRIPE' required
stripeAccountId, string required
Connected account the payment form must be loaded for
customerSessionClientSecret, string
Lets the payment form show the buyer's saved cards. Absent when the provider declined to issue one.
Changes
- warning
the
programIdrequest property's maxLength was set to128
- warning
- warning
added the new
MEMBERSHIP_SUSPENDEDenum value to theoneOf[subschema #1]/data/reasonresponse property for the response status
- warning