curl --request GET \
--url 'https://api.stateset.com/api/v1/prepayments' \
--header "Authorization: Bearer $STATESET_API_KEY"
{
"prepayments": [
{
"amount": "49.00",
"currency": "USD",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"number": "ORD-10042",
"remaining": "string",
"status": "pending",
"supplier_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
],
"total": 102
}
List prepayments
List prepayments
GET
/
api
/
v1
/
prepayments
curl --request GET \
--url 'https://api.stateset.com/api/v1/prepayments' \
--header "Authorization: Bearer $STATESET_API_KEY"
{
"prepayments": [
{
"amount": "49.00",
"currency": "USD",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"number": "ORD-10042",
"remaining": "string",
"status": "pending",
"supplier_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
],
"total": 102
}
Query parameters
string
string
integer (int32)
integer (int32)
Response
PrepaymentListResponse
PrepaymentResponse[]
required
integer
required
Status codes
| Code | Meaning |
|---|---|
200 | — |
curl --request GET \
--url 'https://api.stateset.com/api/v1/prepayments' \
--header "Authorization: Bearer $STATESET_API_KEY"
{
"prepayments": [
{
"amount": "49.00",
"currency": "USD",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"number": "ORD-10042",
"remaining": "string",
"status": "pending",
"supplier_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
],
"total": 102
}
Last modified on August 31, 2026