Skip to main content
GET
/
v1
/
admin
/
settlements
/
pipeline
Get settlement pipeline state distribution
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.keystoneos.xyz/v1/admin/settlements/pipeline', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "states": [
    {
      "state": "<string>",
      "count": 123
    }
  ],
  "total_in_flight": 123,
  "total_terminal": 123
}

Authorizations

Authorization
string
header
required

Auth0 JWT access token. See Authentication for details.

Response

200 - application/json

Successful Response

Current distribution of settlements across all states.

states
PipelineStateCount · object[]
required
total_in_flight
integer
required
total_terminal
integer
required