HandToHuman CLI reference All commands
DocsCLImarket payment-checkout

Public command

market payment-checkout

Open the hosted page the buyer pays a payment intent on.

Exact invocation
handtohuman market payment-checkout <INTENT_ID> --success-url URL --cancel-url URL
01

Inputs and options

<INTENT_ID>

Required. A pending payment intent. A settled or abandoned intent is refused.

--success-url

Required. Where Stripe returns the buyer after payment.

--cancel-url

Required. Where Stripe returns the buyer who abandons the page.

STADO_INTEGRATION_API_URL

The wisent-integrations origin. Provide its bearer with HANDTOHUMAN_INTEGRATION_TOKEN or the Stado integration bearer field token, read under a dedicated consumer grant after resolving the Skarbiec route. Alternatively, HANDTOHUMAN_STRIPE_KEY_FILE names an owner-only Stripe key file for direct access.

02

Output and state effect

Result

A Checkout Session for exactly the intent’s amount and currency, its id and pay-here URL stored on the intent, and the URL printed as pay_here. Nothing is credited: the buyer still has to pay.

Serialization

Prints the checkout result as JSON by default, or path-and-value lines with --text.

Refusals

  • Refuses an intent that is not pending, naming its state.
  • Refuses a missing bearer with the exact failed Stado credential read and error, or a missing direct key file.
  • Passes through the payment provider’s refusal with its status and message.