Payments a line might be
curl --request GET \
--url https://{organization}.rescueconsole.com/api/animals/reconciliations/{id}/lines/{lineId}/candidates \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/animals/reconciliations/{id}/lines/{lineId}/candidates', 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}/lines/{lineId}/candidates"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"results": [
{
"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>"
}
],
"note": "<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)"
}Reconciliations
Payments a line might be
Adoption payments of the same kind and amount as the line, received within 3 days of its date (on any date when the line has none), not voided and not matched in any import. Suggestions, never matches, 25 at most: two identical fees on nearby days look the same here, so confirm the adopter before matching. Needs read on Animals.
GET
/
api
/
animals
/
reconciliations
/
{id}
/
lines
/
{lineId}
/
candidates
Payments a line might be
curl --request GET \
--url https://{organization}.rescueconsole.com/api/animals/reconciliations/{id}/lines/{lineId}/candidates \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/animals/reconciliations/{id}/lines/{lineId}/candidates', 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}/lines/{lineId}/candidates"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"results": [
{
"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>"
}
],
"note": "<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)"
}Authorizations
An API key from Settings, API keys. It starts with rc_live_.