# Get settlements

## Settlements Endpoint

> Retrieve the details of all your Settlements in a given time.

```json
{"openapi":"3.0.0","info":{"title":"Reconciliation API - Settlements Endpoint","version":"1.0.0"},"servers":[{"url":"https://merchants-api.directa24.com/v1","description":"Production Server"},{"url":"https://merchants-api-stg.directa24.com/v1","description":"Staging Server"}],"security":[{"bearerAuth":[]},{"cookieAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"},"cookieAuth":{"type":"apiKey","in":"cookie","name":"BEARER_TOKEN"}},"schemas":{"PaginatedSettlements":{"allOf":[{"$ref":"#/components/schemas/Pagination"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Settlement"}}}}]},"Pagination":{"type":"object","properties":{"page":{"type":"integer"},"rows":{"type":"integer"},"maxRows":{"type":"integer"}}},"Settlement":{"type":"object","properties":{"id":{"type":"integer"},"creationDate":{"type":"string","format":"date-time"},"type":{"type":"string"},"currency":{"type":"string"},"requestedAmount":{"type":"number","format":"float"},"fee":{"type":"number","format":"float"},"amountToTransfer":{"type":"number","format":"float"},"status":{"type":"string"},"idMerchant":{"type":"integer"},"merchantName":{"type":"string"}}}}},"paths":{"/settlements":{"get":{"summary":"Settlements Endpoint","description":"Retrieve the details of all your Settlements in a given time.","operationId":"getSettlements","tags":["Balance & Reports"],"parameters":[{"name":"from","in":"query","description":"Transaction creation date interval in UnixTimeStamp format.","schema":{"type":"integer"}},{"name":"to","in":"query","description":"Transaction creation date interval in Unix TimeStamp format, max difference with 'from' value 60 days.","schema":{"type":"integer"}},{"name":"page","in":"query","description":"The page number.","schema":{"type":"integer","default":0}},{"name":"status","in":"query","description":"Transaction status.","schema":{"type":"string","enum":["PENDING","COMPLETED","CANCELLED","FAILED"]}}],"responses":{"200":{"description":"A paginated list of settlements.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedSettlements"}}}}}}}}}
```
