GET
List a program's intermediary payments

Authorizations

Authorization
string
header
required

By route: the id_token of the client's server login or of the customer, or a back-office user's token. The gateway authorizer rejects any other token before the route runs.

Query Parameters

programId
string
required

Required for the client's server login and back office: the program to act on. Every handler bounds it.

Minimum string length: 1
sandbox
enum<string>

Back office only, when the token carries no sandbox claim

Available options:
true,
false
state
enum<string>

Only payments in this state (e.g. AWAITING_CONFIRMATION)

Available options:
AWAITING_AUTHORISATION,
AUTHORISED,
TM_SUBMITTING,
LIMIT_REVIEW,
PENDING_TM,
AWAITING_CONFIRMATION,
CONFIRMED,
RESUBMIT_QUEUED,
RELEASING,
RELEASED,
RELEASE_UNKNOWN,
RELEASE_BLOCKED,
FAILED_AFTER_RELEASE_NEEDS_OPS,
TM_REJECTED,
COMPLETED,
EXPIRED,
DECLINED,
TM_REJECTED_HOLD_RETURNED,
CANCELLED,
FAILED_BEFORE_RELEASE,
RESOLVED_RETURNED
month
string

Payments created in this UTC month (YYYY-MM). Without month, state lists every payment in that state; with neither, the current month.

Pattern: ^\d{4}-(0[1-9]|1[0-2])$
cursor
string

nextCursor from the previous page

Maximum string length: 2048
limit
integer

Page size, 1-100 (default 50)

Required range: 1 <= x <= 100

Response

One page

success
enum<boolean>
required
Available options:
true
data
object[]
required
nextCursor
string

Send as cursor for the next page; absent on the last