Hanzo
OpenapiCommerce

Authorize a new order against a storefront, holding the funds — the checkout…

Authorizes a new order for the addressed store and holds the funds, answering the saved order with a Location header.

POST /v1/commerce/store/{storeid}/checkout/authorize

Addresshttps://api.hanzo.ai/v1/commerce/store/{storeid}/checkout/authorize
MethodPOST
Operationpost_commerce_store_by_storeid_checkout_authorize
AuthAuthorization: Bearer $HANZO_API_KEY

Authorizes a new order for the addressed store and holds the funds, answering the saved order with a Location header. It binds the identical handler as the shorter authorize address, so the two are ONE operation at two spellings and not two behaviours; the checkout prefix is the newer one. Every rule carries over: admin or published scope on the token, the store loaded first with its currency overriding the body, items reserved before the processor call, and reservations released with the order persisted cancelled on failure. Nothing is settled here.

Request

1 field.

FieldInTypeRequiredDescription
storeidpathstringyes

Response

The document declares no response body for this operation. It answers 200 on success and the platform error shape on failure — see Errors.

Examples

hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


Commerce API · All Hanzo APIs · Interactive reference

How is this guide?

On this page