Syntax

statsExpectedPayouts()

Returns a list of expected payouts as displayed on the Digistore dashboard.

Access rights

Read access or full access required.

Arguments

none

Return data

List of future payouts (no liability assumed)

Array
(
    [api_version] => 1.020
    [current_time] => 2019-01-22 13:23:16
    [runtime_seconds] => 1.2
    [result] => success
    [data] => Array
        (
            [total_earnings] => Array
                (
                    [CHF] => 628.36
                    [EUR] => 1606238.98
                    [USD] => 14.57
                )

            [paidout_amount] => Array
                (
                    [CHF] => 569.66
                    [EUR] => 1575030.13
                )

            [pending_amount] => Array
                (
                )

            [future_amounts] => Array
                (
                    [2019-01-28] => Array
                        (
                            [EUR] => Array
                                (
                                    [amount] => 15736.31
                                    [can_payout] => Y
                                    [treshold] => 200
                                )

                            [USD] => Array
                                (
                                    [amount] => 14
                                    [can_payout] => N
                                    [treshold] => 200
                                    [note] => Wird u.U. später ausgezahlt, da Auszahlungs­schwelle von 200,00 $ nicht erreicht.
                                 )

                            [CHF] => Array
                                (
                                    [amount] => 53.97
                                    [can_payout] => N
                                    [treshold] => 200
                                    [note] => Wird u.U. später ausgezahlt, da Auszahlungs­schwelle von 200,00 CHF nicht erreicht.
                                )

                        )

                    [2019-02-07] => Array
                        (
                            [EUR] => Array
                                (
                                    [amount] => 8789.84
                                    [can_payout] => Y
                                    [treshold] => 50
                                )

                            [USD] => Array
                                (
                                    [amount] => 0.57
                                    [can_payout] => N
                                    [treshold] => 50
                                    [note] => Wird u.U. später ausgezahlt, da Auszahlungs­schwelle von 50,00 $ nicht erreicht.
                                )

                            [CHF] => Array
                                (
                                    [amount] => 4.73
                                    [can_payout] => N
                                    [treshold] => 50
                                    [note] => Wird u.U. später ausgezahlt, da Auszahlungs­schwelle von 50,00 CHF nicht erreicht.
                                )

                        )

                    [2019-02-14] => Array
                        (
                            [EUR] => Array
                                (
                                    [amount] => 1189.92
                                    [can_payout] => Y
                                    [treshold] => 200
                                )

                        )

                    [2019-02-21] => Array
                        (
                            [EUR] => Array
                                (
                                    [amount] => 1105.57
                                    [can_payout] => Y
                                    [treshold] => 200
                                )

                        )

                    [2019-02-28] => Array
                        (
                            [EUR] => Array
                                (
                                    [amount] => 894.27
                                    [can_payout] => Y
                                    [treshold] => 200
                                )

                        )

                    [2019-03-07] => Array
                        (
                            [EUR] => Array
                                (
                                    [amount] => 1050.88
                                    [can_payout] => Y
                                    [treshold] => 50
                                )

                        )

                    [2019-03-14] => Array
                        (
                            [EUR] => Array
                                (
                                    [amount] => 1227.31
                                    [can_payout] => Y
                                    [treshold] => 200
                                )

                        )

                    [2019-03-21] => Array
                        (
                            [EUR] => Array
                                (
                                    [amount] => 1122.77
                                    [can_payout] => Y
                                    [treshold] => 200
                                )

                        )

                    [>2019-03-21] => Array
                        (
                            [EUR] => Array
                                (
                                    [amount] => 87.05
                                )

                        )

                )

            [by_reseller] => Array
                (
                    [0] => Array
                        (
                            [reseller_id] => 1
                            [reseller_name] => Digistore24 GmbH, Deutschland
                            [total_earnings] => Array
                                (
                                    [CHF] => 628.36
                                    [EUR] => 1606238.98
                                    [USD] => 14.57
                                )

                            [paidout_amount] => Array
                                (
                                    [CHF] => 569.66
                                    [EUR] => 1575030.13
                                )

                            [pending_amount] => Array
                                (
                                )

                            [future_amounts] => Array
                                (
                                    [2019-01-28] => Array
                                        (
                                            [EUR] => Array
                                                (
                                                    [amount] => 15736.31
                                                    [can_payout] => Y
                                                    [treshold] => 200
                                                )

                                            [USD] => Array
                                                (
                                                    [amount] => 14
                                                    [can_payout] => N
                                                    [treshold] => 200
                                                    [note] => Wird u.U. später ausgezahlt, da Auszahlungs­schwelle von 50,00 $ nicht erreicht.
                                                )

                                            [CHF] => Array
                                                (
                                                    [amount] => 53.97
                                                    [can_payout] => N
                                                    [treshold] => 200
                                                    [note] => Wird u.U. später ausgezahlt, da Auszahlungs­schwelle von 50,00 CHf nicht erreicht.
                                                )

                                        )

                                    [2019-02-07] => Array
                                        (
                                            [EUR] => Array
                                                (
                                                    [amount] => 8789.84
                                                    [can_payout] => Y
                                                    [treshold] => 50.00
                                                )

                                            [USD] => Array
                                                (
                                                    [amount] => 0.57
                                                    [can_payout] => N
                                                    [treshold] => 50.00
                                                    [note] => Wird u.U. später ausgezahlt, da Auszahlungs­schwelle von 50,00 $ nicht erreicht.
                                                )

                                            [CHF] => Array
                                                (
                                                    [amount] => 4.73
                                                    [can_payout] => N
                                                    [treshold] => 50.00
                                                    [note] => Wird u.U. später ausgezahlt, da Auszahlungs­schwelle von 50,00 $ nicht erreicht.
                                                )

                                        )

                                    [2019-02-14] => Array
                                        (
                                            [EUR] => Array
                                                (
                                                    [amount] => 1189.92
                                                    [can_payout] => Y
                                                    [treshold] => 200
                                                )

                                        )

                                    [2019-02-21] => Array
                                        (
                                            [EUR] => Array
                                                (
                                                    [amount] => 1105.57
                                                    [can_payout] => Y
                                                    [treshold] => 200
                                                )

                                        )

                                    [2019-02-28] => Array
                                        (
                                            [EUR] => Array
                                                (
                                                    [amount] => 894.27
                                                    [can_payout] => Y
                                                    [treshold] => 200
                                                )

                                        )

                                    [2019-03-07] => Array
                                        (
                                            [EUR] => Array
                                                (
                                                    [amount] => 1050.88
                                                    [can_payout] => Y
                                                    [treshold] => 50.00
                                                )

                                        )

                                    [2019-03-14] => Array
                                        (
                                            [EUR] => Array
                                                (
                                                    [amount] => 1227.31
                                                    [can_payout] => Y
                                                    [treshold] => 200
                                                )

                                        )

                                    [2019-03-21] => Array
                                        (
                                            [EUR] => Array
                                                (
                                                    [amount] => 1122.77
                                                    [can_payout] => Y
                                                    [treshold] => 200
                                                )

                                        )

                                    [>2019-03-21] => Array
                                        (
                                            [EUR] => Array
                                                (
                                                    [amount] => 87.05
                                                )

                                        )

                                )

                        )

                )

         [note] => Array
                (
                    [message] => Damit wir auszahlen können, beheben Sie bitte folgendes: Auszahlungskonto einrichten
                    [reasons] => Array
                        (
                            [0] => Array
                                (
                                    [code] => need_payout_account
                                    [url] => http://ds24app.de/account/payouts
                                    [message] => Auszahlungskonto einrichten
                                )

                        )
                )

            [call_duration_ms] => Array
                (
                    [total_earnings] => 56.97
                    [paidout_amount] => 38.17
                    [pending_amount] => 38.17
                    [future_amounts] => 1091.62
                    [total_call] => 1186.86
                )

        )

)

Hinweis, falls Auszahlung nicht möglich

Falls eine Auszahlung nicht möglich ist, wird das Feld data[‘note'] gefüllt – siehe Beispiel oben.

Mögliche Reason-Codes sind:

  • no_user_address: der User hat noch keine Anschrift angeben
  • need_vat_regulation: der User hat noch keine Steuer-Nummer bzw. eine Steuer-Regelgung angegeben.
  • need_payout_account: der User hat noch kein Auszahlungskonto angegeben.