Skip to main content

Get settlements

curl -X GET \
-H 'authorization: Bearer v4.public.eyJpc3MiOiJs...' \
https://api.sandbox.ledyer.com/v1/settlements \

Query parameters

createdFrom

stringOptional

A date in ISO 8601 format, ex: 2011-10-05T14:48:00.000Z.

createdTo

stringOptional

A date in ISO 8601 format, ex: 2011-10-05T14:48:00.000Z.

currency

array of stringsOptional

A list of one or more currency, each separated by a comma.

fromId

stringOptional

An id used to get the next set of settlements, where the set size is based on the size parameter. It is usually assigned the value from lastId which was retrieved in the response from the last GET /settlements request.

id

array of stringsOptional

A list of one or more id, each separated by a comma.

reference

array of stringsOptional

A list of one or more reference, each separated by a comma.

size

numberOptional

The number of settlements to fetch. Defaults to 100.

storeId

array of stringsOptional

A list of one or more storeId, each separated by a comma.