Recurring Payments of the account, newest first
GET
/v1/accounts/{id}/recurring-payments
curl "https://api.staging.idealx.com/v1/accounts/acc_01937c4e8a2b7d1f9e0c3b5a6d7e8f90/recurring-payments" \ -H "Authorization: Bearer $IDEALX_API_KEY"const res = await fetch("https://api.staging.idealx.com/v1/accounts/acc_01937c4e8a2b7d1f9e0c3b5a6d7e8f90/recurring-payments", { headers: { Authorization: `Bearer ${process.env.IDEALX_API_KEY}` },});if (!res.ok) throw new Error((await res.json()).error.code);const data = await res.json();import osimport requests
res = requests.get( "https://api.staging.idealx.com/v1/accounts/acc_01937c4e8a2b7d1f9e0c3b5a6d7e8f90/recurring-payments", headers={"Authorization": f"Bearer {os.environ['IDEALX_API_KEY']}"}, timeout=30,)res.raise_for_status()data = res.json()Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”OK
Media typeapplication/json
object
recurringPayments
required
Array<object>
A payment repeated on a schedule from the Primary portfolio (D134)
object
id
required
string
status
required
string
recipient
required
object
kind
required
string
id
required
string
name
required
string
line
required
string
removed
required
boolean
instrumentId
required
A currency code, or a coin (CRYPTO:USDC)
string
amount
required
object
kind
required
string
amount
required
Fixed: sent each time
string | null
percent
required
Percent: share of the balance
string | null
keep
required
Above: the balance that stays
string | null
cap
required
The most one payment sends
string | null
schedule
required
object
startDate
required
string
frequency
required
string
dayOfMonth
required
integer | null
lastDay
required
boolean
endDate
required
string | null
maxRuns
required
integer | null
timezone
required
string
nextRunOn
required
string | null
paymentsMade
required
integer
reference
required
string | null
lastRun
required
object
id
required
string
dueOn
required
The date it was for, local to the account
string
status
required
string
amount
required
In the units of what is sent
string | null
reason
required
Why it was skipped or failed
string | null
instructionId
required
string | null
instructionState
required
The payment it made: pending_approval, settled…
string | null
createdAt
required
string
Example
{ "recurringPayments": [ { "status": "active", "recipient": { "kind": "bank" }, "amount": { "kind": "fixed" }, "schedule": { "frequency": "weekly" }, "lastRun": { "status": "running" } } ]}