Skip to main content
GET
/
api
/
v1
/
csp
/
settlements
List Settlement Batches
curl --request GET \
  --url https://sandbox.api.paylias.xyz/gateway/api/v1/csp/settlements \
  --header 'Authorization: Bearer <token>' \
  --header 'x-org-id: <x-org-id>' \
  --header 'x-partner-id: <x-partner-id>'
{
  "ok": true,
  "data": {
    "total": 1,
    "batches": [
      {
        "token": "batch_123456789",
        "cutoff_time": 1706630400,
        "started_on": 1706626800,
        "completed_on": 1706634000,
        "status": "COMPLETED",
        "txn_count": 42
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-org-id
string
default:""
required

The Organization ID header used for authorization

x-partner-id
string
default:""
required

The Partner ID header used for authorization

Query Parameters

status
enum<string>

Filter batches by processing status

Available options:
PROCESSING,
COMPLETED,
FAILED
cutoff_from
integer

Unix timestamp (seconds) for the inclusive cutoff start range

cutoff_to
integer

Unix timestamp (seconds) for the inclusive cutoff end range

page
integer

Results page number (minimum 1)

Required range: x >= 1
limit
integer

Page size (maximum 100)

Required range: 1 <= x <= 100

Response

Response containing settlement batches visible to the partner

Standard response structure for successful operations

ok
boolean

Indicates if the operation was successful

Example:

true

data
object

Contains the response data

I