Payments
Create Public Payment
Create a payment on behalf of a guest (unauthenticated) customer.
The caller must supply the project's public_key matching project.data.config.payment_widget.public_payment_key. Only intent=sale is allowed; the destination wallet and recipient_project_id are taken from the project's payment_widget config — the caller cannot override them.
Returns the same shape as POST /api/payments/: { payment_id, client_secret } (Stripe) or { payment_id, payment_url } (Tochka).
post/api/payments/public
Request
- Base URL: https://api.agentstack.tech (the document declares no server; this is the origin it was published from)
- URL: https://api.agentstack.tech/api/payments/public
- Auth: one of:
- API key in header X-API-Key
- HTTP bearer
Headers
Idempotency-Keystring
Client-generated key to make mutating requests idempotent.
Request body
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.