Hanzo
OpenapiCommerce

Authorize an existing order, holding the funds — the checkout spelling

Continues the order named in the path rather than minting one, and shares its handler byte for byte with the unprefixed authorize-by-id address.

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

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

Continues the order named in the path rather than minting one, and shares its handler byte for byte with the unprefixed authorize-by-id address. The order is loaded from the caller org's own store, so another tenant's id is a 404, and the body's order object is merged onto the loaded row before the tally — a field sent here overwrites what is stored. Store resolution, the token gate and the currency override behave as on every other authorize address; settle with the capture address and the same order id.

Request

2 fields.

FieldInTypeRequiredDescription
storeidpathstringyes
orderidpathstringyes

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