Statements endpoint
Last updated: April 29, 2022
The statements endpoint provides a summary of statements and payouts in accordance with your specified parameters.
Note
The statements endpoint is not available in the sandbox environment.
Tip
If you're not familiar with creating API requests, you might want to take a look at our Postman guide.
Information
No payments before February 7th, 2019 at 00.00.00 UTC will appear using the statements endpoint. To view payments before this time, please use the Classic API's transactions endpoint.
Use the details below to set up your request. To set the timeframe of your request, replace {start-date}
and {end-date}
with your desired start and end dates in ISO format. Please note that the time zone for the request will be UTC. The response will be returned in JSON format – but you can also download a CSV copy if you'd like.
get
https://api.checkout.com/reporting/statements?from={start-date}&to={end-date}
Header | Parameter |
---|---|
required |
Use the valid secret key of your Checkout.com account. You can find this in the Hub. |
|
|
If your summary is returned, the request was successful.
1{2"count": 1,3"data": [4{5"id": "190110B107654",6"period_start": "2019-01-09T00:00:00.000",7"period_end": "2019-01-09T23:59:59.000",8"date": "2019-01-10T00:00:00.000",9"payouts": [10{11"currency": "GBP",12"carried_forward_amount": 0,13"current_period_amount": 15005.24,14"net_amount": 15000.24,15"date": "2019-01-10T00:00:00.000",16"period_start": "2019-01-09T00:00:00.000",17"period_end": "2019-01-09T23:59:59.000",18"id": "ABCDEFGH",19"status": "Remitted",20"payout_fee": -5,21"_links": {22"payments": {23"href": "https://api.checkout.com/reporting/statements/190110B107654/payments?payout_id=ABCDEFGH"24}25}26}27],28"_links": {29"payments": {30"href": "https://api.checkout.com/reporting/statements/190110B107654/payments"31}32}33}34],35"_links": {36"next": {37"href": "https://api.checkout.com/reporting/statements?from=01%2F01%2F2019%2000%3A00%3A00&to=01%2F11%2F2019%2000%3A00%3A00&limit=1&skip=1"38},39"self": {40"href": "https://api.checkout.com/reporting/statements?from=01%2F01%2F2019%2000%3A00%3A00&to=01%2F11%2F2019%2000%3A00%3A00&limit=1"41}42}43}
The response is designed to present your information as clearly as possible.
Listed in chronological order (descending), this is a record of all your statements within the selected timeframe. The table below outlines the information included and its meaning.
Parameter | Description |
---|---|
| The ID of the generated statement. |
| The start date of all transactions and amounts that are encompassed within the statement. |
| The end date of all transactions and amounts that are encompassed within the statement. |
| The date the statement was generated. |
| The summary is a breakdown of your statement, ordered by the payout currency and its associated payout ID. |
Grouped by payout currency, this section details all payouts to your bank account within the chosen date range. The table below describes this data and its purpose.
Parameter | Description |
---|---|
| The currency of the payout. |
| The amount carried forward before the statement period. |
| The total amount of transactions during the statement period. |
| The total amount paid out to your bank account. |
| The date the payout was completed. |
| Identifies the associated payment (e.g., PO_123). |
| The status of the payout (e.g., |
| The total fee charged for the payout. |
Did you know?
You can work out your net amount by calculating the sum of the carried forward amount, current period amount and payout fee.
This link allows you to move to the next page of results in the response. Responses are paginated at the payout level.
1{2"_links": {3"next": {4"href": "https://api.checkout.com/reporting/statements?from=01%2F01%2F2019%2000%3A00%3A00&to=01%2F11%2F2019%2000%3A00%3A00&limit=1&skip=1"5}6}7}
This is a direct link to the response associated with the submitted request.
1{2"_links": {3"self": {4"href": "https://api.checkout.com/reporting/statements?from=01%2F01%2F2019%2000%3A00%3A00&to=01%2F11%2F2019%2000%3A00%3A00&limit=1"5}6}7}
You can break down the detail even further by using the payout_breakdown
field. This will provide all totals from each section of the statement.
Set up your request as described above, then simply add &include=payout_breakdown
at the end of the URL. For example:
get
https://api.checkout.com/reporting/statements?from=2018-09-01&to=2018-09-19&include=payout_breakdown
The initial structure of your response will be the same as described above. However, you will also get the following additional fields on your payouts in the current_period_breakdown
and processing_fees_breakdown
sections of your response:
processed_amount
refund_amount
chargeback_amount
payouts_to_card_amount
processing_fees
interchange_fees
scheme_and_other_network_fees
premium_and_apm_fees
chargeback_fees
payout_to_card_fees
payment_gateway_fees
rolling_reserve_amount
tax
admin_fees
general_adjustments
1{2"count": 1,3"data": [4{5"id": "270903C203347",6"period_start": "2019-06-20T00:00:00.000",7"period_end": "2019-06-23T23:59:59.000",8"date": "2019-06-28T00:00:00.000",9"payouts": [10{11"currency": "GBP",12"carried_forward_amount": -28242.06,13"current_period_amount": -10925.15,14"net_amount": -39167.21,15"date": "2019-06-28T00:00:00.000",16"period_start": "2019-06-20T00:00:00.000",17"period_end": "2019-06-23T23:59:59.000",18"id": "FSTBC82N7",19"status": "Carried Forward",20"payout_fee": 0,21"current_period_breakdown": {22"processed_amount": 44364.87,23"refund_amount": -2686.95,24"chargeback_amount": 0,25"payouts_to_card_amount": -52367.29,26"processing_fees": -235.78,27"processing_fees_breakdown": {28"interchange_fees": -102.18,29"scheme_and_other_network_fees": -24.31,30"premium_and_apm_fees": -44.37,31"chargeback_fees": 0,32"payout_to_card_fees": -52.36,33"payment_gateway_fees": -12.5634},35"rolling_reserve_amount": 0,36"tax": 0,37"admin_fees": 0,38"general_adjustments": 039}40}41]42}43]44}
This extension allows you to link payments to statements and payouts. You can retrieve the list of payments and associated fees included in a given statement or payout that has been deposited into your bank account, or tied to a specific payout currency.
There are three available parameters in the request for this endpoint, described below:
Filter | Parameter |
---|---|
Statement ID |
You can find your statement ID on your statement, which is available in the Hub. |
Payout ID |
This is the reference of your payout. |
Payout currency |
The payout currency must be given in the 3-letter ISO format (e.g., GBP). |
In addition to the JSON format described above, you can download a CSV report containing data from the statements endpoint.
If you are using Postman or an equivalent application, rather than sending the GET request, use the Send and Download functionality to download the CSV report.
In the URL for the statements endpoint, add /download
after /statements
.
For example:
1https://api.checkout.com/reporting/statements/download?from={start-date-time}&to={end-date-time}
To include the payout breakdown, add &include=payout_breakdown
at the end of the previous URL.
For example:
1https://api.checkout.com/reporting/statements/download?from={start-date-time}&to={end-date-time}&include=payout_breakdown
In the URL for statement ID/payments, add /download
after payments
.
For example:
1https://api.checkout.com/reporting/statements/{StatementId}/payments/download
See more information about the parameters available for this endpoint above.