@collectivtech/alana-sdk-js / resources/membership / MembershipCheckout
Interface: MembershipCheckout
Defined in: src/resources/membership.ts:241
The response for a membership checkout action contains a session ID, which can be used to query for additional metadata, and a URL. After creating the checkout session, the client MUST redirect to the address given in the url property to complete the checkout process.
Properties
session_id
session_id:
string
Defined in: src/resources/membership.ts:252
The session ID. Clients should consider this opaque, and only use it to access payment-related metadata regarding the purchase.
url
url:
string
Defined in: src/resources/membership.ts:246
The checkout URL. This will most likely be on a third-party site, using Stripe or another payment processor endorsed by the ALANA Platform.