Hanzo
OpenapiCommerce

Authorize and capture a new order in one call — the checkout spelling

Performs authorization and capture back to back against a newly created order for the addressed store, on the same handler as the unprefixed charge…

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

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

Performs authorization and capture back to back against a newly created order for the addressed store, on the same handler as the unprefixed charge address. It takes the authorize body and inherits every authorize rule, including the store's currency winning over the body and the items being reserved before the processor is called. There is no order id on this address, so it can never continue an existing order. Either half failing answers 400, and the capture side effects run only when both succeed.

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