Get Payments

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Requires the Store plan feature (403 otherwise). The store payments for the partner's orders (for a brand partner: its brands' orders), newest first (created_at, then id, both descending), so two pages never overlap. Payments made outside the store (offline) are not listed. A buyer may pay for orders of several partners in one checkout; that payment is listed once, with only your orders' amounts.

Query

  • page — 1 or more, default 1.
  • per_page — optional, 1-500, default 100.
  • created_from — payments created at or after this time (inclusive).
  • created_to — payments created before this time (exclusive); must be later than created_from when both are set.
  • organization_id — payments of one organization (UUID).
  • status — one of status below.

Both times are ISO 8601 YYYY-MM-DDThh:mm[:ss[.ffffff]] with a time zone offset, Z, ±hh:mm or ±hhmm, e.g. 2026-01-01T00:00:00Z. Send + URL-encoded as %2B (created_from=2026-01-01T02:00:00%2B02:00); a raw + reads as a space and is rejected.

An invalid value returns 422 with { "error": "..." }: page below 1, per_page out of range, an unknown or empty status (Parameter status must be one of the following: pending / paid / failed / uncollectible / archived / refunded), an empty or malformed time or one without an offset, created_to not later than created_from (created_to must be after created_from), or an id that is not a UUID (organization_id must be a valid UUID).

Success

200 OK:

{
  "data": [
    {
      "id": "....-d4",
      "status": "paid",
      "currency": "USD",
      "subtotal": 25,
      "tax": 1.25,
      "total": 26.25,
      "payment_method": "credit_card",
      "created_at": "2026-01-15T10:00:00.000Z",
      "paid_at": "2026-01-15T00:00:00.000Z",
      "failure_reason": null,
      "is_renewal": false,
      "organization": { "id": "....-c3", "name": "Contoso" },
      "order_ids": ["....-a1"],
      "invoices": [{ "id": "....-e5", "status": "issued", "note": "Net 30" }]
    }
  ],
  "page_info": { "has_next": false, "total_count": 1 }
}
  • Money (subtotal, tax, total) is a JSON number in major units of currency (12.5 USD, 500 JPY), with a fraction when the amount has one. The totals are your share of the payment, not the buyer's full charge: they are the amounts of your orders on the payment (for a brand partner: its brands' orders), tax included, not other partners' orders paid in the same checkout. total = subtotal + tax.
  • status:
    • pending — not settled yet (for a purchase order: waiting for the PO file or its approval).
    • paid — paid.
    • failed — the charge failed; it may be retried.
    • uncollectible — given up on collecting. A payment stored with the legacy status expired reads as uncollectible, and the uncollectible filter matches it.
    • archived — the unpaid payment was archived.
    • refunded — paid, then refunded.
  • payment_method:
    • credit_card — paid by card in the store.
    • purchase_order — paid against a purchase order (PO) file.
    • lab — a test payment by a Lab Account; nothing is charged.
  • paid_at — the latest date one of your orders on the payment was marked paid (midnight UTC; the time of day is not stored); null while it is not paid. A refunded payment keeps it.
  • failure_reason — the card processor's message for the last failed charge. It stays when the payment later turns uncollectible or archived, and is cleared once it is paid; null when no charge failed.
  • is_renewal — true when any of your orders on the payment is a subscription renewal.
  • organization — the buying organization; null when the payment has none.
  • order_ids — your orders on the payment (Get Order reads one).
  • invoices — invoices of those orders, newest first; note is your note on the invoice (null without one). Invoice status:
    • pending — not issued yet.
    • issued — issued to the buyer.
    • void — cancelled.
  • Card details, payment processor ids and invoice files are not returned.
Query Params
integer

Page number, 1 or more, default 1

integer

Items per page. Optional, 1-500, default 100. Any other value returns 422.

string

Payments created at or after this time (inclusive). ISO 8601 with a time zone offset, e.g. 2026-01-01T00:00:00Z. Send + as %2B.

string

Payments created before this time (exclusive); must be later than created_from when both are set. ISO 8601 with a time zone offset, e.g. 2026-01-01T00:00:00Z. Send + as %2B.

string

Payments of one organization (UUID).

string
enum

One of status.

Allowed:
Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json