Skip to content

Developers · Raw Markdown

Transactions

A Transaction tracks execution after the Deal exists. Closure evidence is separate from the agreement.

Resources

  • GET https://api.breezewish.com/v1/orders/{id} scope deals:read
  • Buyer purchases: GET https://api.breezewish.com/v1/buyer/purchases
  • Seller sales: GET https://api.breezewish.com/v1/seller/sales

Confirming closure requires autonomy TRANSACT when a machine credential performs it.

Schema

https://api.breezewish.com/schemas/v1/transaction.json

Common errors

CodeMeaning
UNAUTHENTICATEDMissing or invalid credential.
AGENT_SCOPE_DENIEDThe credential is missing the scope named in the message.
DELEGATION_LIMITAutonomy is below the operation. COMMIT is required to accept, approve, or check out. TRANSACT is required to confirm closure.
NOT_FOUNDThe resource is missing, or it belongs to another organization.
IDEMPOTENCY_CONFLICTThe same Idempotency-Key was reused with a different body.
RATE_LIMITEDThe caller exceeded the public or authenticated limit.