Export collections
Every collection in the period, whatever became of it. Failed and refunded charges are included rather than filtered out: a report showing only what settled answers "how much came in" and hides "how much did not", which is the half a business is trying to act on.
Every collection in the period, whatever became of it.
Failed and refunded charges are included rather than filtered out: a report showing only what settled answers "how much came in" and hides "how much did not", which is the half a business is trying to act on.
Authorization
OAuth2PasswordBearer In: header
Cookie Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
A report over a window of time.
Response Body
application/json
application/json
curl -X POST "https://example.com/api/b/v1/reports/collections/export" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "string", "format": "string", "status": "string", "filename": "string", "row_count": 0, "byte_size": 0, "error": "string", "expires_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z"}A short-lived link to the rendered file GET
A signed URL, not the bytes. Streaming a hundred-megabyte CSV back through the API server would hold a worker for the length of somebody's download. The signed link expires in minutes: it is a bearer token for a financial document, and one that outlives the tab it was opened in is a liability.
Export payouts POST
Next Page