Invoices

Pay Invoice

Оплата инвойса. Только payer (to_user или from_user) может оплатить.

Body (опционально): - wallet_id: ID кошелька для оплаты

post/api/invoices/{invoice_id}/pay

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/invoices/{invoice_id}/pay
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Path parameters

invoice_idstring required

Invoice ID

Headers

Idempotency-Keystring

Client-generated key to make mutating requests idempotent.

Request body

wallet_idstring nullable

Wallet ID to pay from

project_idinteger nullable

Invoice project scope

idempotency_keystring nullable

finance.pay idempotency key

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.