v1

latestOpenAPI 3.1.02026-07-247328324.6 KB
Invoices

Accept advance terms

post/sellers/{seller_id}/invoices/{id}/terms/accept

Path parameters

seller_idstring required

An object id with prefix

Example:user_0123456789ABCDEFGHIJKLMNOPq

An object id with prefix

idstring required

An object id with prefix

Example:user_0123456789ABCDEFGHIJKLMNOPq

An object id with prefix

Headers

IdempotencyKeystring

A unique key per operation, could be V4 UUID or other high‑entropy random string. Keys can be up to 255 characters. See Idempotent Requests.

Example:978771af-77de-4e24-ba39-f602502ceb78

A unique key per operation, could be V4 UUID or other high‑entropy random string. Keys can be up to 255 characters. See Idempotent Requests.

Response

Successful operation

Example response

{
  "data": [
    {
      "date": "2024-01-15",
      "settled_at": "2024-01-15T10:30:00Z",
      "created_at": "2024-01-15T10:30:00Z",
      "id": "user_0123456789ABCDEFGHIJKLMNOPq",
      "currency": "USD",
      "amount": 10000,
      "amount_usd": 10000,
      "transaction_id": "user_0123456789ABCDEFGHIJKLMNOPq",
      "account_id": "user_0123456789ABCDEFGHIJKLMNOPq",
      "seller_id": "user_0123456789ABCDEFGHIJKLMNOPq",
      "program_id": "user_0123456789ABCDEFGHIJKLMNOPq",
      "terms_id": "user_0123456789ABCDEFGHIJKLMNOPq",
      "invoice_id": "user_0123456789ABCDEFGHIJKLMNOPq",
      "fiscal_invoice_id": "user_0123456789ABCDEFGHIJKLMNOPq"
    }
  ]
}