Returns a summary of payouts for each currency code in a date range.
Settlements API (1.0.0-rc2)
The Settlements API helps you with the reconciliation of payments, made by Ksutom to your bank account. Every payment has a unique payment_reference that can be found in the settlement reports and on your bank statement.
Read more on Settlement reports.
ISO 8601 date time format. This is a filter for the payout date. If no time is given then it defaults to the start of the day, ie 00:00:00. For example 2020-01-23 -> 2020-01-23T00:00:00Z. For this reason we recommend too use the full datetime like 2020-01-23T00:00:00Z.
ISO 8601 date time format. This is a filter for the payout date. If no time is given then it defaults to the start of the day, ie 00:00:00. This might lead to unwanted side effects like when the start date and end date might be the same because it would request payouts between 2020-01-23T00:00:00Z and 2020-01-23T00:00:00Z. Instead we advise to use a full datetime like 2020-01-23T23:59:59Z.
- https://api.kustom.co/settlements/v1/payouts/summary
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.kustom.co/settlements/v1/payouts/summary?start_date=2019-08-24T14%3A15%3A22Z&end_date=2019-08-24T14%3A15%3A22Z¤cy_code=string'Payout summaries
The total amount of fee correction, in minor units
ISO 8601 formatted date-time string
The total amount of money released from holdback, in minor units
ISO 4217 Currency Code. Like USD, EUR, AUD or GBP.
ISO 8601 formatted date-time string
The total amount of the settlement in question, in minor units
The total amount of money withheld, in minor units
The total amount of reversals, in minor units
The total amount of returns, in minor units
The total amount of commissions, in minor units
The total amount of sales, in minor units
The total amount of money that has been repaid by the merchant from the debt, in minor units
[ { "summary_total_fee_correction_amount": 550, "summary_payout_date_start": "2016-12-14T07:52:26Z", "summary_total_release_amount": 550, "summary_settlement_currency": "USD", "summary_payout_date_end": "2016-12-14T07:52:26Z", "summary_total_tax_amount": 550, "summary_total_settlement_amount": 550, "summary_total_holdback_amount": 550, "summary_total_reversal_amount": 550, "summary_total_return_amount": 550, "summary_total_fee_amount": 500, "summary_total_commission_amount": 550, "summary_total_sale_amount": 500, "summary_total_repay_amount": 550 } ]
- https://api.kustom.co/settlements/v1/payouts/{payment_reference}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.kustom.co/settlements/v1/payouts/{payment_reference}'{ "totals": { "commission_amount": 550, "repay_amount": 550, "sale_amount": 500, "holdback_amount": 550, "tax_amount": 550, "settlement_amount": 550, "fee_correction_amount": 550, "reversal_amount": 550, "release_amount": 550, "return_amount": 550, "fee_amount": 500, "charge_amount": 500, "credit_amount": 500, "fee_refund_amount": 500, "tax_refund_amount": 500, "deposit_amount": 500, "opening_debt_balance_amount": 500, "closing_debt_balance_amount": 500 }, "payment_reference": "XISA93DJ", "payout_date": "2016-12-14T07:52:26Z", "currency_code": "USD", "currency_code_of_registration_country": "EUR", "merchant_settlement_type": "NET", "merchant_id": "string", "transactions": "https://{settlements_api}/transactions?payment_reference=XISA93DJ" }
ISO 8601 date time format. This is a filter for the payout date. If no time is given then it defaults to the start of the day, ie 00:00:00. For example 2020-01-23 -> 2020-01-23T00:00:00Z. For this reason we recommend too use the full datetime like 2020-01-23T00:00:00Z.
ISO 8601 date time format. This is a filter for the payout date. If no time is given then it defaults to the start of the day, ie 00:00:00. This might lead to unwanted side effects like when the start date and end date might be the same because it would request payouts between 2020-01-23T00:00:00Z and 2020-01-23T00:00:00Z. Instead we advise to use a full date time like 2020-01-23T23:59:59Z.
An optional currency code to filter the result for different currencies. If not provided the result returned in the response might include multiple results grouped by the currency. The currency should be provided by an ISO 4217 Currency Code like USD, EUR, AUD or GBP.
How many elements to include in the result. If no value for size is provided, a default of 20 will be used. A maximum of 500 can be set
- https://api.kustom.co/settlements/v1/payouts
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.kustom.co/settlements/v1/payouts?start_date=2019-08-24T14%3A15%3A22Z&end_date=2019-08-24T14%3A15%3A22Z¤cy_code=string&size=20&offset=0'{ "payouts": [ { … } ], "pagination": { "count": 10, "total": 42, "next": "http://example.com/collection?offset=21&size=10", "prev": "http://example.com/collection?offset=0&size=10", "offset": 10 } }
- https://api.kustom.co/settlements/v1/reports/payout-with-transactions
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.kustom.co/settlements/v1/reports/payout-with-transactions?payment_reference=string'- https://api.kustom.co/settlements/v1/reports/payout
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.kustom.co/settlements/v1/reports/payout?payment_reference=string'- https://api.kustom.co/settlements/v1/transactions
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.kustom.co/settlements/v1/transactions?payment_reference=string&order_id=string&size=20&offset=0'{ "transactions": [ { … } ], "pagination": { "count": 10, "total": 42, "next": "http://example.com/collection?offset=21&size=10", "prev": "http://example.com/collection?offset=0&size=10", "offset": 10 } }
ISO 8601 date time format. This is a filter for the payout date. If no time is given then it defaults to the start of the day, ie 00:00:00. For example 2020-01-23 -> 2020-01-23T00:00:00Z. For this reason we recommend too use the full datetime like 2020-01-23T00:00:00Z.
ISO 8601 date time format. This is a filter for the payout date. If no time is given then it defaults to the start of the day, ie 00:00:00. This might lead to unwanted side effects like when the start date and end date might be the same because it would request payouts between 2020-01-23T00:00:00Z and 2020-01-23T00:00:00Z. Instead we advise to use a full date time like 2020-01-23T23:59:59Z.
- https://api.kustom.co/settlements/v1/reports/payouts-summary-with-transactions
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.kustom.co/settlements/v1/reports/payouts-summary-with-transactions?start_date=2019-08-24T14%3A15%3A22Z&end_date=2019-08-24T14%3A15%3A22Z'ISO 8601 date time format. This is a filter for the payout date. If no time is given then it defaults to the start of the day, ie 00:00:00. For example 2020-01-23 -> 2020-01-23T00:00:00Z. For this reason we recommend too use the full datetime like 2020-01-23T00:00:00Z.
ISO 8601 date time format. This is a filter for the payout date. If no time is given then it defaults to the start of the day, ie 00:00:00. This might lead to unwanted side effects like when the start date and end date might be the same because it would request payouts between 2020-01-23T00:00:00Z and 2020-01-23T00:00:00Z. Instead we advise to use a full date time like 2020-01-23T23:59:59Z.
- https://api.kustom.co/settlements/v1/reports/payouts-summary
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.kustom.co/settlements/v1/reports/payouts-summary?start_date=2019-08-24T14%3A15%3A22Z&end_date=2019-08-24T14%3A15%3A22Z'