Skip to main content
GET
List payment schedules
GET////
Retrieve an array of payment schedules on a specific credit account. This endpoint supports sorting and pagination.

URL path parameters

URL query parameters

Response body

Sample response body

JSON

Authorizations

Authorization
string
header
required

Token used to verify user identity and also authorize user to use service

Path Parameters

account_token
string
required

Unique identifier of the credit account for which you want to retrieve payment schedules.

Send a GET request to /credit/accounts to retrieve existing credit account tokens.

Query Parameters

statuses
enum<string>[]

Status of the payment schedules to retrieve.

Status of the payment schedule.

Available options:
ACTIVE,
COMPLETED,
TERMINATED
frequency
enum<string>[]

Frequency of the payment schedules to retrieve.

Defines how often to make a scheduled payment.

DAILY is only supported with an amount_category of CURRENT_BALANCE or FIXED.

Available options:
ONCE,
MONTHLY,
DAILY
count
integer
default:5

Number of payment schedule resources to retrieve.

Required range: x >= 1
start_index
integer
default:0

Sort order index of the first resource in the returned array.

Required range: x >= 0
sort_by
enum<string>
default:-lastModifiedTime

Field on which to sort. Prefix the field name with a hyphen (-) to sort in descending order. Omit the hyphen to sort in ascending order.

NOTE: You must sort using system field names such as lastModifiedTime, and not by the field names appearing in response bodies such as last_modified_time.

Available options:
lastModifiedTime,
-lastModifiedTime

Response

Expected response to a valid request.

Returns paginated information for multiple payment schedules.

data
object[]
required

List of payment schedules.

count
integer
required

Number of resources returned.

is_more
boolean
required

A value of true indicates that more unreturned resources exist.

end_index
integer
required

Sort order index of the last resource in the returned array.

start_index
integer
required

Sort order index of the first resource in the returned array.