Skip to content
SETSimple Easy Transactions
SET DocsSET Crypto API Suite and SET API referenceCurrent as of 2026-11-21 · wallet release 7d8a79fb
Browse: SET Crypto API Suite

SET Crypto API Suite · Cash out to a bank

List payment references

GET/v1/payment_references

Key scope: read · Platform accounts · Success: 200

Lists your payment references, newest first. Filter by customer, state, Cash-Out Address or the Cash-Out payment that settled a reference.

Query parameters

customer string
A customer's id: only that customer's references (exact match).
state "open" | "matched" | "underpaid" | "overpaid" | "expired" | "canceled"
Only references in this state. Any other value answers 400 state_invalid.
cashOutAddress string
A Cash-Out Address id: only references on that address (exact match).
cashOutPayment string
A Cash-Out payment's id: the reference that payment settles (exact match).
limit string
1 to 100; 50 by default (any other value is 50).
createdBefore string
The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it).

Notes

  • Needs a key with the read scope.
  • Payment references are for platform accounts, for reads as well as writes: a business (merchant) account's key gets 403 payment_references_platform_only.
  • A list does not expire overdue references; reading one with GET /v1/payment_references/{id}, or SET's scheduled pass, does.
  • The example was made with a sandbox key.
  • This example is a recorded run of SET's own code (wallet release e9b03447) with a sandbox key; ids and times are that run's.

Errors

  • 403 payment_references_platform_only
  • 400 created_before_invalid
  • 400 state_invalid

All codes: Errors.