Get Schedule
GET
/schedules/{schedule_id}
const url = 'https://example.com/schedules/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/schedules/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0The rule plus its live instances (oldest first; overdue flagged).
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”schedule_id
required
Schedule Id
string format: uuid
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
ScheduleDetail
object
account_id
required
Account Id
string format: uuid
amount_type
required
Amount Type
string
autopost_policy
required
Autopost Policy
string
currency
required
Currency
string
dtstart
required
Dtstart
string format: date
id
required
Id
string format: uuid
instances
required
Instances
Array<object>
InstanceOutA live (unmatched) expected instance of a schedule.
object
basis
required
Basis
Where the amount comes from: fixed, an estimate basis (last, rolling_avg_3, rolling_avg_12, counterparty_balance = the card’s current balance), override (a pinned instance: the amount is yours) or statement (a recorded card statement balance, decision 80)
string
date
required
Date
string format: date
overdue
required
Overdue
boolean
pinned
required
Pinned
Edited by a human/agent; exempt from rule refresh/resync
boolean
transaction_id
required
Transaction Id
string format: uuid
name
required
Name
string
rrule
required
Rrule
string
source
required
Source
string
status
required
Status
string
Example
{ "instances": [ { "basis": "fixed", "statement_source": "human" } ]}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Example generated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}