Pay an order by card over HTTP 402
No credential: 402 with a card challenge in WWW-Authenticate (MPP, method stripe: a Stripe Shared Payment Token for this site). With Authorization: Payment and the credential: the payment, the delivery, and the receipt (Payment-Receipt header, receipt_url). The order id is the capability; no key needed. Optional JSON body {"buyer": {"vat_id", "country", "company", "address"}} on both requests: an EU VAT ID that VIES confirms gets an invoice. The price includes any VAT.
post/api/agent/orders/{id}/payment
Request
- Base URL: https://agentsindex.ai
- URL: https://agentsindex.ai/api/agent/orders/{id}/payment
- Auth: none required
Path parameters
idstring uuid required
Response
Paid and delivered: the order, the payment and its receipt.
object required
Changes
No recorded changes to this operation across all 2 revisions of this API.