Start a purchase for the person to approve
create_checkoutOpen a Stripe Checkout Session for one smack pack and return its URL. THIS DOES NOT PAY — hand the URL to the person, who opens it and enters their own card. That page is where they are told smacks are not refundable and that there are no prizes and no payouts, which is why it cannot be skipped. Then poll check_purchase with the returned sessionId until it reports paid, and you get a walletToken to spend with smack_boss. Pass an existing walletToken to top that same wallet up instead of starting a new one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pack | Yes | Which pack to buy. Call list_packs for the valid ids and prices. | |
| walletToken | No | Optional. A walletToken from an earlier purchase, to add these smacks to that wallet rather than creating a second one. |