Added

Searching payables (experimental)

Search payables returns payables matching your filters directly, without creating a snapshot first. It requires the experimental:payable-search:read scope.

Results are paged with a cursor passed in the request body: send back the nextCursor of each response until it is null.

curl --request POST \
     --url https://public-api.spendesk.com/v1/payables/search \
     --header 'accept: application/json' \
     --header 'authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.masked' \
     --header 'content-type: application/json' \
     --data '{ "limit": 50 }'