Membership

Prepare the payment form for the current buyer

Changed on

Ensures 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 URL: https://api.session.services
  • URL: https://api.session.services/account/membership/payment-session
  • Auth: API key in header x-tenant-id

Request body

programIdstring required

Response

OK

provider'STRIPE' required
stripeAccountIdstring required

Connected account the payment form must be loaded for

customerSessionClientSecretstring

Lets the payment form show the buyer's saved cards. Absent when the provider declined to issue one.

Changes