Note
This endpoint is limited in availability. For more information, contact your Marqeta representative.
This endpoint is limited in availability. For more information, contact your Marqeta representative.
Retrieve funding activity data by day (JSON)
Action:GETEndpoint:
/views/activitybalances/fundingday
Retrieve funding activity balance data, broken out by credit and debit types and aggregated by day. This endpoint returns a JSON object that contains an array of records matching your filter query.
Query parameters
| Fields | Description |
|---|---|
| expand string optional | Expandable fields for which to retrieve additional details. You can specify any number of expandable fields in a comma-delimited list. For example, expand=pin_purchases_net breaks out PIN purchases by card network.Allowable Values: pin_purchases_net , sig_purchases_net |
Sample response body
The following sample shows a representative response for aGET request to the /views/activitybalances/fundingday?program=my_programfields=post_date,currency,amount_to_send endpoint.
JSON
Retrieve funding activity data by day (file export)
Action:GETEndpoint:
/views/activitybalances/fundingday/{export_type}
Retrieve funding activity balance data, broken out by credit and debit types and aggregated by day. This endpoint asynchronously generates a file in the specified format and returns a job token for retrieving the file when it is completed. The file contains a list of records matching your filter query.
URL path parameters
| Fields | Description |
|---|---|
| export_type string Required | File format in which to export the data. Allowable Values: csv |
Query parameters
| Fields | Description |
|---|---|
| expand string optional | Expandable fields for which to retrieve additional details. You can specify any number of expandable fields in a comma-delimited list. For example, expand=pin_purchases_net breaks out PIN purchases by card network.Allowable Values: pin_purchases_net , sig_purchases_net |
| compress string optional | Type of file compression for the exported file. Allowable Values: gz, zip Default value: gz |
Sample response body
JSON
Retrieve schema for activity balances by day
Action:GETEndpoint:
/views/activitybalances/fundingday/schema
Retrieve a JSON representation of the activity balance view schema for data broken out by credit and debit types and aggregated by day. The schema object contains an array of objects that describe the available columns and the data type of each column.
Sample response body
The following sample shows a representative response for aGET request to the /views/activitybalances/fundingday/schema?program=my_program endpoint. The schema can vary based on the data you are authorized to access (based on the credentials you provide in your request).
JSON