Skip to main content
GET
/
api
/
v1
/
csp
/
settlements
/
{batch_id}
/
transactions
Settled Transactions in Batch
curl --request GET \
  --url https://sandbox.api.paylias.xyz/gateway/api/v1/csp/settlements/{batch_id}/transactions \
  --header 'Authorization: Bearer <token>' \
  --header 'x-org-id: <x-org-id>' \
  --header 'x-partner-id: <x-partner-id>'
{
  "ok": true,
  "data": {
    "total": 2,
    "transactions": [
      {
        "token": "txn_123456789",
        "payment_id": "pay_123456789",
        "status": 1,
        "initiated_on": "2023-08-12T08:55:04Z",
        "created_on": "2023-08-12T08:55:04Z"
      },
      {
        "token": "txn_987654321",
        "payment_id": "pay_987654321",
        "status": 1,
        "initiated_on": "2023-08-12T09:10:00Z",
        "created_on": "2023-08-12T09:10:05Z"
      }
    ]
  }
}

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

Path Parameters

batch_id
string
required

The unique identifier for the settlement batch

Example:

"batch_123456789"

Query Parameters

transaction_id
string

Optional transaction identifier filter

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 settled transactions for a settlement batch

Standard response structure for successful operations

ok
boolean

Indicates if the operation was successful

Example:

true

data
object

Contains the response data

I