purchase_product_with_payment
Complete a public product purchase after you have obtained a valid X-Payment payload for that product challenge.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metadata | No | Optional metadata object forwarded to the purchase flow | |
| paymentPayload | Yes | Raw X-Payment payload returned by the paying client, as JSON or base64 string | |
| productIdOrSlug | Yes | Product slug or product ID used in the public /p/:id-or-slug purchase route | |
| clientReferenceId | No | Optional client reference ID forwarded to the purchase flow |