Syntax

listRebillingStatusChanges( from='-24h', to='now' , $page_no=1, $page_size=100 )

Returns a list of status changes regarding rebilling.

Access rights

Read access or full access required.

Arguments

fromtime, example values are:

  • “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

totime -see ‘from'. Default value is ‘now' i.e. today's date

page_no – Page number to be displayed. The numbering starts at 1.

page_size – Number of entries on a page

Return

items: List with status changes

Array
([data] => Array
        (
            [from] => 2019-01-01 00:00:00
            [to] => 2019-04-12 22:42:40
            [items] => Array
                (
                    [0] => Array
                        (
                            [id] => 19265465
                            [purchase_id] => MW65YZXX
                            [created_at] => 2019-03-10 14:15:41
                            [pay_sequence_no] => 186
                            [type] => rebill_cancelled
                            [type_msg] => Subscription/installment cancelled
                        )

                    [1] => Array
                        (
                            [id] => 19396775
                            [purchase_id] => MW65YZXX
                            [created_at] => 2019-03-19 02:08:16
                            [pay_sequence_no] => 186
                            [type] => last_paid_day
                            [type_msg] => Paid time over
                        )

                    [2] => Array
                        (
                            [id] => 19709496
                            [purchase_id] => XEWB2P4S
                            [created_at] => 2019-04-12 17:13:32
                            [pay_sequence_no] => 189
                            [type] => rebill_resumed
                            [type_msg] => Subscription/installment resumed
                        )

                )

            [page_size] => 100
            [page_no] => 1
            [page_count] => 1
            [item_count] => 3
        )