get https://public-api.demo.spendesk.com/v1/snapshots/payables/
Returns an extract ("snapshot") of expenses requested via the POST API. Requires a "key" as parameter.
Keep polling this API every 5 minutes until "status" is equal "COMPLETE" or "ERROR".
The list of expenses is returned under "result.data" when "status" is "COMPLETE".
The response is paginated (30 payables per page, check "result.meta.pagination").
The "snapshot" is kept alive for about 12 hours.
These two APIs (POST and GET) implement the so-called asynchronous request-response pattern. This design decouples long-running backend jobs from the synchronous nature of REST APIs.
For more information about payables, see this guide.