Hanzo
OpenapiCommerce

PayPal confirm by pay key — refuses, because a pay key alone does not identify…

Intended to mark every payment carrying the given pay key as paid and flip the order to paid, it cannot do that from this address and does not pretend to:…

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

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

Intended to mark every payment carrying the given pay key as paid and flip the order to paid, it cannot do that from this address and does not pretend to: the shared checkout handler resolves its order from an ORDER ID path parameter that this route does not carry, so it always works against a fresh untyped order and the confirm dispatch refuses it with 400 before the pay key is ever queried. The token gate, the namespace and the store lookup all run ahead of that, so a missing token is still 401 and an unloadable store still 500. Drive a PayPal return through an address that carries the order id.

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 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