Syntax
listCommissions( from='-24h', to='now', page_no=1, page_size=0 )
Returns a list of your Digistore24 amounts.
Access rights
Read access or full access required.
Arguments
from – time, example values:
- "2014-02-28 23:11:24"
- "now" for currently
- "-3d" for 3 days ago
- "start" for the first available date (i.e. the date when the Digistore account is created)
Default value for ‘from' is ‘-24h', which stands for 24 hours ago
to – time - see ‘from'. Default value is ‘now' i.e. today's date
page_no – for performance reasons, the list of buyers can be returned in paginated form. Enter the page number here. Counting starts at 1.
page_size – The number of buyers on a page. Enter 0 for all entries. That is the default.
transaction_type – List commissions of the given transactions. Default is: payment,refund,refund_request,chargeback
Use "all" for all transactions including receivables.
commission_type – List commissions of the given types. Default is: all.
purchase_id – List commissions of a certain purchase
Return data
A list with amounts e.g.:
Array(
[page_no] => 1
[page_size]
=> 100
[item_count] => 121
[page_count] => 1
[items] => Array
(
[0] => Array
(
[id] =>
1234567
[created_at] =>
2019-03-07 17:49:40
[amount]
=> 12.34
[currency] =>
EUR
[reason] =>
merchant_share
[schedule_payout_at] => 2019-03-21
[transaction_id] => 98765
[purchase_id] => ABC1234
)
)