Skip to Content

API reference

This page is generated from the Selflane API's OpenAPI spec, the same schemas the API checks every response against. For what the fields mean and how to use them, see the guides: Locations, Daily sales, Payouts, Payments, Menu, and Errors.

Every request needs Authorization: Bearer sl_live_…. See Authentication.

Base URL: https://developer.selflane.com. Generated from the OpenAPI 3.1.0 spec when this site was last published.

  • GET /v1/business: The business profile of one location
  • GET /v1/locations: The locations this API key covers
  • GET /v1/reports: Daily sales summaries of one location, one entry per ended business day with orders
  • GET /v1/reports/today: Sales so far in one location's business day in progress
  • GET /v1/payouts: Stripe payouts of the account one location trades on, by arrival date
  • GET /v1/payments: Card payments at one location across processors, with their refunds and disputes
  • GET /v1/menu: The current menu of one location: categories, items, modifier groups, taxes and discounts
  • GET /v1/orders: Orders of one location by ended business day: a date range, or every day changed since a checkpoint
  • GET /v1/orders/today: Orders of one location's business day in progress, optionally only some statuses
  • GET /v1/staff: Staff who work at one location, with their roles there; pay rates with staff.pay:read
  • GET /v1/reports/staff: Sales per staff member, gift card sales included, over one location's ended business days
  • GET /v1/timecards: Timecards (clock-ins, breaks, declared cash tips) at one location, by the business day of the clock-in
  • GET /v1/cash-drawers: Cash drawer sessions at one location with their counts, by business day

GET /v1/business

The business profile of one location

Scope: business:read

Query parameters

NameTypeRequiredNotes
locationstringNoRequired when the key covers more than one location.

Response fields

FieldTypeNotes
idstring
locationstring
namestring
timezonestring
currencystring
websitestring or null
addressobject
address.line1string or null
address.line2string or null
address.citystring or null
address.statestring or null
address.postal_codestring or null
address.countrystring or null

Errors

  • 400: Invalid request
  • 401: Missing, unknown, revoked or expired API key
  • 403: Missing scope, a location the key does not cover, or a location without the API on its plan
  • 429: Rate limited; see Retry-After
  • 503: Temporarily unavailable; retry after Retry-After

GET /v1/locations

The locations this API key covers

Scope: business:read

Query parameters

NameTypeRequiredNotes
locationstringNoNarrows the list to one of the key's locations.

Response fields

FieldTypeNotes
dataarray of object
data[].idstring
data[].locationstring
data[].namestring
data[].timezonestring
next_cursorstring or null

Errors

  • 400: Invalid request
  • 401: Missing, unknown, revoked or expired API key
  • 403: Missing scope, a location the key does not cover, or a location without the API on its plan
  • 429: Rate limited; see Retry-After
  • 503: Temporarily unavailable; retry after Retry-After

GET /v1/reports

Daily sales summaries of one location, one entry per ended business day with orders

Scope: reports:read

Query parameters

NameTypeRequiredNotes
fromstring (YYYY-MM-DD)Yes
tostring (YYYY-MM-DD)Yes
locationstringNoRequired when the key covers more than one location.

Response fields

FieldTypeNotes
dataarray of object
data[].datestring
data[].locationstring
data[].beginstring
data[].endstring
data[].versionstring
data[].currencystring
data[].ordersobject
data[].orders.countinteger
data[].orders.openinteger
data[].orders.closedinteger
data[].orders.canceledinteger
data[].orders.canceled_amountinteger
data[].salesobject
data[].sales.item_salesinteger
data[].sales.discountinteger
data[].sales.savedinteger
data[].sales.service_chargeinteger
data[].sales.net_salesinteger
data[].sales.taxinteger
data[].sales.tipinteger
data[].sales.feeinteger
data[].sales.selflaneobject
data[].sales.selflane.totalinteger
data[].sales.selflane.service_feeinteger
data[].sales.selflane.delivery_feeinteger
data[].sales.selflane.delivery_tipinteger
data[].sales.adjustmentinteger
data[].sales.deductioninteger
data[].sales.giftinteger
data[].sales.third_partyinteger
data[].sales.totalinteger
data[].paymentsarray of object
data[].payments[].methodstring
data[].payments[].amountinteger
data[].payments[].tipinteger
data[].payments[].countinteger
next_cursorstring or null

Errors

  • 400: Invalid request
  • 401: Missing, unknown, revoked or expired API key
  • 403: Missing scope, a location the key does not cover, or a location without the API on its plan
  • 429: Rate limited; see Retry-After
  • 503: Temporarily unavailable; retry after Retry-After

GET /v1/reports/today

Sales so far in one location's business day in progress

Scope: reports:read

Query parameters

NameTypeRequiredNotes
locationstringNoRequired when the key covers more than one location.

Response fields

FieldTypeNotes
datestring
locationstring
beginstring
endstring
versionstring
currencystring
ordersobject
orders.countinteger
orders.openinteger
orders.closedinteger
orders.canceledinteger
orders.canceled_amountinteger
salesobject
sales.item_salesinteger
sales.discountinteger
sales.savedinteger
sales.service_chargeinteger
sales.net_salesinteger
sales.taxinteger
sales.tipinteger
sales.feeinteger
sales.selflaneobject
sales.selflane.totalinteger
sales.selflane.service_feeinteger
sales.selflane.delivery_feeinteger
sales.selflane.delivery_tipinteger
sales.adjustmentinteger
sales.deductioninteger
sales.giftinteger
sales.third_partyinteger
sales.totalinteger
paymentsarray of object
payments[].methodstring
payments[].amountinteger
payments[].tipinteger
payments[].countinteger

Errors

  • 400: Invalid request
  • 401: Missing, unknown, revoked or expired API key
  • 403: Missing scope, a location the key does not cover, or a location without the API on its plan
  • 429: Rate limited; see Retry-After
  • 503: Temporarily unavailable; retry after Retry-After

GET /v1/payouts

Stripe payouts of the account one location trades on, by arrival date

Scope: payouts:read

Query parameters

NameTypeRequiredNotes
cursorstringNo
limitintegerNo
fromstring (YYYY-MM-DD)Yes
tostring (YYYY-MM-DD)Yes
locationstringNoRequired when the key covers more than one location.

Response fields

FieldTypeNotes
dataarray of object
data[].idstring
data[].locationstring
data[].stripe_payout_idstring
data[].account_sharedboolean
data[].amountinteger
data[].currencystring
data[].status"pending" | "in_transit" | "paid" | "failed" | "canceled"
data[].failure_codestring or null
data[].automaticboolean
data[].arrival_datestring
data[].createdstring or null
data[].reconciledboolean
data[].breakdownobject or null
data[].breakdown.chargesinteger
data[].breakdown.refundsinteger
data[].breakdown.feesinteger
data[].breakdown.adjustmentsinteger
data[].breakdown.transfersinteger
data[].breakdown.withheldinteger
data[].breakdown.otherinteger
data[].breakdown.netinteger
data[].channelsarray of object
data[].channels[].methodstring
data[].channels[].amountinteger
data[].channels[].countinteger
data[].business_daysarray of object
data[].business_days[].datestring
data[].business_days[].amountinteger
data[].business_days[].countinteger
data[].unmatchedobject or null
data[].unmatched.amountinteger
data[].unmatched.countinteger
next_cursorstring or null

Errors

  • 400: Invalid request
  • 401: Missing, unknown, revoked or expired API key
  • 403: Missing scope, a location the key does not cover, or a location without the API on its plan
  • 429: Rate limited; see Retry-After
  • 503: Temporarily unavailable; retry after Retry-After

GET /v1/payments

Card payments at one location across processors, with their refunds and disputes

Scope: payments:read

Query parameters

NameTypeRequiredNotes
cursorstringNo
limitintegerNo
fromstring (YYYY-MM-DD)Yes
tostring (YYYY-MM-DD)Yes
locationstringNoRequired when the key covers more than one location.

Response fields

FieldTypeNotes
dataarray of object
data[].idstring
data[].locationstring
data[].processor"stripe" | "pax"
data[].type"sale" | "return"
data[].status"succeeded" | "pending" | "canceled" | "failed"
data[].amountinteger
data[].tipinteger or null
data[].application_feeinteger or null
data[].amount_refundedinteger
data[].currencystring
data[].createdstring
data[].orderstring or null
data[].cardobject or null
data[].card.brandstring or null
data[].card.last4string or null
data[].refundsarray of object
data[].refunds[].idstring
data[].refunds[].amountinteger
data[].refunds[].currencystring
data[].refunds[].statusstring
data[].refunds[].createdstring
data[].disputesarray of object
data[].disputes[].idstring
data[].disputes[].amountinteger
data[].disputes[].currencystring
data[].disputes[].statusstring or null
data[].disputes[].reasonstring or null
data[].disputes[].createdstring or null
next_cursorstring or null

Errors

  • 400: Invalid request
  • 401: Missing, unknown, revoked or expired API key
  • 403: Missing scope, a location the key does not cover, or a location without the API on its plan
  • 429: Rate limited; see Retry-After
  • 503: Temporarily unavailable; retry after Retry-After

GET /v1/menu

The current menu of one location: categories, items, modifier groups, taxes and discounts

Scope: menu:read

Query parameters

NameTypeRequiredNotes
locationstringNoRequired when the key covers more than one location.
If-None-MatchstringNoThe ETag of a copy you hold; an unchanged response is 304 with no body.

Response fields

FieldTypeNotes
locationstring
currencystring
channel_markupsobject
channel_markups.onlineany or null
channel_markups.third_partyany or null
menusarray of object
menus[].idstring
menus[].namestring
menus[].descriptionstring or null
menus[].sold_outboolean
menus[].hidden_onlineboolean
menus[].third_partyboolean
menus[].cateringboolean
menus[].hoursarray of object or null
menus[].hours.daysarray of "sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday"
menus[].hours.start_minuteinteger
menus[].hours.end_minuteinteger
categoriesarray of object
categories[].idstring
categories[].namestring
categories[].descriptionstring or null
categories[].sort_ordernumber
categories[].sold_outboolean
categories[].hidden_onlineboolean
categories[].third_partyboolean
categories[].classification"food" | "merchandise" | "beverage" | "alcohol" | "service" | "retail"
categories[].report_groupstring
categories[].tax_idsarray of string
itemsarray of object
items[].idstring
items[].namestring
items[].kitchen_namestring or null
items[].descriptionstring or null
items[].category_idstring or null
items[].menu_idsarray of string
items[].modifier_group_idsarray of string
items[].priceinteger
items[].open_priceboolean
items[].unitstring or null
items[].online_upchargeinteger
items[].third_party_upchargeinteger
items[].percent_offnumber
items[].sold_outboolean
items[].hidden_onlineboolean
items[].third_partyboolean
items[].daily_limitinteger or null
items[].skustring or null
items[].upcstring or null
items[].tagsarray of string
items[].image_urlstring or null
items[].tax_idsarray of string
modifier_groupsarray of object
modifier_groups[].idstring
modifier_groups[].namestring
modifier_groups[].requiredboolean
modifier_groups[].min_selectionsinteger
modifier_groups[].max_selectionsinteger
modifier_groups[].onlineboolean
modifier_groups[].sold_outboolean
modifier_groups[].sub_options_half_and_halfboolean
modifier_groups[].sub_options_quantityboolean
modifier_groups[].optionsarray of object
modifier_groups[].options[].idstring
modifier_groups[].options[].namestring
modifier_groups[].options[].kitchen_namestring or null
modifier_groups[].options[].priceinteger
modifier_groups[].options[].max_quantityinteger
modifier_groups[].options[].preselectedboolean
modifier_groups[].options[].includedboolean
modifier_groups[].options[].onlineboolean
modifier_groups[].options[].sold_outboolean
modifier_groups[].options[].sub_optionsobject or null
modifier_groups[].options[].sub_options.unit_priceinteger
modifier_groups[].options[].sub_options.boosted_priceinteger
modifier_groups[].options[].sub_options.free_quantityinteger
modifier_groups[].options[].sub_options.max_quantityinteger
modifier_groups[].sub_optionsarray of object
modifier_groups[].sub_options[].idstring
modifier_groups[].sub_options[].namestring
modifier_groups[].sub_options[].includedboolean
modifier_groups[].sub_options[].price_tier"unit" | "boosted"
modifier_groups[].sub_options[].free_quantityinteger
taxesarray of object
taxes[].idstring
taxes[].namestring
taxes[].rate_percentnumber
taxes[].inclusiveboolean
taxes[].category_idsarray of string
taxes[].excluded_order_typesarray of "dinein" | "pickup" | "delivery" | "curbside" | "drive" | "qrcode" | "retail"
discountsobject
discounts.price_rulesarray of object
discounts.price_rules[].idstring
discounts.price_rules[].namestring or null
discounts.price_rules[].trigger"automatic" | "manager_approval" | "member_automatic" | "member_manager_approval"
discounts.price_rules[].member_tierinteger or null
discounts.price_rules[].hoursobject or null
discounts.price_rules[].hours.daysarray of "sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday"
discounts.price_rules[].hours.start_minuteinteger
discounts.price_rules[].hours.end_minuteinteger
discounts.price_rules[].menu_idsarray of string
discounts.price_rules[].category_idsarray of string
discounts.price_rules[].item_idsarray of string
discounts.price_rules[].adjustmentany
discounts.price_rules[].excluded_order_typesarray of "dinein" | "pickup" | "delivery" | "curbside" | "drive" | "qrcode" | "retail"
discounts.order_discountsarray of object
discounts.order_discounts[].idstring
discounts.order_discounts[].namestring
discounts.order_discounts[].adjustmentany
discounts.order_discounts[].hoursobject or null
discounts.order_discounts[].hours.daysarray of "sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday"
discounts.order_discounts[].hours.start_minuteinteger
discounts.order_discounts[].hours.end_minuteinteger
discounts.order_discounts[].category_idsarray of string
discounts.order_discounts[].max_per_orderinteger or null

Errors

  • 400: Invalid request
  • 401: Missing, unknown, revoked or expired API key
  • 403: Missing scope, a location the key does not cover, or a location without the API on its plan
  • 429: Rate limited; see Retry-After
  • 503: Temporarily unavailable; retry after Retry-After

GET /v1/orders

Orders of one location by ended business day: a date range, or every day changed since a checkpoint

Scope: orders:read

Query parameters

NameTypeRequiredNotes
cursorstringNo
limitintegerNo
fromstring (YYYY-MM-DD)No
tostring (YYYY-MM-DD)No
updated_sincestringNo
locationstringNoRequired when the key covers more than one location.

Response fields

FieldTypeNotes
dataarray of object
data[].idstring
data[].locationstring
data[].numberinteger or null
data[].business_datestring
data[].versionstring
data[].origin"pos" | "online" | "kiosk" | "third_party"
data[].platformstring or null
data[].fulfillmentstring
data[].status"open" | "in_progress" | "ready" | "fulfilled" | "canceled"
data[].createdstring or null
data[].neededstring
data[].notestring or null
data[].currencystring
data[].amountsobject
data[].amounts.item_salesinteger
data[].amounts.discountinteger
data[].amounts.savedinteger
data[].amounts.service_chargeinteger
data[].amounts.taxinteger
data[].amounts.tipinteger
data[].amounts.feeinteger
data[].amounts.selflaneinteger
data[].amounts.adjustmentinteger
data[].amounts.deductioninteger
data[].amounts.giftinteger
data[].amounts.third_partyinteger
data[].amounts.totalinteger
data[].itemsarray of object
data[].items[].item_idstring or null
data[].items[].namestring
data[].items[].quantitynumber
data[].items[].priceinteger
data[].items[].unit_priceinteger
data[].items[].percent_offnumber
data[].items[].seatinteger
data[].items[].notestring or null
data[].items[].modifiersarray of object
data[].items[].modifiers[].namestring
data[].items[].modifiers[].optionsarray of object
data[].items[].modifiers[].options[].namestring
data[].items[].modifiers[].options[].priceinteger
data[].items[].modifiers[].options[].quantitynumber
data[].items[].modifiers[].sub_optionsarray of object
data[].items[].modifiers[].sub_options[].namestring
data[].items[].modifiers[].sub_options[].quantitynumber
data[].tendersarray of object
data[].tenders[].methodstring
data[].tenders[].amountinteger
data[].tenders[].tipinteger
data[].tenders[].payment_idstring or null
data[].tenders[].cardobject or null
data[].tenders[].card.brandstring or null
data[].tenders[].card.last4string or null
data[].customerobjectMay be absent.
data[].customer.namestring or null
data[].customer.phonestring or null
data[].customer.emailstring or null
next_cursorstring or null
checkpointstring or null

Errors

  • 400: Invalid request
  • 401: Missing, unknown, revoked or expired API key
  • 403: Missing scope, a location the key does not cover, or a location without the API on its plan
  • 429: Rate limited; see Retry-After
  • 503: Temporarily unavailable; retry after Retry-After

GET /v1/orders/today

Orders of one location's business day in progress, optionally only some statuses

Scope: orders:read

Query parameters

NameTypeRequiredNotes
cursorstringNo
limitintegerNo
statusstringNo
locationstringNoRequired when the key covers more than one location.

Response fields

FieldTypeNotes
dataarray of object
data[].idstring
data[].locationstring
data[].numberinteger or null
data[].business_datestring
data[].versionstring
data[].origin"pos" | "online" | "kiosk" | "third_party"
data[].platformstring or null
data[].fulfillmentstring
data[].status"open" | "in_progress" | "ready" | "fulfilled" | "canceled"
data[].createdstring or null
data[].neededstring
data[].notestring or null
data[].currencystring
data[].amountsobject
data[].amounts.item_salesinteger
data[].amounts.discountinteger
data[].amounts.savedinteger
data[].amounts.service_chargeinteger
data[].amounts.taxinteger
data[].amounts.tipinteger
data[].amounts.feeinteger
data[].amounts.selflaneinteger
data[].amounts.adjustmentinteger
data[].amounts.deductioninteger
data[].amounts.giftinteger
data[].amounts.third_partyinteger
data[].amounts.totalinteger
data[].itemsarray of object
data[].items[].item_idstring or null
data[].items[].namestring
data[].items[].quantitynumber
data[].items[].priceinteger
data[].items[].unit_priceinteger
data[].items[].percent_offnumber
data[].items[].seatinteger
data[].items[].notestring or null
data[].items[].modifiersarray of object
data[].items[].modifiers[].namestring
data[].items[].modifiers[].optionsarray of object
data[].items[].modifiers[].options[].namestring
data[].items[].modifiers[].options[].priceinteger
data[].items[].modifiers[].options[].quantitynumber
data[].items[].modifiers[].sub_optionsarray of object
data[].items[].modifiers[].sub_options[].namestring
data[].items[].modifiers[].sub_options[].quantitynumber
data[].tendersarray of object
data[].tenders[].methodstring
data[].tenders[].amountinteger
data[].tenders[].tipinteger
data[].tenders[].payment_idstring or null
data[].tenders[].cardobject or null
data[].tenders[].card.brandstring or null
data[].tenders[].card.last4string or null
data[].customerobjectMay be absent.
data[].customer.namestring or null
data[].customer.phonestring or null
data[].customer.emailstring or null
next_cursorstring or null

Errors

  • 400: Invalid request
  • 401: Missing, unknown, revoked or expired API key
  • 403: Missing scope, a location the key does not cover, or a location without the API on its plan
  • 429: Rate limited; see Retry-After
  • 503: Temporarily unavailable; retry after Retry-After

GET /v1/staff

Staff who work at one location, with their roles there; pay rates with staff.pay:read

Scope: staff:read

Query parameters

NameTypeRequiredNotes
cursorstringNo
limitintegerNo
locationstringNoRequired when the key covers more than one location.

Response fields

FieldTypeNotes
dataarray of object
data[].idstring
data[].locationstring
data[].home_locationstring
data[].employee_idstring or null
data[].first_namestring
data[].last_namestring
data[].display_namestring
data[].emailstring or null
data[].phonestring or null
data[].activeboolean
data[].terminated_onstring or null
data[].createdstring or null
data[].rolesarray of object
data[].roles[].idstring
data[].roles[].namestring
data[].roles[].departmentobject or null
data[].roles[].department.idstring
data[].roles[].department.namestring
data[].roles[].payobjectMay be absent.
data[].roles[].pay.typestring
data[].roles[].pay.rateinteger
data[].roles[].pay.currencystring
data[].salaryobject or nullMay be absent.
data[].salary.amountinteger
data[].salary.currencystring
data[].salary.period"week" | "month" | "year"
data[].salary.effectivestring
data[].salary.shareinteger
next_cursorstring or null

Errors

  • 400: Invalid request
  • 401: Missing, unknown, revoked or expired API key
  • 403: Missing scope, a location the key does not cover, or a location without the API on its plan
  • 429: Rate limited; see Retry-After
  • 503: Temporarily unavailable; retry after Retry-After

GET /v1/reports/staff

Sales per staff member, gift card sales included, over one location's ended business days

Scope: reports:read

Query parameters

NameTypeRequiredNotes
fromstring (YYYY-MM-DD)Yes
tostring (YYYY-MM-DD)Yes
locationstringNoRequired when the key covers more than one location.

Response fields

FieldTypeNotes
locationstring
fromstring
tostring
currencystring
daysarray of string
incomplete_daysarray of string
dataarray of object
data[].staffstring or null
data[].namestring
data[].ordersinteger
data[].net_salesinteger
data[].tipinteger
data[].gift_card_salesinteger
data[].gift_card_ordersinteger
data[].totalinteger

Errors

  • 400: Invalid request
  • 401: Missing, unknown, revoked or expired API key
  • 403: Missing scope, a location the key does not cover, or a location without the API on its plan
  • 429: Rate limited; see Retry-After
  • 503: Temporarily unavailable; retry after Retry-After

GET /v1/timecards

Timecards (clock-ins, breaks, declared cash tips) at one location, by the business day of the clock-in

Scope: timecards:read

Query parameters

NameTypeRequiredNotes
cursorstringNo
limitintegerNo
fromstring (YYYY-MM-DD)Yes
tostring (YYYY-MM-DD)Yes
locationstringNoRequired when the key covers more than one location.

Response fields

FieldTypeNotes
dataarray of object
data[].idstring
data[].locationstring
data[].staff_idstring
data[].staff_namestring or null
data[].roleobject
data[].role.idstring or null
data[].role.namestring or null
data[].business_datestring
data[].status"open" | "closed" | "canceled"
data[].clock_instring
data[].clock_outstring or null
data[].breaksarray of object
data[].breaks[].startstring
data[].breaks[].endstring or null
data[].breaks[].paidboolean
data[].worked_minutesnumber or null
data[].declared_cash_tipinteger
data[].currencystring
data[].hourly_rateintegerMay be absent.
next_cursorstring or null

Errors

  • 400: Invalid request
  • 401: Missing, unknown, revoked or expired API key
  • 403: Missing scope, a location the key does not cover, or a location without the API on its plan
  • 429: Rate limited; see Retry-After
  • 503: Temporarily unavailable; retry after Retry-After

GET /v1/cash-drawers

Cash drawer sessions at one location with their counts, by business day

Scope: cash:read

Query parameters

NameTypeRequiredNotes
cursorstringNo
limitintegerNo
fromstring (YYYY-MM-DD)Yes
tostring (YYYY-MM-DD)Yes
locationstringNoRequired when the key covers more than one location.

Response fields

FieldTypeNotes
dataarray of object
data[].idstring
data[].locationstring
data[].drawerinteger
data[].mode"daily" | "carry_over"
data[].business_datestring
data[].status"open" | "closed"
data[].currencystring
data[].opened_atstring
data[].opened_byobject or null
data[].opened_by.idstring or null
data[].opened_by.namestring or null
data[].opening_floatinteger
data[].closed_atstring or null
data[].closed_byobject or null
data[].closed_by.idstring or null
data[].closed_by.namestring or null
data[].expectedobject or null
data[].expected.openinginteger
data[].expected.cash_salesinteger
data[].expected.cash_refundsinteger
data[].expected.pay_insinteger
data[].expected.pay_outsinteger
data[].expected.totalinteger
data[].countedinteger or null
data[].varianceinteger or null
data[].depositinteger or null
data[].leave_ininteger or null
data[].expected_incompleteboolean
data[].previous_sessionstring or null
data[].next_sessionstring or null
data[].countsarray of object
data[].counts[].idstring
data[].counts[].kind"open" | "close" | "spot"
data[].counts[].amountinteger
data[].counts[].counted_atstring or null
data[].counts[].counted_byobject or null
data[].counts[].counted_by.idstring or null
data[].counts[].counted_by.namestring or null
data[].counts[].denominationsarray of object
data[].counts[].denominations[].denominationinteger
data[].counts[].denominations[].quantityinteger
data[].counts[].denominations[].amountinteger
next_cursorstring or null

Errors

  • 400: Invalid request
  • 401: Missing, unknown, revoked or expired API key
  • 403: Missing scope, a location the key does not cover, or a location without the API on its plan
  • 429: Rate limited; see Retry-After
  • 503: Temporarily unavailable; retry after Retry-After