Skip to main content
GET
List costs

Authorizations

Authorization
string
header
required

An API key from Settings, API keys. It starts with rc_live_.

Query Parameters

from
string<date>

The first day, YYYY-MM-DD.

to
string<date>

The last day, YYYY-MM-DD, included.

animal_id
string

One animal's costs, or none for the rescue's own.

category
enum<string>

One kind of cost.

Available options:
veterinary,
medication,
food,
supplies,
boarding,
transport,
grooming,
other
limit
integer
default:200

How many to return. 200 unless you say, 500 at most.

Required range: 1 <= x <= 500

Response

The costs.

results
object[]
required
total_cents
integer
required

Every cost the filters match, not only the ones returned.

by_category
object[]
required

Each kind's total and count, the largest first.