Developer Center

get_prices() - Costs

It is used to get price information according to countries by way of API.

public function get_prices(){
    $prices = $this->instance->get_prices();
    $result = [];
    if($prices)
        foreach($prices AS $row) $result[$row["countryCode"]] = $row["prices"];
    else{
        $this->error = $this->instance->error;
        return false;
    }
    return $result;
}

Return Value;

Array
(
    [US] => Array
        (
            [USD] => 0.0011
            [EUR] => 0.0021
            [DDK] => 0.0212
        )

    [DE] => Array
        (
            [USD] => 0.0022
            [EUR] => 0.0032
            [DDK] => 0.0421
        )

    [CH] => Array
        (
            [USD] => 0.0011
            [EUR] => 0.0021
            [DDK] => 0.0212
        )

)
getBalance() - Balance Information Other Functions

Do you have any questions?

Feel free to contact us
Contact Us
Copyright © 2024. All Rights Reserved.
Join Our Discord Channel
Top

New Year's Special Discount

"Startup Lifetime" and "Professional Lifetime" licenses are 30% off!

Coupon Code:
HAPPYYEARS30 Copied!
Discount Rate 30%
Expiration Date December 31, 2024