Skip to content

Payments

The Payments API exposes a read-only list of a venue's paid and refunded payments. It uses the same OAuth token as the rest of the Third Party API (see Authentication) — any token authorized for the venue you query works here, with no extra setup.

Read-only

This endpoint never creates, modifies or deletes payments. It is a reporting / reconciliation feed.

GET /api/v1/payments

Retrieves a list of PAID and REFUNDED payments for a venue, filtered by date and paginated.

Activation lifecycle

The first time a venue is queried, Playtomic builds a one-time snapshot of that venue's recent payment history before data becomes available.

First call returns 202 Accepted

While the snapshot is being built, the API responds with 202 Accepted and a Retry-After header (in seconds). The body looks like:

{ "status": "PROCESSING", "tenant_id": "<tenant-id>", "activated_at": "2026-05-04T10:14:50Z" }
Wait and retry (we recommend exponential backoff). Once the snapshot is ready, calls return 200 OK. For most venues this takes a few minutes; large venues take longer.

What the snapshot covers

The snapshot is not a venue's complete payment history. It covers the 13 months of payments before that venue was onboarded to this API, and it is built once, from the payment records as they stood at that moment. Payments older than that window are not included.

Because it is built once and not rebuilt, a value that was not yet available when a venue's snapshot was taken does not get filled in on the payments already in it. onsite_method_info is the field where this is currently visible — see OnsiteMethodInfo Model.

Parameters

Parameter Type Required Description
tenant_id String Yes ID of the venue/club whose payments you want to retrieve.
start_service_date Date (UTC) No Filter by service date (when the service takes place). Format: YYYY-MM-DDTHH:MM:SSZ. Cannot be combined with payment-date filters.
end_service_date Date (UTC) No Upper bound of the service-date filter.
start_payment_date Date (UTC) No Filter by payment date (when the money moved). Cannot be combined with service-date filters.
end_payment_date Date (UTC) No Upper bound of the payment-date filter.
cursor_id String No Cursor marking where to continue. Use the next_cursor_id from the previous response. Omit on the first request.
limit Int No Max results to return. Default 100, max 100 (values above are clamped).

Date filters

  • You may filter by one date axis only — either service date or payment date, never both in the same request.
  • The maximum range in a single request is 13 months.
  • If you provide no date filter, the API defaults to the last 13 months.
  • All timestamps are UTC.

Pagination

This endpoint uses cursor-based pagination, the platform standard.

  • Make the first request with no cursor_id.
  • Each response carries next_cursor_id and has_more.
  • To fetch the next page, send the next_cursor_id value back as the cursor_id parameter.
  • When has_more is false (and next_cursor_id is null), you have retrieved everything.

Cursor pagination does not compute total counts — it is more efficient for large exports and stays consistent even while data changes.

Response (200)

A cursor-paginated object wrapping the results:

Field Type Description
data List[Payment] The payments for this page. See Payment Model.
has_more Boolean true if more results are available via next_cursor_id.
next_cursor_id String Cursor to retrieve the next page. null on the last page.
last_modified Date (UTC) When a response is served from cache, the timestamp the cached data was generated (see Conventions → Cached Data). Payment lists are read live, so this is currently always null.

Models

Payment Model

Most fields are grouped into nested objects. Any field may be null when not applicable to that payment. A whole nested object is null (not an empty object) when none of its fields apply — e.g. payment_info is omitted entirely for a record that carries no payment-level data, so always null-check a group before reading its fields.

Field Type Description
club_payment_id String Unique ID of this payment record.
payment_id String ID of the original payment (when applicable).
refund_id String ID of the refund (present on refunded records).
company_info Object Billing company details.
user_info Object The payer.
product_info Object What was paid for.
payment_info Object Amounts, taxes and status.
customer_invoice_info Object Customer invoice reference, if invoiced.
payout_info Object The payout that settled this payment, if settled.

CompanyInfo Model

Field Type Description
name String Corporate / billing name of the venue entity.
tax_id String Tax identifier of the venue entity.

UserInfo Model

Field Type Description
user_id String ID of the payer.
user_name String Name of the payer.

ProductInfo Model

Field Type Description
sport_id String Sport associated with the product, if any.
product_sku String SKU of the product.
origin String The channel the payment was initiated from. Mirrors payment_info.payment_source — same value under a second name; see that field for the value set. This is not the booking origin documented on the Bookings page.
service_date Date (UTC) When the paid-for service takes place.
tax_rate Double Applied tax (VAT) rate.
price String [Money] List price. Format: amount currency_code, e.g. 23.00 EUR.
custom_price String [Money] Custom price, if overridden.
category_name String Product category name.
applied_discount String [Money] Discount applied, if any.
campaign_id String ID of the discount campaign, if any.
campaign_name String Name of the discount campaign, if any.
store_product_info Object Store-sale details, for store products.

StoreProductInfo Model

Field Type Description
item_name String Name of the store item.
units Int Number of units sold.
product_code String Store product code.

PaymentInfo Model

Field Type Description
status String PAID or REFUNDED.
payment_date Date (UTC) When the money moved.
payment_source String The channel the payment was initiated from (same value as product_info.origin). Currently one of WEB_DESKTOP, WEB_MOBILE, APP_ANDROID, APP_IOS, MANAGER, UNKNOWN, or null. It does not describe how the payment was taken — see payment_method_type for that. These are payment channels, not booking origins — see the note below the table.
total String [Money] Total amount. Format: amount currency_code.
subtotal String [Money] Subtotal before taxes.
taxes String [Money] Tax amount.
payment_method_type String How the payment was taken. Known values include CREDIT_CARD, ONSITE, WALLET, APPLE_PAY, GOOGLE_PAY, PAYPAL, IDEAL, BANCONTACT, SWISH, MB_WAY, TERMINAL. This list is not exhaustive and new values are added over time — always handle unknown values with a default branch.
payment_type String SINGLE or SPLIT.
b2b_commission_info Object Playtomic commission on this payment.
net_transfer_amount String [Money] Amount net of Playtomic commission and its tax.
onsite_method_info Object The method the venue recorded for a payment taken on site. null for payments not taken on site, and for some that were — see OnsiteMethodInfo Model before relying on it.

Two different fields are named origin

product_info.origin on this page is the payment channel and carries the payment_source value listed above. The Bookings page documents a different field, also named origin, which records how a booking was created and draws on a larger, open-ended value set.

The two fields are unrelated — nothing copies one into the other — but they share several spellings, including MANAGER, APP_ANDROID, APP_IOS, WEB_MOBILE, WEB_DESKTOP and UNKNOWN. A shared spelling does not mean a shared meaning, so you cannot tell the two fields apart by inspecting a value, and the two should never be compared or joined. Pick the value set that matches the resource you fetched, not the field name.

Booking origins such as APP, WEB, ANEMONE and LEAGUES are not payment channels; do not expect them in payment_source or product_info.origin.

OnsiteMethodInfo Model

For a payment taken at the venue, this object identifies the method the venue recorded against it — cash, a bank transfer, a venue-defined card terminal, and so on. Onsite methods come in two kinds, and the payload does not distinguish them. A small number of platform-wide defaults — currently cash and card at reception — are available to every venue and carry the same id at every venue. Everything else is venue-defined: created by the venue, with an id that belongs to that venue alone.

Field Type Description
id String Identifier of the method. Globally unique — one id always denotes one method. It is not venue-scoped: for the platform-wide defaults, the same id appears on payments from every venue. Stable across renames. May be null.
name String The name recorded against the payment, stored at the time it was taken. For a venue-defined method this is the name the venue gave it, as it stood then. For a platform-wide default it is instead a fixed internal code — CASH or POS — and not the label the venue sees in its own software ("Cash", "Credit card", or their translations). Treat it as data to map, not as text to display. May be null.

Read this before integrating

  • This field is only meaningful for payments taken on site. A payment taken by card or by any other online method has no onsite method, so onsite_method_info is null on every one of them. That is by far the most common reason you will see null, and on most venues it accounts for the majority of payments.
  • An on-site payment can be null too, so the converse does not hold: a null here does not tell you the payment was taken online. An on-site payment has null when the venue recorded no method against it, and when the payment predates this field for that venue (two bullets down). Do not read the presence or absence of this object as "this payment was taken on site" — it is not a reliable indicator of the payment channel.
  • Both members are independently nullable. In particular {"id": "...", "name": null} is a shape you will encounter in production: the method is known, but its name could not be resolved when the payment was recorded. This is not the same as onsite_method_info being null — treat it as a valid record, not a malformed one.
  • Whether your older payments carry a method depends on when the venue was onboarded to this API, not on a date you can look up. The method is recorded going forward from the point this field became available, and the one-time snapshot built when a venue is onboarded includes it. So a venue onboarded after that point has the method on the payments in its snapshot, wherever the venue recorded one. A venue onboarded before it has null on every payment already in its snapshot, whatever was recorded at the till, and those payments are not revisited — one picks up its method only if the payment is updated at the venue later. There is no single cut-off date you can filter on: the same date range can legitimately return a method for one venue and null for another. If you need to know where the boundary falls for a venue you integrate with, ask your Playtomic contact.
  • name is point-in-time. It is the name the method carried when the payment was taken, stored alongside the payment. It is not re-read when you fetch the payment, so a venue-defined method the venue has since renamed keeps its older name on older payments. This is intentional — it is what the venue saw at the till. If you need to group payments by method, key on id.
  • For the platform-wide defaults, name is a code, not a label. Those two methods report CASH and POS on every venue, in every language, however the venue's own software labels them — so reconciling name against the method list a venue shows you will not match for them, and showing it to an end user surfaces an internal constant. Map the two codes to your own wording, or key on id and ignore name entirely. Only venue-defined methods report something a venue would recognise.
  • id is unique, but it is not per-venue. Each id denotes exactly one method across the whole platform, so it is a safe key — but two venues reporting the same id is normal rather than a bug: both are using a platform-wide default. Venue-defined methods behave the opposite way: two venues that both call a method "Bank transfer" report two different ids. An id therefore identifies a method, not a venue's method. If you aggregate across venues, group by venue and id together unless you specifically want the defaults merged.
  • A refund carries the method recorded on the refund itself. It may differ from, or be absent on, the payment being refunded.
"payment_info": {
    "status": "PAID",
    "payment_method_type": "CREDIT_CARD",
    "total": "24.00 EUR",
    "onsite_method_info": null
}
"payment_info": {
    "status": "PAID",
    "payment_method_type": "ONSITE",
    "total": "24.00 EUR",
    "onsite_method_info": {
        "id": "6a1f2c8e-3b47-4d21-9f0a-1c5e8b7d4432",
        "name": "CASH"
    }
}

The same id and the same name appear on every venue using this method.

"payment_info": {
    "status": "PAID",
    "payment_method_type": "ONSITE",
    "total": "24.00 EUR",
    "onsite_method_info": {
        "id": "b83d47a1-02f5-4e6c-8a19-7d4f3c05e9b2",
        "name": "Bank transfer"
    }
}

This id belongs to one venue alone, and name is that venue's own wording.

"payment_info": {
    "status": "PAID",
    "payment_method_type": "ONSITE",
    "total": "24.00 EUR",
    "onsite_method_info": {
        "id": "6a1f2c8e-3b47-4d21-9f0a-1c5e8b7d4432",
        "name": null
    }
}
"payment_info": {
    "status": "PAID",
    "payment_method_type": "ONSITE",
    "total": "24.00 EUR",
    "onsite_method_info": null
}

B2bCommissionInfo Model

Field Type Description
rate Decimal Commission rate applied.
amount String [Money] Commission amount.
tax_rate Decimal Tax rate on the commission.
tax_amount String [Money] Tax on the commission.

CustomerInvoiceInfo Model

Field Type Description
id String Invoice ID.
sequence_id String Invoice sequence number.
issue_date Date (UTC) Invoice issue date.
payer_name String Name on the invoice.
type String Invoice type.

PayoutInfo Model

Field Type Description
payout_id String ID of the payout that settled this payment.
payout_code String Human-readable payout code.
self_invoice_id String Self-invoice reference for the payout.

Errors

Status Code Error Description
202 PROCESSING The venue's snapshot is still being built. Retry after the Retry-After interval.
400 MISSING_TENANT_ID tenant_id was not provided.
400 INVALID_DATE_RANGE The end date is before the start date.
400 DATE_RANGE_TOO_LARGE The requested range exceeds 13 months.
400 AMBIGUOUS_DATE_FILTER Service-date and payment-date filters were combined.
400 INVALID_CURSOR_ID The cursor_id is malformed.
401 or 403 - Missing/expired token, or your token is not authorized for this venue.
429 RATE_LIMIT_EXCEEDED Too many requests (see Conventions → Rate Limiting).

Example

curl --request GET \
  --url "https://thirdparty.playtomic.io/api/v1/payments?tenant_id=tenant-id&start_payment_date=2026-05-01T00:00:00Z&end_payment_date=2026-05-31T23:59:59Z&limit=20" \
  --header "content-type: application/json" \
  --header "Authorization: Bearer <your-secret-token>"
{
    "has_more": true,
    "next_cursor_id": "eyJzZXJ2aWNlX2RhdGUiOiIyMDI2LTA1L...",
    "last_modified": null,
    "data": [
        {
            "club_payment_id": "club-payment-id",
            "payment_id": "payment-id",
            "refund_id": null,
            "company_info": {
                "name": "My Padel Club S.L.",
                "tax_id": "B12345678"
            },
            "user_info": {
                "user_id": "user-id",
                "user_name": "Jane Doe"
            },
            "product_info": {
                "sport_id": "PADEL",
                "product_sku": "COURT_RENTAL",
                "origin": "APP_IOS",
                "service_date": "2026-05-04T18:00:00Z",
                "tax_rate": 21.0,
                "price": "24.00 EUR",
                "custom_price": null,
                "category_name": "Court",
                "applied_discount": "0.00 EUR",
                "campaign_id": null,
                "campaign_name": null,
                "store_product_info": null
            },
            "payment_info": {
                "status": "PAID",
                "payment_date": "2026-05-02T09:31:10Z",
                "payment_source": "APP_IOS",
                "total": "24.00 EUR",
                "subtotal": "19.83 EUR",
                "taxes": "4.17 EUR",
                "payment_method_type": "CREDIT_CARD",
                "payment_type": "SINGLE",
                "b2b_commission_info": {
                    "rate": 0.05,
                    "amount": "1.20 EUR",
                    "tax_rate": 0.21,
                    "tax_amount": "0.25 EUR"
                },
                "net_transfer_amount": "22.55 EUR",
                "onsite_method_info": null
            },
            "customer_invoice_info": null,
            "payout_info": {
                "payout_id": "payout-id",
                "payout_code": "PO-2026-0042",
                "self_invoice_id": "SI-2026-0042"
            }
        }
    ]
}