Hanzo AI
OpenapiCommerce

Create confirm

Meant to mark the payments carrying the given pay key as paid and set the order to paid, it cannot reach that work from this address: the shared checkout…

POST /v1/commerce/store/{storeid}/checkout/paypal/confirm/{payKey}

Addresshttps://api.hanzo.ai/v1/commerce/store/{storeid}/checkout/paypal/confirm/{payKey}
MethodPOST
Operationpost_commerce_store_by_storeid_checkout_paypal_confirm_by_paykey
AuthAuthorization: Bearer $HANZO_API_KEY

Meant to mark the payments carrying the given pay key as paid and set the order to paid, it cannot reach that work from this address: the shared checkout handler takes its order from an ORDER ID path parameter this route does not carry, so the order is always fresh and untyped and the confirm dispatch refuses with 400 before the pay key is queried. The token gate, the namespace middleware and the store lookup all run ahead of that, so authentication and store failures surface first. Behaviour is identical to the unprefixed confirm address; the checkout prefix changes nothing here.

Request

2 fields.

FieldInTypeRequiredDescription
storeidpathstringyes
payKeypathstringyes

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 commerce store checkout paypal confirm add <storeid> <payKey>

Commerce API · All Hanzo APIs · Interactive reference

How is this guide?

On this page