Account
Get certified account statement
This GET endpoint is used to retrieve a certified PDF ledger statement for a provided timeframe. <br> You can use this endpoint to obtain a ledger statement for your MassPay account for a specific time period. <br> To use this endpoint, you need to provide the start_date and ending_date as required parameters in the Query string of the URL. <br> The response will include a certified PDF ledger statement containing transaction details for the specified timeframe.
get/payout/account/statement
Request
- Base URLhttps://api.masspay.io/v1.0.0
- Auth
- API key in header Authorization
- or API key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
start_datestring date required
Example:2021-01-01
Starting date of the statement
ending_datestring date required
Example:2021-02-01
Ending date of the statement (not more than 31 days than start_date)
format'PDF' | 'CSV'
Example:PDF
Report format. Defaults to PDF
Response
Successful operation.
Changes
No recorded changes to this operation across all 2 revisions of this API.