Orders

Pay an order that waits for payment (status requested): its Stripe Checkout while it is open, else a new one for the same order. A person opens payment.url; an agent's own account pays over HTTP 402 instead (POST /api/orders/{id}/payment)

post/api/orders/{id}/checkout

Request

  • Base URL: https://agentdrives.com
  • URL: https://agentdrives.com/api/orders/{id}/checkout
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Path parameters

idstring required

Response

Where to pay

reopenedboolean

true: the same checkout as before; false: a new one for the same order

Changes

No recorded changes to this operation across all 4 revisions of this API.