Export payouts
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/payouts/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"}Export collections POST
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.
Export the audit trail POST
Every audited action in the period, for an auditor to hold. **Attempts as well as successes.** `succeeded` is a column, not a filter: a trail that records only what worked answers "what did we do" and not "what was attempted", and an investigation starts from the second. **Oldest first**, unlike the activity screen. Somebody reading an export is reconstructing a sequence; the newest-first order that suits a dashboard makes that read backwards. Actors are named, not just identified — the file is joined to the user rather than leaving an auditor to resolve UUIDs from a second export. System and API-key actions keep their place, with no name.