Get checkout link
suppco_get_checkout_urlGet a secure checkout link for the signed-in user's cart. The link signs the user into checkout so member pricing and credit apply. It works once and expires after 10 minutes, so call this only when the user is ready to pay and give them the link right away. Buying Club credit is applied by default; set use_wallet to false if the user doesn't want to use their credit.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| use_wallet | No | Apply the user's Buying Club credit to this order (default true). |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart | No | ||
| single_use | Yes | ||
| checkout_url | Yes | Single-use signed-in checkout link | |
| wallet_amount | No | ||
| wallet_applied | No | ||
| expires_in_minutes | Yes |