Get one reconciliation
curl --request GET \
--url https://{organization}.rescueconsole.com/api/animals/reconciliations/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/animals/reconciliations/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/animals/reconciliations/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"reconciliation": {
"id": "<string>",
"label": "<string>",
"status": "open",
"line_count": 123,
"matched_count": 123,
"unmatched_count": 123,
"ignored_count": 123,
"verifiable_count": 123,
"matched_cents": 123,
"unmatched_cents": 123,
"gateway": "stripe",
"period_start": "2023-12-25",
"period_end": "2023-12-25",
"closed_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z"
},
"results": [
{
"id": "<string>",
"kind": "payment",
"amount_cents": 2,
"match_state": "unmatched",
"external_reference": "<string>",
"occurred_on": "2023-12-25",
"description": "<string>",
"payment_id": "<string>",
"match_kind": "reference",
"matched_at": "2023-11-07T05:31:56Z",
"ignore_reason": "<string>",
"raw": {},
"adoption_id": "<string>",
"animal_name": "<string>",
"payment_verified_at": "2023-11-07T05:31:56Z",
"payment_amount_cents": 123
}
],
"recorded_but_not_settled": [
{
"id": "<string>",
"amount_cents": 123,
"received_on": "2023-12-25",
"method": "cash",
"gateway": "stripe",
"gateway_reference": "<string>",
"verified_at": "2023-11-07T05:31:56Z",
"adoption_id": "<string>",
"animal_name": "<string>",
"display_name": "<string>"
}
]
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}Reconciliations
Get one reconciliation
The import, its lines by date (5,000 at most), and, when the import says what period it covers, the payments recorded through a processor in that period that no line in it accounts for, 500 at most: money recorded that the processor never settled. When the import names a processor, only that processor’s payments are listed. Needs read on Animals.
GET
/
api
/
animals
/
reconciliations
/
{id}
Get one reconciliation
curl --request GET \
--url https://{organization}.rescueconsole.com/api/animals/reconciliations/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/animals/reconciliations/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/animals/reconciliations/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"reconciliation": {
"id": "<string>",
"label": "<string>",
"status": "open",
"line_count": 123,
"matched_count": 123,
"unmatched_count": 123,
"ignored_count": 123,
"verifiable_count": 123,
"matched_cents": 123,
"unmatched_cents": 123,
"gateway": "stripe",
"period_start": "2023-12-25",
"period_end": "2023-12-25",
"closed_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z"
},
"results": [
{
"id": "<string>",
"kind": "payment",
"amount_cents": 2,
"match_state": "unmatched",
"external_reference": "<string>",
"occurred_on": "2023-12-25",
"description": "<string>",
"payment_id": "<string>",
"match_kind": "reference",
"matched_at": "2023-11-07T05:31:56Z",
"ignore_reason": "<string>",
"raw": {},
"adoption_id": "<string>",
"animal_name": "<string>",
"payment_verified_at": "2023-11-07T05:31:56Z",
"payment_amount_cents": 123
}
],
"recorded_but_not_settled": [
{
"id": "<string>",
"amount_cents": 123,
"received_on": "2023-12-25",
"method": "cash",
"gateway": "stripe",
"gateway_reference": "<string>",
"verified_at": "2023-11-07T05:31:56Z",
"adoption_id": "<string>",
"animal_name": "<string>",
"display_name": "<string>"
}
]
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}Authorizations
An API key from Settings, API keys. It starts with rc_live_.
Path Parameters
The import's ID.
Query Parameters
Only the lines in one state.
Available options:
unmatched, matched, ignored Response
The import.
One import of a processor's settlement file, with its counts.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Payments recorded in the period that no line accounts for. Empty when the import has no period.
Show child attributes
Show child attributes