API

  • Default request

    Description: Every API call has a default response layout, this layout gives you the data needed and tells if there are any errors with the request.

    Response

    Name Type Explanation
    Nonce Long Can be ignored
    Data Object (can also be an array) The requested data
    Errors Array of Error (see below) A list of errors that have occurred during the handling of the request
    HasErrors Boolean Indicates if there is an error in "Errors"

    The error array exists of error objects:

    Name Type Explanation
    PropertyName String The name of the Property
    PropertyExceptionMessage String The explanation of the Error

    Example:

    {
     "Nonce": 0,
     "Data": [],
     "Errors": [],
     "HasErrors": false
    }
    

  • Get Coins

    Description: Gets the supported coins.

    Url:
    /api/public/coins

    Parameters

    None

    Response

    Name Type Explanation
    Name String Name of the Coin
    Code String Code of the Coin

    Example:

    {
     "Nonce":0,
     "Data":[
     {
     "Name":"Bitcoin",
     "Code":"BTC"
     },
     {
     "Name":"Blackcoin",
     "Code":"BLK"
     },
     {
     "Name":"Dogecoin",
     "Code":"DOGE"
     }
     ],
     "Errors":[
     ],
     "HasErrors":false
    }
    

  • Get Fiats

    Description: Gets the supported fiats.

    Url: /api/public/fiats

    Parameters

    None

    Response

    Name Type Explanation
    Name String Name of the Fiat
    Code String Code of the Fiat

    Example:

    {
     "Nonce":0,
     "Data":[
     {
     "Name":"Euro",
     "Code":"EUR"
     },
     {
     "Name":"Canadian Dollar",
     "Code":"CAD"
     }
     ],
     "Errors":[
     ],
     "HasErrors":false
    }
    

  • Get BuyPrices

    Description: Gets the current BuyPrices for every Payment Method.

    Url: /api/public/buyprices

    Parameters

    Name Type Explanation
    CoinCode String The Coin code you want to get the price of
    FiatCode String The Fiat code you want to get the price of
    CoinAmount Decimal (max 8 decimals) The amount of coins you want to know the price of (either CoinAmount of FiatAmount must be filled)
    FiatAmount Decimal (max 2 decimals) The amount of fiat you want to spend (either CoinAmount of FiatAmount must be filled)

    Response

    Array of PaymentMethods with the following variable:

    Name Type Explanation
    Id Int Id of the PaymentMethod
    Name String Name of the PaymentMethod
    CoinAmount Decimal Amount of Coins
    FiatAmount decimal Amount of Fiat

    Example:

    {
     "Nonce":0,
     "Data":[
     {
     "Id":3,
     "Name":"Bancontact / Mistercash",
     "CoinAmount":1,
     "FiatAmount":417.85
     },
     {
     "Id":5,
     "Name":"Giropay",
     "CoinAmount":1,
     "FiatAmount":417.29
     },
     {
     "Id":1,
     "Name":"iDEAL",
     "CoinAmount":1,
     "FiatAmount":413.03
     },
     {
     "Id":6,
     "Name":"Mybank",
     "CoinAmount":1,
     "FiatAmount":418.05
     }
     ],
     "Errors":[
     ],
     "HasErrors":false
    }
    

  • Get SellPrices

    Description: Gets the current SellPrices for every Payout Method.

    Url: /api/public/sellprices

    Parameters

    Name Type Explanation
    CoinCode String The Coin code of which you want the price
    FiatCode String The Fiat code of which you want the price
    CoinAmount Decimal (max 8 decimals) The amount of coins you want to know the price of (either CoinAmount of FiatAmount must be filled)
    FiatAmount Decimal (max 2 decimals) The amount of fiat you want to get (either CoinAmount of FiatAmount must be filled)

    Response

    Array of PayoutMethods with the following variable:

    Name Type Explanation
    Id Int Id of the PayoutMethod
    Name String Name of the PayoutMethod
    CoinAmount Decimal Amount of Coins
    FiatAmount Decimal Amount of Fiat

    Example:

    {
     "Nonce": 0,
     "Data": [
     {
     "Id": 0,
     "Name": "SEPA",
     "CoinAmount": 1,
     "FiatAmount": 258.76
     },
     {
     "Id": 1,
     "Name": "PayPal",
     "CoinAmount": 1,
     "FiatAmount": 258.76
     }
     ],
     "Errors": [],
     "HasErrors": false
    }