Skip to Content
YuzeDocs
Payments

List payments

GET
/v1/payments

Returns payments, newest first, for a date range. Needs payments:read. Voided and declined payments are left out unless you add includeVoided=true, and Card and Credit Card count as the same method.

Authorization

bearerAuth
headerAuthorizationBearer <api_key>

Query Parameters

branchId?string

String. One branch id from List branches. A branch outside the key's branch list returns 403 branch_forbidden; an id that is not in your company returns 404. Left out: every branch the key can read.

Match^[A-Za-z0-9_-]{1,128}$
from?string

Date YYYY-MM-DD (a London day) or an ISO-8601 date-time with offset. Start of the range, included. Left out: 6 days before to.

to?string

Date YYYY-MM-DD (a London day, included) or an ISO-8601 date-time with offset (excluded). End of the range, at most 92 days after from. Left out: today in London.

method?string

String. Only payments with this method name, case-insensitive, such as Cash, Card or Online. Card and Credit Card both return all card payments. Left out: every method.

Lengthlength <= 64
includeVoided?boolean

Boolean. true adds voided records to the list. Left out: false.

Defaultfalse
limit?integer

Integer, 1 to 200. Records per page. Left out: 50.

Range1 <= value <= 200
Default50
cursor?string

String. pagination.nextCursor from the previous page, sent with the same filters. Left out: the first page.

Lengthlength <= 2048
include?"card"

card. Adds the card provider and last four digits to each payment. Left out: no card details.

Value in"card"

Response Body

A page of payments

application/json
  1. response
data*array<>
pagination*
meta*
Example Request
curl -X GET 'https://europe-west2-fyre-pos.cloudfunctions.net/publicApi/v1/payments?branchId=YOUR_BRANCH_ID&from=2026-11-11&to=2026-11-11&method=Card&includeVoided=false&limit=50&include=card'
Example Response
{  "data": [    {      "id": "pubapiPay002",      "transactionId": "YOUR_TRANSACTION_ID",      "branchId": "YOUR_BRANCH_ID",      "method": "Card",      "amount": 24,      "tipAmount": 2.4,      "change": 0,      "currency": "GBP",      "currencySource": "payment",      "createdAt": "2026-11-11T19:42:08.000Z",      "status": "completed",      "isVoid": false,      "isDeclined": false,      "isRefunded": false,      "refundedAmount": 0    }  ],  "pagination": {    "limit": 50,    "hasMore": true,    "nextCursor": "eyJ2IjoxLCJyIjoicGF5bWVudHMifQ.c2lnbmF0dXJl"  },  "meta": {    "requestId": "6f1c2a9e-4b1d-4c4b-9d8e-0a1b2c3d4e5f",    "range": {      "from": "2026-11-11T00:00:00.000Z",      "to": "2026-11-12T00:00:00.000Z",      "fromInput": "2026-11-11",      "toInput": "2026-11-11",      "timezone": "Europe/London",      "toIsExclusive": true    },    "branchIds": "all"  }}