Bitmymoney documentatie

Web API documentation

This document contains generated API documentation for the web/REST API. Since it is generated automatically, the documentation should always be up-to-date and complete.

Websocket documentatie

Note that some of the data from the calls described below is also exposed through our websockets, for documentation of the websocket meant for public use by persistent applications, see the websocket for apps documentation.

Authenticatie

For information about how to register and use an API key, see /docs/apikey/.

Status codes

All views can cause one or more of the following status codes to be returned:

API version

On changes in the API, a new API version will be introduced. The current API version is passed to REST clients in the 'x-bitmm-api-version' response header and a previous API version can be used by passing a valid value as a request header of the same name 'x-bitmm-api-version'. Note that older API versions may be dropped if (almost) no requests are made for a longer period of time in order to keep the API clean. The current API version is 4, and we only supported versions starting at 2 currently. If no request header is passed, the latest API version (4) is used.

200 Ok
The request was successful, the requested content is provided in the response body.
201 Created
Returned on successful form submit, which caused the creation of an object (model). The object's data is provided in the response body.
302 Found
Returned after an action was executed. Actions are special calls on objects, URLs to actions do not end on a slash (while URLs of objects always do end on one). Redirection generally happens to the object on which the action is called. Note that actions should be called using the POST HTTP method, except where explicitly stated that GET is also supported.
400 Ongeldig verzoek
An error occurred because of incorrect input, more information is returned in a messages struct in the response.
404 Niet gevonden
An object that does not exist or is not accessible by the current user is requested, this is generally returned on accessing an account or action owned by another person.
500 Server error
An unknown server error has occurred, contact support if this error persists.

Note that in some cases, the web API behaves different depending on whether the user requests JSON or HTML (most notably, JSON requests often result in a 201 rather than a 302).

Actie statussen

Actions can have the following statuses:

  • NEW
  • PAYMENT_IN_PROGRESS
  • PRICES_CALCULATED
  • LIMIT_REACHED
  • SALE_IN_PROGRESS
  • INITIALIZED
  • WAITINGFORTRANSFER
  • WAITINGFORREGISTRATION
  • PAID
  • SUBMITTED
  • RECEIVED
  • READYFORTRANSFER
  • FINAL
  • READYFORTRANSFER
  • REFUND
  • REFUND_BEFORE_PAID
  • REFUNDED
  • UNVERIFIED
  • ON_HOLD
  • USER_RETURNED
  • DISAPPEARED
  • VERIFICATION_TWO_FACTOR
  • VERIFICATION_MAIL_SENT
  • UNCONFIRMED
  • CONFIRMED
  • INSPECTING
  • INSPECTED
  • WAITINGFORORIGIN
  • WAITINGFORDEPOSIT
  • APPROVED
  • PARTIAL_DEPOSIT_RECEIVED
  • EXPIRED
  • PAYOUT_ERROR
  • ERROR
  • CANCELLED
  • REFUSED
  • REVIEW

A mapping from the supported states and their human-readable label (which may be more explanatory) can be found in the REST representation of each of the actions. Note that a state name may be represented by a different label depending on action type.

Data types

The web api mostly returns basic data types such as <string>, <int>, etc. In addition, three types, `decimal`, `date` and `datetime` are provided, that contain a `value` key with the value, as string, usable for parsing and a `localized` key with the value, as string, in a form which can be presented to the user. The format is as follows:

decimal
{"type": "decimal", "value": <str>, "localized": <str>}
date
{"type": "date", "value": <str>, "localized": <str>}
datetime
{"type": "datetime", "value": <str>, "localized": <str>}

API

/accounts/login/

emaillogin.views.LoginView

Login form

Allows users to log in to the website using the cookie auth mechanism. As a side-effect, this allows registering an API key for the REST API, pass the key information along with the form and it will automatically be registered (see /apikey/register).

Note that this requires CAPTCHA and CSRF data to be passed on POST.

GET
  • request information
    • request content types []
  • auth
    • authenticated Both
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • form
        • fields []
          • field 'username'
            • help_text string
            • invalid_error string
            • label string
            • name 'username'
            • required true
            • required_error string
            • type 'email'
            • value string
          • field 'password'
            • help_text string
            • invalid_error string
            • label string
            • name 'password'
            • required true
            • required_error string
            • type 'password'
            • value string
          • field 'apikey'
            • help_text string
            • invalid_error string
            • label string
            • name 'apikey'
            • required false
            • type 'hidden'
            • value string, null
          • field 'next'
            • help_text string
            • invalid_error string
            • label string
            • name 'next'
            • required false
            • type 'hidden'
            • value string, null
          • field 'scaptcha_0'
            • invalid_error string
            • name 'scaptcha_0'
            • required true
            • required_error string
            • type 'hidden'
            • value string
          • field 'scaptcha_1'
            • help_text string
            • image_url string
            • invalid_error string
            • label string
            • name 'scaptcha_1'
            • required true
            • required_error string
            • type 'text'
            • value string
        • type 'form'
      • next_url string
POST
  • request information
    • request content types application/json, multipart/form-data
  • post parameters
    • apikey (optional) string
    • password string
    • scaptcha_0 (optional) string
    • scaptcha_1 (optional) string
    • username string
  • auth
    • authenticated Both
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • form
        • fields []
          • field 'username'
            • help_text string
            • invalid_error string
            • label string
            • name 'username'
            • required true
            • required_error string
            • type 'email'
            • value string
          • field 'password'
            • help_text string
            • invalid_error string
            • label string
            • name 'password'
            • required true
            • required_error string
            • type 'password'
            • value string
          • field 'apikey'
            • help_text string
            • invalid_error string
            • label string
            • name 'apikey'
            • required false
            • type 'hidden'
            • value string, null
          • field 'next'
            • help_text string
            • invalid_error string
            • label string
            • name 'next'
            • required false
            • type 'hidden'
            • value string, null
          • field 'scaptcha_0'
            • invalid_error string
            • name 'scaptcha_0'
            • required true
            • required_error string
            • type 'hidden'
            • value string
          • field 'scaptcha_1'
            • errors[] string
            • help_text string
            • image_url string
            • invalid_error string
            • label string
            • name 'scaptcha_1'
            • required true
            • required_error string
            • type 'text'
            • value string
        • type 'form'
      • messages[]
        • level string
        • message string
      • next_url string
  • 201
    • response information
      • response content type application/json
    • response data
      • messages[]
        • level string
        • message string
  • 302
    • response information
      • response content type text/html

/accounts/register/

emaillogin.views.RegistrationView

Register a new user

Presents and processes form for adding a new user. Note that an apikey can be passed, if that key was registered correctly (see /apikey/register/) it is verified if the registration process is successfully completed.

Note that this requires CAPTCHA and CSRF data to be passed on POST.

GET
  • request information
    • request content types []
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • form
        • fields []
          • field 'first_name'
            • help_text string
            • invalid_error string
            • label string
            • name 'first_name'
            • required false
            • type 'text'
            • value string, null
          • field 'last_name'
            • help_text string
            • invalid_error string
            • label string
            • name 'last_name'
            • required false
            • type 'text'
            • value string, null
          • field 'email'
            • help_text string
            • invalid_error string
            • label string
            • name 'email'
            • required true
            • required_error string
            • type 'text'
            • value string
          • field 'password1'
            • help_text string
            • invalid_error string
            • label string
            • name 'password1'
            • required true
            • required_error string
            • type 'password'
            • value string
          • field 'terms_accepted'
            • help_text string
            • invalid_error string
            • label string
            • name 'terms_accepted'
            • required true
            • required_error string
            • type 'checkbox'
            • value string
          • field 'apikey'
            • help_text string
            • invalid_error string
            • label string
            • name 'apikey'
            • required false
            • type 'hidden'
            • value string, null
          • field 'scaptcha_0'
            • invalid_error string
            • name 'scaptcha_0'
            • required true
            • required_error string
            • type 'hidden'
            • value string
          • field 'scaptcha_1'
            • help_text string
            • image_url string
            • invalid_error string
            • label string
            • name 'scaptcha_1'
            • required true
            • required_error string
            • type 'text'
            • value string
        • type 'form'
POST
  • request information
    • request content types application/json, multipart/form-data
  • post parameters
    • email (optional) string
    • first_name (optional) string
    • last_name (optional) string
    • password1 (optional) string
    • terms_accepted (optional) string
  • auth
    • authenticated Both
  • 200
    • response information
      • response content type application/json
    • response data
      • form
        • fields []
          • field 'first_name'
            • help_text string
            • invalid_error string
            • label string
            • name 'first_name'
            • required false
            • type 'text'
            • value string, null
          • field 'last_name'
            • help_text string
            • invalid_error string
            • label string
            • name 'last_name'
            • required false
            • type 'text'
            • value string, null
          • field 'email'
            • help_text string
            • invalid_error string
            • label string
            • name 'email'
            • required true
            • required_error string
            • type 'text'
            • value string
          • field 'password1'
            • errors[] string
            • help_text string
            • invalid_error string
            • label string
            • name 'password1'
            • required true
            • required_error string
            • type 'password'
            • value string
          • field 'terms_accepted'
            • help_text string
            • invalid_error string
            • label string
            • name 'terms_accepted'
            • required true
            • required_error string
            • type 'checkbox'
            • value string
          • field 'apikey'
            • help_text string
            • invalid_error string
            • label string
            • name 'apikey'
            • required false
            • type 'hidden'
            • value string, null
          • field 'scaptcha_0'
            • invalid_error string
            • name 'scaptcha_0'
            • required true
            • required_error string
            • type 'hidden'
            • value string
          • field 'scaptcha_1'
            • help_text string
            • image_url string
            • invalid_error string
            • label string
            • name 'scaptcha_1'
            • required true
            • required_error string
            • type 'text'
            • value string
        • type 'form'
  • 201
    • response information
      • response content type application/json
    • response data
      • messages[]
        • level string
        • message string
  • 302
    • response information
      • response content type text/html

/accounts/activate/<activation_key>/

emaillogin.views.ActivationView

Activate a new user account.

Part of the registration process, this page is linked to from the confirmation email.

GET
  • request information
    • request content types []
  • auth
    • authenticated True
  • 201
    • response information
      • response content type application/json
    • response data
      • messages[]
        • level string
        • message string
  • 302
    • response information
      • response content type text/html

/accounts/password/reset/

emaillogin.views.PasswordResetView

Reset the password of an existing user.

Note that this requires CAPTCHA and CSRF data to be passed on POST.

GET
  • request information
    • request content types []
  • auth
    • authenticated True
  • 200
    • response information
      • response content type text/html
POST
  • request information
    • request content types application/json, multipart/form-data
  • post parameters
    • email (optional) string
  • auth
    • authenticated Both
  • 200
    • response information
      • response content type text/html
  • 302
    • response information
      • response content type text/html

/accounts/reset/done/

emaillogin.views.PasswordResetCompleteView

Password reset complete.

GET
  • request information
    • request content types []
  • auth
    • authenticated False
  • 200
    • response information
      • response content type text/html

/account/

account.views.Accounts

Display a list of all accounts

This returns the user's accounts for all currencies, including balance, but without transaction information.

GET
  • request information
    • request content types []
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • accounts[]
        • account_id string
        • balance
          • available decimal
          • available_eur decimal
          • max_spendable_high_fee decimal
          • max_spendable_low_fee decimal
          • max_spendable_no_fee decimal
          • owned decimal
          • owned_eur decimal
          • rate decimal
          • reserved decimal
          • reserved_eur decimal
          • unconfirmed decimal
          • unconfirmed_eur decimal
        • code string
        • crypto_currency_fullname string
        • crypto_currency_icon string
        • crypto_currency_name string
        • crypto_currency_sign string
        • crypto_url null
        • daily_change decimal
        • deposit_address null
        • deposit_address_hidden null, bool
        • exchange_down bool
        • frozen bool
        • id integer
        • model_types ['cryptoaccount.CryptoAccount', 'cryptoaccount.AccountBase']
        • prefixed_code string
        • relative_savings_score
          • level integer
          • name string
          • progress integer
        • sell_disabled bool
        • send_disabled bool
        • type 'model'
        • user
          • date_joined datetime
          • email string
          • first_name string
          • id integer
          • last_name string
          • model_types ['auth.User', 'auth.AbstractUser', 'auth.AbstractBaseUser', 'auth.PermissionsMixin']
          • type 'model'
      • agreement_date datetime
      • agreement_updated bool
      • ga_page_view_data string
      • halt_all_actions bool
      • permission_denied bool
      • permission_denied_reason string
      • series string
      • total_eur decimal
      • total_eur_daily_change decimal
      • ws_auth_token string

/account/<account_id>/

account.views.Account

Display a user account for a single currency

This returns account information, including balance and a list of transactions.

Can be called with query parameters offset and limit to restrict the amount of transactions returned, and with exclude_status to exclude one or more specific transaction statuses, separated using a pipe symbol |.

GET
  • request information
    • request content types []
  • query parameters
    • exclude_status (optional) string
    • limit (optional) string
    • offset (optional) string
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • account
        • account_id string
        • balance
          • available decimal
          • available_eur decimal
          • max_spendable_high_fee decimal
          • max_spendable_low_fee decimal
          • max_spendable_no_fee decimal
          • owned decimal
          • owned_eur decimal
          • rate decimal
          • reserved decimal
          • reserved_eur decimal
          • unconfirmed decimal
          • unconfirmed_eur decimal
        • code string
        • crypto_currency_fullname string
        • crypto_currency_icon string
        • crypto_currency_name string
        • crypto_currency_sign string
        • crypto_url string, null
        • daily_change decimal
        • deposit_address string, null
        • deposit_address_hidden null, bool
        • frozen bool
        • id integer
        • model_types ['cryptoaccount.CryptoAccount', 'cryptoaccount.AccountBase']
        • prefixed_code string
        • relative_savings_score
          • level integer
          • name string
          • progress integer
        • sell_disabled bool
        • send_disabled bool
        • type 'model'
        • user
          • date_joined datetime
          • email string
          • first_name string
          • id integer
          • last_name string
          • model_types ['auth.User', 'auth.AbstractUser', 'auth.AbstractBaseUser', 'auth.PermissionsMixin']
          • type 'model'
      • exchange_down bool
      • ga_page_view_data string
      • halt_all_actions bool
      • itemcount integer
      • limit integer
      • messages[]
        • level string
        • message string
      • offset integer
      • otp_wanted bool
      • permission_denied bool
      • permission_denied_reason string
      • transactions []
        • transactions for which type == 'BUY' and model_types = ['account.BuyAction', 'account.AccountAction']
          • account_id integer
          • aux_currency_amount decimal
          • aux_currency_amount_eur_value decimal
          • aux_currency_name string
          • comment string
          • created datetime
          • crypto_currency_amount decimal
          • crypto_currency_amount_eur_value decimal
          • crypto_currency_name string
          • crypto_currency_rate decimal
          • crypto_currency_rate_mid decimal
          • current_value decimal
          • eur_amount decimal
          • expires datetime
          • expires_countdown string
          • fee_eur decimal
          • id integer
          • margin decimal
          • message null
          • model_types ['account.BuyAction', 'account.AccountAction']
          • order_id string
          • plugin_cost decimal
          • plugin_fee_eur decimal
          • plugin_info string
          • plugin_margin decimal
          • plugin_name string
          • plugin_title string
          • status string
          • status_class string
          • status_name string
          • title string
          • type 'BUY'
          • url string
        • transactions for which type == 'BUY' and model_types = ['bankdeposit.BankDepositBuyAction', 'account.BuyAction', 'account.AccountAction']
          • account_id integer
          • aux_currency_amount decimal
          • aux_currency_amount_eur_value decimal
          • aux_currency_name string
          • comment string
          • created datetime
          • crypto_currency_amount decimal
          • crypto_currency_amount_eur_value decimal
          • crypto_currency_name string
          • crypto_currency_rate decimal
          • crypto_currency_rate_mid decimal
          • current_value decimal
          • eur_amount decimal
          • expires null
          • expires_countdown string
          • fee_eur decimal
          • id integer
          • margin decimal
          • message null
          • model_types ['bankdeposit.BankDepositBuyAction', 'account.BuyAction', 'account.AccountAction']
          • order_id string
          • plugin_cost decimal
          • plugin_fee_eur decimal
          • plugin_info string
          • plugin_margin decimal
          • plugin_name string
          • plugin_title string
          • status string
          • status_class string
          • status_name string
          • title string
          • type 'BUY'
          • url string
        • transactions for which type == 'DEPOSIT' and model_types = ['account.DepositAction', 'account.AccountAction']
          • account_id integer
          • aux_currency_amount decimal
          • aux_currency_amount_eur_value decimal
          • aux_currency_name string
          • comment string
          • created datetime
          • crypto_currency_amount decimal
          • crypto_currency_amount_eur_value decimal
          • crypto_currency_name string
          • crypto_currency_rate decimal
          • crypto_currency_rate_mid decimal
          • current_value decimal
          • deposit_request null
          • deposit_request when type == 'DEPOSIT' and model_types = ['account.DepositRequestAction', 'account.AccountAction']
            • account_id integer
            • aux_currency_amount decimal
            • aux_currency_amount_eur_value decimal
            • aux_currency_name string
            • comment string
            • created datetime
            • crypto_currency_amount decimal
            • crypto_currency_amount_eur_value decimal
            • crypto_currency_amount_received decimal
            • crypto_currency_amount_received_unconfirmed decimal
            • crypto_currency_name string
            • crypto_currency_rate decimal
            • crypto_currency_rate_mid decimal
            • crypto_url string
            • current_value decimal
            • deposit_address string
            • eur_amount decimal
            • expires datetime
            • expires_countdown string
            • external_reference string
            • fee_eur decimal
            • id integer
            • margin decimal
            • message string
            • model_types ['account.DepositRequestAction', 'account.AccountAction']
            • order_id string
            • overpay decimal
            • payment_url string
            • plugin_cost decimal
            • plugin_fee_eur decimal
            • plugin_info null
            • plugin_margin decimal
            • plugin_name null
            • plugin_title null
            • redirect_url string
            • status string
            • status_class string
            • status_name string
            • title string
            • type 'DEPOSIT'
            • url string
          • eur_amount decimal
          • expires null
          • expires_countdown string
          • fee_eur decimal
          • id integer
          • margin decimal
          • message string, null
          • model_types ['account.DepositAction', 'account.AccountAction']
          • order_id string
          • origin string, null
          • origin_action null
          • origin_action when type == 'SEND'
            • account_id integer
            • aux_currency_amount decimal
            • aux_currency_amount_eur_value decimal
            • aux_currency_name string
            • comment string
            • created datetime
            • crypto_currency_amount decimal
            • crypto_currency_amount_eur_value decimal
            • crypto_currency_name string
            • crypto_currency_rate decimal
            • crypto_currency_rate_mid decimal
            • current_value decimal
            • eur_amount decimal
            • expires null
            • expires_countdown string
            • fee_eur decimal
            • id integer
            • margin decimal
            • message string
            • order_id string
            • plugin_cost decimal
            • plugin_fee_eur decimal
            • plugin_info null
            • plugin_margin decimal
            • plugin_name null
            • plugin_title null
            • status string
            • status_class string
            • status_name string
            • title string
            • to_account
              • account_id string
              • code string
              • crypto_currency_fullname string
              • crypto_currency_icon string
              • crypto_currency_name string
              • crypto_currency_sign string
              • crypto_url string
              • deposit_address string
              • deposit_address_hidden bool
              • id integer
              • model_types ['account.CryptoAccount']
              • prefixed_code string
              • type 'model'
              • user
                • date_joined datetime
                • email string
                • first_name string
                • id integer
                • last_name string
                • model_types ['auth.User', 'auth.AbstractUser', 'auth.AbstractBaseUser', 'auth.PermissionsMixin']
                • type 'model'
            • to_info string
            • transfer_type string
            • type 'SEND'
            • url string
          • origin_action when type == 'TRADE'
            • account_id integer
            • aux_currency_amount decimal
            • aux_currency_amount_eur_value decimal
            • aux_currency_eur_rate_mid decimal
            • aux_currency_name string
            • comment string
            • created datetime
            • crypto_currency_amount decimal
            • crypto_currency_amount_eur_value decimal
            • crypto_currency_eur_rate_mid decimal
            • crypto_currency_name string
            • crypto_currency_rate decimal
            • crypto_currency_rate_mid decimal
            • current_value decimal
            • eur_amount decimal
            • expires null
            • expires_countdown string
            • fee_eur decimal
            • id integer
            • margin decimal
            • message null
            • order_id string
            • plugin_cost decimal
            • plugin_fee_eur decimal
            • plugin_info string
            • plugin_margin decimal
            • plugin_name string
            • plugin_title string
            • status string
            • status_class string
            • status_name string
            • title string
            • type 'TRADE'
            • url string
          • plugin_cost decimal
          • plugin_fee_eur decimal
          • plugin_info null
          • plugin_margin decimal
          • plugin_name null
          • plugin_title null
          • sender_info string, null
          • status string
          • status_class string
          • status_name string
          • title string
          • txid string, null
          • type 'DEPOSIT'
          • url string
        • transactions for which type == 'DEPOSIT' and model_types = ['account.DepositRequestAction', 'account.AccountAction']
          • account_id integer
          • aux_currency_amount decimal
          • aux_currency_amount_eur_value decimal
          • aux_currency_name string
          • comment string
          • created datetime
          • crypto_currency_amount decimal
          • crypto_currency_amount_eur_value decimal
          • crypto_currency_amount_received decimal
          • crypto_currency_amount_received_unconfirmed decimal
          • crypto_currency_name string
          • crypto_currency_rate decimal
          • crypto_currency_rate_mid decimal
          • crypto_url string
          • current_value decimal
          • deposit_address string
          • eur_amount decimal
          • expires datetime
          • expires_countdown string
          • external_reference string
          • fee_eur decimal
          • id integer
          • margin decimal
          • message string
          • model_types ['account.DepositRequestAction', 'account.AccountAction']
          • order_id string
          • overpay decimal
          • payment_url string
          • plugin_cost decimal
          • plugin_fee_eur decimal
          • plugin_info null
          • plugin_margin decimal
          • plugin_name null
          • plugin_title null
          • redirect_url string
          • status string
          • status_class string
          • status_name string
          • title string
          • type 'DEPOSIT'
          • url string
        • transactions for which type == 'SELL' and model_types = ['account.SellAction', 'account.AccountAction']
          • account_id integer
          • aux_currency_amount decimal
          • aux_currency_amount_eur_value decimal
          • aux_currency_name string
          • comment string
          • created datetime
          • crypto_currency_amount decimal
          • crypto_currency_amount_eur_value decimal
          • crypto_currency_name string
          • crypto_currency_rate decimal
          • crypto_currency_rate_mid decimal
          • current_value decimal
          • eur_amount decimal
          • expires null, datetime
          • expires_countdown string
          • fee_eur decimal
          • id integer
          • margin decimal
          • message string, null
          • model_types ['account.SellAction', 'account.AccountAction']
          • order_id string
          • plugin_cost decimal
          • plugin_fee_eur decimal
          • plugin_info string
          • plugin_margin decimal
          • plugin_name string
          • plugin_title string
          • sale
            • amount decimal
            • crypto_currency_amount decimal
            • crypto_currency_name string
            • iban_profile
              • bank_account_iban string
              • bank_account_name string
              • bank_account_names[] string
              • bank_account_verified bool
              • model_types ['valutaloket.IBANProfile']
              • type 'model'
            • id integer
            • model_types ['sepa.SEPASale']
            • type 'model'
          • status string
          • status_class string
          • status_name string
          • title string
          • type 'SELL'
          • url string
        • transactions for which type == 'SEND' and model_types = ['account.TransferAction', 'account.AccountAction']
          • account_id integer
          • aux_currency_amount decimal
          • aux_currency_amount_eur_value decimal
          • aux_currency_name string
          • comment string
          • created datetime
          • crypto_currency_amount decimal
          • crypto_currency_amount_eur_value decimal
          • crypto_currency_name string
          • crypto_currency_rate decimal
          • crypto_currency_rate_mid decimal
          • cryptod_fee decimal
          • current_value decimal
          • eur_amount decimal
          • expires null
          • expires_countdown string
          • fee_eur decimal
          • id integer
          • margin decimal
          • message null
          • model_types ['account.TransferAction', 'account.AccountAction']
          • order_id string
          • plugin_cost decimal
          • plugin_fee_eur decimal
          • plugin_info null
          • plugin_margin decimal
          • plugin_name null
          • plugin_title null
          • recipient null
          • recipient_city null
          • recipient_country null
          • recipient_label null
          • recipient_name null
          • status string
          • status_class string
          • status_name string
          • title string
          • to_address string
          • to_info string
          • transfer_type string
          • txid null
          • type 'SEND'
          • url string
        • transactions for which type == 'SEND' and model_types = ['account.TransferToAccountAction', 'account.TransferAction', 'account.AccountAction']
          • account_id integer
          • aux_currency_amount decimal
          • aux_currency_amount_eur_value decimal
          • aux_currency_name string
          • comment string
          • created datetime
          • crypto_currency_amount decimal
          • crypto_currency_amount_eur_value decimal
          • crypto_currency_name string
          • crypto_currency_rate decimal
          • crypto_currency_rate_mid decimal
          • current_value decimal
          • eur_amount decimal
          • expires null
          • expires_countdown string
          • fee_eur decimal
          • id integer
          • margin decimal
          • message string
          • model_types ['account.TransferToAccountAction', 'account.TransferAction', 'account.AccountAction']
          • order_id string
          • plugin_cost decimal
          • plugin_fee_eur decimal
          • plugin_info null
          • plugin_margin decimal
          • plugin_name null
          • plugin_title null
          • status string
          • status_class string
          • status_name string
          • title string
          • to_account
            • account_id string
            • code string
            • crypto_currency_fullname string
            • crypto_currency_icon string
            • crypto_currency_name string
            • crypto_currency_sign string
            • crypto_url string
            • deposit_address string
            • deposit_address_hidden bool
            • id integer
            • model_types ['account.CryptoAccount']
            • prefixed_code string
            • type 'model'
            • user
              • date_joined datetime
              • email string
              • first_name string
              • id integer
              • last_name string
              • model_types ['auth.User', 'auth.AbstractUser', 'auth.AbstractBaseUser', 'auth.PermissionsMixin']
              • type 'model'
          • to_info string
          • transfer_type string
          • type 'SEND'
          • url string
        • transactions for which type == 'TRADE' and model_types = ['account.TradeAction', 'account.AccountAction']
          • account_id integer
          • aux_currency_amount decimal
          • aux_currency_amount_eur_value decimal
          • aux_currency_eur_rate_mid decimal
          • aux_currency_name string
          • comment string
          • created datetime
          • crypto_currency_amount decimal
          • crypto_currency_amount_eur_value decimal
          • crypto_currency_eur_rate_mid decimal
          • crypto_currency_name string
          • crypto_currency_rate decimal
          • crypto_currency_rate_mid decimal
          • current_value decimal
          • eur_amount decimal
          • expires null
          • expires_countdown string
          • fee_eur decimal
          • id integer
          • margin decimal
          • message null
          • model_types ['account.TradeAction', 'account.AccountAction']
          • order_id string
          • plugin_cost decimal
          • plugin_fee_eur decimal
          • plugin_info string
          • plugin_margin decimal
          • plugin_name string
          • plugin_title string
          • status string
          • status_class string
          • status_name string
          • title string
          • type 'TRADE'
          • url string
      • ws_auth_token string
  • 404
    • response information
      • response content type text/html

/account/<account_id>/create_address

account.views.Account.action_create_address

Generate a new deposit address for this account

Note that this fails when deposit is not yet enabled for the user (when the user has not yet registered a valid ID).

POST
  • request information
    • request content types multipart/form-data
  • auth
    • authenticated True
  • 302
    • response information
      • response content type text/html

/account/<account_id>/<transaction_id>/

account.views.Transaction

Display information for a single transaction

GET
  • request information
    • request content types []
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • action when type == 'BUY' and model_types = ['account.BuyAction', 'account.AccountAction']
        • account_id integer
        • aux_currency_amount decimal
        • aux_currency_amount_eur_value decimal
        • aux_currency_name string
        • comment string
        • created datetime
        • crypto_currency_amount decimal
        • crypto_currency_amount_eur_value decimal
        • crypto_currency_name string
        • crypto_currency_rate decimal
        • crypto_currency_rate_mid decimal
        • current_value decimal
        • eur_amount decimal
        • expires datetime
        • expires_countdown string
        • fee_eur decimal
        • id integer
        • margin decimal
        • message null
        • model_types ['account.BuyAction', 'account.AccountAction']
        • order_id string
        • plugin_cost decimal
        • plugin_fee_eur decimal
        • plugin_info string
        • plugin_margin decimal
        • plugin_name string
        • plugin_title string
        • status string
        • status_class string
        • status_name string
        • title string
        • type 'BUY'
        • url string
      • action when type == 'BUY' and model_types = ['bankdeposit.BankDepositBuyAction', 'account.BuyAction', 'account.AccountAction']
        • account_id integer
        • aux_currency_amount decimal
        • aux_currency_amount_eur_value decimal
        • aux_currency_name string
        • comment string
        • created datetime
        • crypto_currency_amount decimal
        • crypto_currency_amount_eur_value decimal
        • crypto_currency_name string
        • crypto_currency_rate decimal
        • crypto_currency_rate_mid decimal
        • current_value decimal
        • eur_amount decimal
        • expires null
        • expires_countdown string
        • fee_eur decimal
        • id integer
        • margin decimal
        • message null
        • model_types ['bankdeposit.BankDepositBuyAction', 'account.BuyAction', 'account.AccountAction']
        • order_id string
        • plugin_cost decimal
        • plugin_fee_eur decimal
        • plugin_info string
        • plugin_margin decimal
        • plugin_name string
        • plugin_title string
        • status string
        • status_class string
        • status_name string
        • title string
        • type 'BUY'
        • url string
      • action when type == 'DEPOSIT' and model_types = ['account.DepositAction', 'account.AccountAction']
        • account_id integer
        • aux_currency_amount decimal
        • aux_currency_amount_eur_value decimal
        • aux_currency_name string
        • comment string
        • created datetime
        • crypto_currency_amount decimal
        • crypto_currency_amount_eur_value decimal
        • crypto_currency_name string
        • crypto_currency_rate decimal
        • crypto_currency_rate_mid decimal
        • current_value decimal
        • deposit_request null
        • deposit_request when type == 'DEPOSIT' and model_types = ['account.DepositRequestAction', 'account.AccountAction']
          • account_id integer
          • aux_currency_amount decimal
          • aux_currency_amount_eur_value decimal
          • aux_currency_name string
          • comment string
          • created datetime
          • crypto_currency_amount decimal
          • crypto_currency_amount_eur_value decimal
          • crypto_currency_amount_received decimal
          • crypto_currency_amount_received_unconfirmed decimal
          • crypto_currency_name string
          • crypto_currency_rate decimal
          • crypto_currency_rate_mid decimal
          • crypto_url string
          • current_value decimal
          • deposit_address string
          • eur_amount decimal
          • expires datetime
          • expires_countdown string
          • external_reference string
          • fee_eur decimal
          • id integer
          • margin decimal
          • message string
          • model_types ['account.DepositRequestAction', 'account.AccountAction']
          • order_id string
          • overpay decimal
          • payment_url string
          • plugin_cost decimal
          • plugin_fee_eur decimal
          • plugin_info null
          • plugin_margin decimal
          • plugin_name null
          • plugin_title null
          • redirect_url string
          • status string
          • status_class string
          • status_name string
          • title string
          • type 'DEPOSIT'
          • url string
        • eur_amount decimal
        • expires null
        • expires_countdown string
        • fee_eur decimal
        • id integer
        • margin decimal
        • message string, null
        • model_types ['account.DepositAction', 'account.AccountAction']
        • order_id string
        • origin string, null
        • origin_action null
        • origin_action when type == 'SELL'
          • account_id integer
          • aux_currency_amount decimal
          • aux_currency_amount_eur_value decimal
          • aux_currency_name string
          • comment string
          • created datetime
          • crypto_currency_amount decimal
          • crypto_currency_amount_eur_value decimal
          • crypto_currency_name string
          • crypto_currency_rate decimal
          • crypto_currency_rate_mid decimal
          • current_value decimal
          • eur_amount decimal
          • expires datetime
          • expires_countdown string
          • fee_eur decimal
          • id integer
          • margin decimal
          • message null
          • order_id string
          • plugin_cost decimal
          • plugin_fee_eur decimal
          • plugin_info string
          • plugin_margin decimal
          • plugin_name string
          • plugin_title string
          • sale
            • amount decimal
            • crypto_currency_amount decimal
            • crypto_currency_name string
            • iban_profile
              • bank_account_iban string
              • bank_account_name string
              • bank_account_names[] string
              • bank_account_verified bool
              • model_types ['valutaloket.IBANProfile']
              • type 'model'
            • id integer
            • model_types ['sepa.SEPASale']
            • type 'model'
          • status string
          • status_class string
          • status_name string
          • title string
          • type 'SELL'
          • url string
        • origin_action when type == 'SEND'
          • account_id integer
          • aux_currency_amount decimal
          • aux_currency_amount_eur_value decimal
          • aux_currency_name string
          • comment string
          • created datetime
          • crypto_currency_amount decimal
          • crypto_currency_amount_eur_value decimal
          • crypto_currency_name string
          • crypto_currency_rate decimal
          • crypto_currency_rate_mid decimal
          • current_value decimal
          • eur_amount decimal
          • expires null
          • expires_countdown string
          • fee_eur decimal
          • id integer
          • margin decimal
          • message string
          • order_id string
          • plugin_cost decimal
          • plugin_fee_eur decimal
          • plugin_info null
          • plugin_margin decimal
          • plugin_name null
          • plugin_title null
          • status string
          • status_class string
          • status_name string
          • title string
          • to_account
            • account_id string
            • code string
            • crypto_currency_fullname string
            • crypto_currency_icon string
            • crypto_currency_name string
            • crypto_currency_sign string
            • crypto_url string
            • deposit_address string
            • deposit_address_hidden bool
            • id integer
            • model_types ['account.CryptoAccount']
            • prefixed_code string
            • type 'model'
            • user
              • date_joined datetime
              • email string
              • first_name string
              • id integer
              • last_name string
              • model_types ['auth.User', 'auth.AbstractUser', 'auth.AbstractBaseUser', 'auth.PermissionsMixin']
              • type 'model'
          • to_info string
          • transfer_type string
          • type 'SEND'
          • url string
        • origin_action when type == 'TRADE'
          • account_id integer
          • aux_currency_amount decimal
          • aux_currency_amount_eur_value decimal
          • aux_currency_eur_rate_mid decimal
          • aux_currency_name string
          • comment string
          • created datetime
          • crypto_currency_amount decimal
          • crypto_currency_amount_eur_value decimal
          • crypto_currency_eur_rate_mid decimal
          • crypto_currency_name string
          • crypto_currency_rate decimal
          • crypto_currency_rate_mid decimal
          • current_value decimal
          • eur_amount decimal
          • expires null
          • expires_countdown string
          • fee_eur decimal
          • id integer
          • margin decimal
          • message null
          • order_id string
          • plugin_cost decimal
          • plugin_fee_eur decimal
          • plugin_info string
          • plugin_margin decimal
          • plugin_name string
          • plugin_title string
          • status string
          • status_class string
          • status_name string
          • title string
          • type 'TRADE'
          • url string
        • plugin_cost decimal
        • plugin_fee_eur decimal
        • plugin_info null
        • plugin_margin decimal
        • plugin_name null
        • plugin_title null
        • sender_info string, null
        • status string
        • status_class string
        • status_name string
        • title string
        • txid string, null
        • type 'DEPOSIT'
        • url string
      • action when type == 'DEPOSIT' and model_types = ['account.DepositRequestAction', 'account.AccountAction']
        • account_id integer
        • aux_currency_amount decimal
        • aux_currency_amount_eur_value decimal
        • aux_currency_name string
        • comment string
        • created datetime
        • crypto_currency_amount decimal
        • crypto_currency_amount_eur_value decimal
        • crypto_currency_amount_received decimal
        • crypto_currency_amount_received_unconfirmed decimal
        • crypto_currency_name string
        • crypto_currency_rate decimal
        • crypto_currency_rate_mid decimal
        • crypto_url string
        • current_value decimal
        • deposit_address string
        • eur_amount decimal
        • expires datetime
        • expires_countdown string
        • external_reference string
        • fee_eur decimal
        • id integer
        • margin decimal
        • message string
        • model_types ['account.DepositRequestAction', 'account.AccountAction']
        • order_id string
        • overpay decimal
        • payment_url string
        • plugin_cost decimal
        • plugin_fee_eur decimal
        • plugin_info null
        • plugin_margin decimal
        • plugin_name null
        • plugin_title null
        • redirect_url string
        • status string
        • status_class string
        • status_name string
        • title string
        • type 'DEPOSIT'
        • url string
      • action when type == 'SELL' and model_types = ['account.SellAction', 'account.AccountAction']
        • account_id integer
        • aux_currency_amount decimal
        • aux_currency_amount_eur_value decimal
        • aux_currency_name string
        • comment string
        • created datetime
        • crypto_currency_amount decimal
        • crypto_currency_amount_eur_value decimal
        • crypto_currency_name string
        • crypto_currency_rate decimal
        • crypto_currency_rate_mid decimal
        • current_value decimal
        • eur_amount decimal
        • expires null, datetime
        • expires_countdown string
        • fee_eur decimal
        • id integer
        • margin decimal
        • message string, null
        • model_types ['account.SellAction', 'account.AccountAction']
        • order_id string
        • plugin_cost decimal
        • plugin_fee_eur decimal
        • plugin_info string
        • plugin_margin decimal
        • plugin_name string
        • plugin_title string
        • sale
          • amount decimal
          • crypto_currency_amount decimal
          • crypto_currency_name string
          • iban_profile
            • bank_account_iban string
            • bank_account_name string
            • bank_account_names[] string
            • bank_account_verified bool
            • model_types ['valutaloket.IBANProfile']
            • type 'model'
          • id integer
          • model_types ['sepa.SEPASale']
          • type 'model'
        • status string
        • status_class string
        • status_name string
        • title string
        • type 'SELL'
        • url string
      • action when type == 'SEND' and model_types = ['account.TransferAction', 'account.AccountAction']
        • account_id integer
        • aux_currency_amount decimal
        • aux_currency_amount_eur_value decimal
        • aux_currency_name string
        • comment string
        • created datetime
        • crypto_currency_amount decimal
        • crypto_currency_amount_eur_value decimal
        • crypto_currency_name string
        • crypto_currency_rate decimal
        • crypto_currency_rate_mid decimal
        • cryptod_fee decimal
        • current_value decimal
        • eur_amount decimal
        • expires null
        • expires_countdown string
        • fee_eur decimal
        • id integer
        • margin decimal
        • message null
        • model_types ['account.TransferAction', 'account.AccountAction']
        • order_id string
        • plugin_cost decimal
        • plugin_fee_eur decimal
        • plugin_info null
        • plugin_margin decimal
        • plugin_name null
        • plugin_title null
        • recipient null
        • recipient_city null
        • recipient_country null
        • recipient_label null
        • recipient_name null
        • status string
        • status_class string
        • status_name string
        • title string
        • to_address string
        • to_info string
        • transfer_type string
        • txid null
        • type 'SEND'
        • url string
      • action when type == 'SEND' and model_types = ['account.TransferToAccountAction', 'account.TransferAction', 'account.AccountAction']
        • account_id integer
        • aux_currency_amount decimal
        • aux_currency_amount_eur_value decimal
        • aux_currency_name string
        • comment string
        • created datetime
        • crypto_currency_amount decimal
        • crypto_currency_amount_eur_value decimal
        • crypto_currency_name string
        • crypto_currency_rate decimal
        • crypto_currency_rate_mid decimal
        • current_value decimal
        • eur_amount decimal
        • expires null
        • expires_countdown string
        • fee_eur decimal
        • id integer
        • margin decimal
        • message string
        • model_types ['account.TransferToAccountAction', 'account.TransferAction', 'account.AccountAction']
        • order_id string
        • plugin_cost decimal
        • plugin_fee_eur decimal
        • plugin_info null
        • plugin_margin decimal
        • plugin_name null
        • plugin_title null
        • status string
        • status_class string
        • status_name string
        • title string
        • to_account
          • account_id string
          • code string
          • crypto_currency_fullname string
          • crypto_currency_icon string
          • crypto_currency_name string
          • crypto_currency_sign string
          • crypto_url string
          • deposit_address string
          • deposit_address_hidden bool
          • id integer
          • model_types ['account.CryptoAccount']
          • prefixed_code string
          • type 'model'
          • user
            • date_joined datetime
            • email string
            • first_name string
            • id integer
            • last_name string
            • model_types ['auth.User', 'auth.AbstractUser', 'auth.AbstractBaseUser', 'auth.PermissionsMixin']
            • type 'model'
        • to_info string
        • transfer_type string
        • type 'SEND'
        • url string
      • action when type == 'TRADE' and model_types = ['account.TradeAction', 'account.AccountAction']
        • account_id integer
        • aux_currency_amount decimal
        • aux_currency_amount_eur_value decimal
        • aux_currency_eur_rate_mid decimal
        • aux_currency_name string
        • comment string
        • created datetime
        • crypto_currency_amount decimal
        • crypto_currency_amount_eur_value decimal
        • crypto_currency_eur_rate_mid decimal
        • crypto_currency_name string
        • crypto_currency_rate decimal
        • crypto_currency_rate_mid decimal
        • current_value decimal
        • eur_amount decimal
        • expires null
        • expires_countdown string
        • fee_eur decimal
        • id integer
        • margin decimal
        • message null
        • model_types ['account.TradeAction', 'account.AccountAction']
        • order_id string
        • plugin_cost decimal
        • plugin_fee_eur decimal
        • plugin_info string
        • plugin_margin decimal
        • plugin_name string
        • plugin_title string
        • status string
        • status_class string
        • status_name string
        • title string
        • type 'TRADE'
        • url string
      • fields[]
        • key string
        • value string, integer, decimal, null, datetime
        • value when type == 'DEPOSIT' and model_types = ['account.DepositRequestAction', 'account.AccountAction']
          • account_id integer
          • aux_currency_amount decimal
          • aux_currency_amount_eur_value decimal
          • aux_currency_name string
          • comment string
          • created datetime
          • crypto_currency_amount decimal
          • crypto_currency_amount_eur_value decimal
          • crypto_currency_amount_received decimal
          • crypto_currency_amount_received_unconfirmed decimal
          • crypto_currency_name string
          • crypto_currency_rate decimal
          • crypto_currency_rate_mid decimal
          • crypto_url string
          • current_value decimal
          • deposit_address string
          • eur_amount decimal
          • expires datetime
          • expires_countdown string
          • external_reference string
          • fee_eur decimal
          • id integer
          • margin decimal
          • message string
          • model_types ['account.DepositRequestAction', 'account.AccountAction']
          • order_id string
          • overpay decimal
          • payment_url string
          • plugin_cost decimal
          • plugin_fee_eur decimal
          • plugin_info null
          • plugin_margin decimal
          • plugin_name null
          • plugin_title null
          • redirect_url string
          • status string
          • status_class string
          • status_name string
          • title string
          • type 'DEPOSIT'
          • url string
        • value when type == 'model' and model_types = ['account.CryptoAccount']
          • account_id string
          • code string
          • crypto_currency_fullname string
          • crypto_currency_icon string
          • crypto_currency_name string
          • crypto_currency_sign string
          • crypto_url string
          • deposit_address string
          • deposit_address_hidden bool
          • id integer
          • model_types ['account.CryptoAccount']
          • prefixed_code string
          • type 'model'
          • user
            • date_joined datetime
            • email string
            • first_name string
            • id integer
            • last_name string
            • model_types ['auth.User', 'auth.AbstractUser', 'auth.AbstractBaseUser', 'auth.PermissionsMixin']
            • type 'model'
        • value when type == 'model' and model_types = ['sepa.SEPASale']
          • amount decimal
          • crypto_currency_amount decimal
          • crypto_currency_name string
          • iban_profile
            • bank_account_iban string
            • bank_account_name string
            • bank_account_names[] string
            • bank_account_verified bool
            • model_types ['valutaloket.IBANProfile']
            • type 'model'
          • id integer
          • model_types ['sepa.SEPASale']
          • type 'model'
      • ga_page_view_data string
      • halt_all_actions bool
      • permission_denied bool
      • permission_denied_reason string
  • 404
    • response information
      • response content type text/html

/account/<transaction_id>/cancel_queued_transfer

account.views.Transaction.action_cancel_queued_transfer

Cancel a queued (claimable) transfer

This can be used to cancel a queued transfer, which is a transfer to a user that does not yet have an account. Claiming the coins will no longer be possible, the coins will be refunded. Fails if the action is not of the correct type or if the coins are already claimed.

POST
  • request information
    • request content types application/json, multipart/form-data
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json
    • response data
      • messages[]
        • level string
        • message string
  • 302
    • response information
      • response content type text/html
  • 400
    • response information
      • response content type application/json
    • response data
      • messages[]
        • level string
        • message string
  • 404
    • response information
      • response content type text/html

/account/<transaction_id>/cancel_unverified_transfer

account.views.Transaction.action_cancel_unverified_transfer

Cancel an unverified transfer

Only works for transactions that require 2FA verification (transfer and sell actions) and only if their status allows it (VERIFICATION_MAIL_SENT or VERIFICATION_TWO_FACTOR).

POST
  • request information
    • request content types application/json, multipart/form-data
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json
    • response data
      • messages[]
        • level string
        • message string
  • 302
    • response information
      • response content type text/html
  • 400
    • response information
      • response content type application/json
    • response data
      • messages[]
        • level string
        • message string
  • 404
    • response information
      • response content type text/html

/account/<transaction_id>/resend_claim_email

account.views.Transaction.action_resend_claim_email

Re-send an email to claim a transfer

This can be used to re-send an email to a recipient of a queued transfer, which is a transfer to a user that does not yet have an account. The email contains a link to register and claim the coins. Fails if the action is not of the correct type or if the coins are already claimed.

POST
  • request information
    • request content types application/json, multipart/form-data
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json
    • response data
      • messages[]
        • level string
        • message string
  • 302
    • response information
      • response content type text/html
  • 400
    • response information
      • response content type application/json
    • response data
      • messages[]
        • level string
        • message string
  • 404
    • response information
      • response content type text/html

/account/<transaction_id>/resend_verify_email

account.views.Transaction.action_resend_verify_email

Re-send a verification email

Only works for transactions that require email verification (transfer and sell actions) and only if their status allows it (VERIFICATION_MAIL_SENT).

POST
  • request information
    • request content types application/json, multipart/form-data
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json
    • response data
      • messages[]
        • level string
        • message string
  • 302
    • response information
      • response content type text/html
  • 400
    • response information
      • response content type application/json
    • response data
      • messages[]
        • level string
        • message string
  • 404
    • response information
      • response content type text/html

/account/<transaction_id>/set_deposit_origin

account.views.Transaction.action_set_deposit_origin

Set the origin of a deposit (e.g. 'own wallet' or 'exchange').

Dutch law expects us to request the origin of each deposit, this action is used to store this information (as provided by the user).

POST
  • request information
    • request content types application/json, multipart/form-data
  • post parameters
    • origin string
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json
    • response data
      • messages[]
        • level string
        • message string
  • 302
    • response information
      • response content type text/html
  • 400
    • response information
      • response content type application/json
    • response data
      • messages[]
        • level string
        • message string

/account/<transaction_id>/verify_email_code

account.views.Transaction.action_verify_email_code

Verify a 2FA email code

Only works for transactions that require 2FA verification (transfer and sell actions) and only if their status allows it (VERIFICATION_MAIL_SENT, which is only reached if the user does not have OTP set up).

GET
  • request information
    • request content types []
  • query parameters
    • code string
  • auth
    • authenticated True
  • 302
    • response information
      • response content type text/html
POST
  • request information
    • request content types application/json, multipart/form-data
  • query parameters
    • code (optional) string
  • post parameters
    • code (optional) string
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json
    • response data
      • messages[]
        • level string
        • message string
  • 302
    • response information
      • response content type text/html
  • 400
    • response information
      • response content type application/json
    • response data
      • messages[]
        • level string
        • message string
  • 404
    • response information
      • response content type text/html

/account/<transaction_id>/verify_otp

account.views.Transaction.action_verify_otp

Initiate 2-factor verification

Only works for transactions that require 2FA verification (transfer and sell actions) and only if their status allows it (VERIFICATION_TWO_FACTOR, which is only reached if the user has OTP set up).

GET
  • request information
    • request content types []
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json
    • response data
      • messages[]
        • level string
        • message string
  • 302
    • response information
      • response content type text/html
POST
  • request information
    • request content types application/json, multipart/form-data
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json
    • response data
      • messages[]
        • level string
        • message string
  • 302
    • response information
      • response content type text/html
  • 400
    • response information
      • response content type application/json
    • response data
      • messages[]
        • level string
        • message string
  • 404
    • response information
      • response content type text/html

/account/annual_report/

account.views.YearlyOverviews

Display an overview of amounts traded per year

GET
  • request information
    • request content types []
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • account
        • account_id string
        • balance
          • available decimal
          • available_eur decimal
          • max_spendable_high_fee decimal
          • max_spendable_low_fee decimal
          • max_spendable_no_fee decimal
          • owned decimal
          • owned_eur decimal
          • rate decimal
          • reserved decimal
          • reserved_eur decimal
          • unconfirmed decimal
          • unconfirmed_eur decimal
        • code string
        • crypto_currency_fullname string
        • crypto_currency_icon string
        • crypto_currency_name string
        • crypto_currency_sign string
        • crypto_url null
        • daily_change decimal
        • deposit_address null
        • deposit_address_hidden bool
        • frozen bool
        • id integer
        • model_types ['cryptoaccount.CryptoAccount', 'cryptoaccount.AccountBase']
        • prefixed_code string
        • relative_savings_score
          • level integer
          • name string
          • progress integer
        • sell_disabled bool
        • send_disabled bool
        • type 'model'
        • user
          • date_joined datetime
          • email string
          • first_name string
          • id integer
          • last_name string
          • model_types ['auth.User', 'auth.AbstractUser', 'auth.AbstractBaseUser', 'auth.PermissionsMixin']
          • type 'model'
      • exchange_down bool
      • ga_page_view_data string
      • halt_all_actions bool
      • otp_wanted bool
      • permission_denied bool
      • permission_denied_reason string
      • ws_auth_token string
      • years[]
        • accounts[]
          • aux_currency_amount decimal
          • crypto_currency_amount decimal
          • crypto_currency_fullname string
          • crypto_currency_name string
          • rate decimal
          • year integer
        • total decimal
        • year integer

/account/deposit_request/<action_id>/

account.views.DepositRequestView

Displays a deposit request

Deposit requests are used to request coins from another user. Create one using the payment deposit plugin. Note that this is a restricted plugin, request access at our support department.

GET
  • request information
    • request content types []
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json
    • response data
      • deposit_request
        • account_id integer
        • aux_currency_amount decimal
        • aux_currency_amount_eur_value decimal
        • aux_currency_name string
        • comment string
        • created datetime
        • crypto_currency_amount decimal
        • crypto_currency_amount_eur_value decimal
        • crypto_currency_amount_received decimal
        • crypto_currency_amount_received_unconfirmed decimal
        • crypto_currency_name string
        • crypto_currency_rate decimal
        • crypto_currency_rate_mid decimal
        • crypto_url string
        • current_value decimal
        • deposit_address string
        • eur_amount decimal
        • expires datetime
        • expires_countdown string
        • external_reference string
        • fee_eur decimal
        • id integer
        • margin decimal
        • message string
        • model_types ['account.DepositRequestAction', 'account.AccountAction']
        • order_id string
        • overpay decimal
        • payment_url string
        • plugin_cost decimal
        • plugin_fee_eur decimal
        • plugin_info null
        • plugin_margin decimal
        • plugin_name null
        • plugin_title null
        • redirect_url string
        • status string
        • status_class string
        • status_name string
        • title string
        • type 'DEPOSIT'
        • url string

/account/pay_deposit_request/<action_id>/

account.views.PayDepositRequestView

Pay a deposit request

Deposit requests are used to request coins from another user. Create one using the payment deposit plugin. Note that this is a restricted plugin, request access at our support department.

GET
  • request information
    • request content types []
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • crypto_url string
      • deposit_request
        • account_id integer
        • aux_currency_amount decimal
        • aux_currency_amount_eur_value decimal
        • aux_currency_name string
        • comment string
        • created datetime
        • crypto_currency_amount decimal
        • crypto_currency_amount_eur_value decimal
        • crypto_currency_amount_received decimal
        • crypto_currency_amount_received_unconfirmed decimal
        • crypto_currency_name string
        • crypto_currency_rate decimal
        • crypto_currency_rate_mid decimal
        • crypto_url string
        • current_value decimal
        • deposit_address string
        • eur_amount decimal
        • expires datetime
        • expires_countdown string
        • external_reference string
        • fee_eur decimal
        • id integer
        • margin decimal
        • message string
        • model_types ['account.DepositRequestAction', 'account.AccountAction']
        • order_id string
        • overpay decimal
        • payment_url string
        • plugin_cost decimal
        • plugin_fee_eur decimal
        • plugin_info null
        • plugin_margin decimal
        • plugin_name null
        • plugin_title null
        • redirect_url string
        • status string
        • status_class string
        • status_name string
        • title string
        • type 'DEPOSIT'
        • url string
      • qr_code_url string
      • redirect_to null
  • 302
    • response information
      • response content type text/html

/account/<account_id>/buy/

account.views.PluginView

Let the user pick a plugin and redirect to the plugin

This presents the first page of the actions, where the user picks the desired plugin to handle an action, though it implicitly redirects if there's only 1 plugin registered for the action.

GET
  • request information
    • request content types []
  • auth
    • authenticated True
  • 302
    • response information
      • response content type text/html
POST
  • request information
    • request content types application/json
  • post parameters
    • plugin_name string
  • auth
    • authenticated True
  • 302
    • response information
      • response content type text/html

/account/<account_id>/sell/

account.views.PluginView

Let the user pick a plugin and redirect to the plugin

This presents the first page of the actions, where the user picks the desired plugin to handle an action, though it implicitly redirects if there's only 1 plugin registered for the action.

GET
  • request information
    • request content types []
  • auth
    • authenticated True
  • 302
    • response information
      • response content type text/html
POST
  • request information
    • request content types application/json
  • post parameters
    • plugin_name string
  • auth
    • authenticated True
  • 302
    • response information
      • response content type text/html

/account/<account_id>/send/

account.views.PluginView

Let the user pick a plugin and redirect to the plugin

This presents the first page of the actions, where the user picks the desired plugin to handle an action, though it implicitly redirects if there's only 1 plugin registered for the action.

GET
  • request information
    • request content types []
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • account
        • account_id string
        • balance
          • available decimal
          • available_eur decimal
          • max_spendable_high_fee decimal
          • max_spendable_low_fee decimal
          • max_spendable_no_fee decimal
          • owned decimal
          • owned_eur decimal
          • rate decimal
          • reserved decimal
          • reserved_eur decimal
          • unconfirmed decimal
          • unconfirmed_eur decimal
        • code string
        • crypto_currency_fullname string
        • crypto_currency_icon string
        • crypto_currency_name string
        • crypto_currency_sign string
        • crypto_url string, null
        • daily_change decimal
        • deposit_address string, null
        • deposit_address_hidden bool
        • frozen bool
        • id integer
        • model_types ['cryptoaccount.CryptoAccount', 'cryptoaccount.AccountBase']
        • prefixed_code string
        • relative_savings_score
          • level integer
          • name string
          • progress integer
        • sell_disabled bool
        • send_disabled bool
        • type 'model'
        • user
          • date_joined datetime
          • email string
          • first_name string
          • id integer
          • last_name string
          • model_types ['auth.User', 'auth.AbstractUser', 'auth.AbstractBaseUser', 'auth.PermissionsMixin']
          • type 'model'
      • amount_plugins integer
      • cashable_deposits_enabled bool
      • current_plugin null
      • exchange_down bool
      • form
        • fields []
          • field 'plugin_name'
            • choices[] string
            • help_text string
            • invalid_error string
            • label string
            • name 'plugin_name'
            • required true
            • required_error string
            • type 'select'
            • value string
        • type 'form'
      • ga_page_view_data string
      • halt_all_actions bool
      • otp_wanted bool
      • permission_denied bool
      • permission_denied_reason string
      • plugins[]
        • fee integer
        • id string
        • margin integer
        • name string
        • requires_deposit_address bool
        • start_url string
        • view string
      • ws_auth_token string
POST
  • request information
    • request content types application/json
  • post parameters
    • plugin_name string
  • auth
    • authenticated True
  • 302
    • response information
      • response content type text/html

/account/<account_id>/trade/

account.views.PluginView

Let the user pick a plugin and redirect to the plugin

This presents the first page of the actions, where the user picks the desired plugin to handle an action, though it implicitly redirects if there's only 1 plugin registered for the action.

GET
  • request information
    • request content types []
  • auth
    • authenticated True
  • 302
    • response information
      • response content type text/html
POST
  • request information
    • request content types application/json
  • post parameters
    • plugin_name string
  • auth
    • authenticated True
  • 302
    • response information
      • response content type text/html

/account/<account_id>/deposit/

account.views.PluginView

Let the user pick a plugin and redirect to the plugin

This presents the first page of the actions, where the user picks the desired plugin to handle an action, though it implicitly redirects if there's only 1 plugin registered for the action.

GET
  • request information
    • request content types []
  • auth
    • authenticated True
  • 302
    • response information
      • response content type text/html
POST
  • request information
    • request content types application/json
  • post parameters
    • plugin_name string
  • auth
    • authenticated True
  • 302
    • response information
      • response content type text/html

/account/ideal/<account_id>/

actionplugins.buy.ideal.views.Start

Buy crypto with iDeal

This presents a form when called using GET, or redirects to the iDeal PSP when called using POST, unless there are form errors, in which case the form is presented again. (In other words, if this does not return a 302 on POST, there are errors in the form.)

On POST only the crypto_currency_amount and bank_id can be provided, in which case the aux_currency_amount is calculated on-the-fly, or all form fields can be filled in, with aux_currency_amount, timestamp and hash data provided by the market api for a pre-calculated price (this way the user can be presented with an 'offer price' beforehand). This data can be retrieved 'through the web' (see /market/buy_price and /market/sell_amount) or from the websockets (using the request_price/request_amount commands).

GET
  • request information
    • request content types []
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • account
        • account_id string
        • balance
          • available decimal
          • available_eur decimal
          • max_spendable_high_fee decimal
          • max_spendable_low_fee decimal
          • max_spendable_no_fee decimal
          • owned decimal
          • owned_eur decimal
          • rate decimal
          • reserved decimal
          • reserved_eur decimal
          • unconfirmed decimal
          • unconfirmed_eur decimal
        • code string
        • crypto_currency_fullname string
        • crypto_currency_icon string
        • crypto_currency_name string
        • crypto_currency_sign string
        • crypto_url string, null
        • daily_change decimal
        • deposit_address string, null
        • deposit_address_hidden bool
        • frozen bool
        • id integer
        • model_types ['cryptoaccount.CryptoAccount', 'cryptoaccount.AccountBase']
        • prefixed_code string
        • relative_savings_score
          • level integer
          • name string
          • progress integer
        • sell_disabled bool
        • send_disabled bool
        • type 'model'
        • user
          • date_joined datetime
          • email string
          • first_name string
          • id integer
          • last_name string
          • model_types ['auth.User', 'auth.AbstractUser', 'auth.AbstractBaseUser', 'auth.PermissionsMixin']
          • type 'model'
      • amount_plugins integer
      • cashable_deposits_enabled bool
      • cryptod_fee decimal
      • current_plugin string
      • exchange_down bool
      • form
        • fields []
          • field 'aux_currency_name'
            • choices[] string
            • help_text string
            • invalid_error string
            • label string
            • name 'aux_currency_name'
            • required false
            • type 'hidden'
            • value string
          • field 'aux_currency_amount'
            • autofocus 'autofocus'
            • data-errors string
            • data_errors string
            • help_text string
            • invalid_error string
            • label string
            • max decimal
            • max_error string
            • min decimal
            • min_error string
            • name 'aux_currency_amount'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'crypto_currency_amount'
            • data-errors string
            • data_errors string
            • help_text string
            • invalid_error string
            • label string
            • min decimal
            • min_error string
            • name 'crypto_currency_amount'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'price_timestamp'
            • help_text string
            • invalid_error string
            • label string
            • name 'price_timestamp'
            • required false
            • type 'hidden'
            • value string, null
          • field 'price_hash'
            • help_text string
            • invalid_error string
            • label string
            • name 'price_hash'
            • required false
            • type 'hidden'
            • value string, null
          • field 'leading'
            • help_text string
            • invalid_error string
            • label string
            • name 'leading'
            • required false
            • type 'hidden'
            • value string, null
          • field 'bank_id'
            • choices[] string, integer
            • help_text string
            • invalid_error string
            • label string
            • name 'bank_id'
            • required true
            • required_error string
            • type 'select'
            • value string
          • field 'redirect_url'
            • help_text string
            • invalid_error string
            • label string
            • name 'redirect_url'
            • required false
            • type 'hidden'
            • value string, null
        • type 'form'
      • ga_page_view_data string
      • halt_all_actions bool
      • otp_wanted bool
      • permission_denied bool
      • permission_denied_reason string
      • plugin_fee decimal
      • plugins[]
        • fee decimal
        • id string
        • margin decimal
        • min_amount decimal
        • name string
        • start_url string
        • view string
      • ws_auth_token string
POST
  • request information
    • request content types application/json, multipart/form-data
  • post parameters
    • aux_currency_amount (optional) string
    • aux_currency_name (optional) string
    • bank_id string, integer
    • crypto_currency_amount string
    • leading (optional) string
    • price_hash (optional) string
    • price_timestamp (optional) string
    • redirect_url (optional) string
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • account
        • account_id string
        • balance
          • available decimal
          • available_eur decimal
          • max_spendable_high_fee decimal
          • max_spendable_low_fee decimal
          • max_spendable_no_fee decimal
          • owned decimal
          • owned_eur decimal
          • rate decimal
          • reserved decimal
          • reserved_eur decimal
          • unconfirmed decimal
          • unconfirmed_eur decimal
        • code string
        • crypto_currency_fullname string
        • crypto_currency_icon string
        • crypto_currency_name string
        • crypto_currency_sign string
        • crypto_url null
        • daily_change decimal
        • deposit_address null
        • deposit_address_hidden bool
        • frozen bool
        • id integer
        • model_types ['cryptoaccount.CryptoAccount', 'cryptoaccount.AccountBase']
        • prefixed_code string
        • relative_savings_score
          • level integer
          • name string
          • progress integer
        • sell_disabled bool
        • send_disabled bool
        • type 'model'
        • user
          • date_joined datetime
          • email string
          • first_name string
          • id integer
          • last_name string
          • model_types ['auth.User', 'auth.AbstractUser', 'auth.AbstractBaseUser', 'auth.PermissionsMixin']
          • type 'model'
      • amount_plugins integer
      • cashable_deposits_enabled bool
      • cryptod_fee decimal
      • current_plugin string
      • exchange_down bool
      • form
        • fields []
          • field 'aux_currency_name'
            • choices[] string
            • help_text string
            • invalid_error string
            • label string
            • name 'aux_currency_name'
            • required false
            • type 'hidden'
            • value string
          • field 'aux_currency_amount'
            • autofocus 'autofocus'
            • data-errors string
            • data_errors string
            • errors[] string
            • help_text string
            • invalid_error string
            • label string
            • max decimal
            • max_error string
            • min decimal
            • min_error string
            • name 'aux_currency_amount'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'crypto_currency_amount'
            • data-errors string
            • data_errors string
            • help_text string
            • invalid_error string
            • label string
            • min decimal
            • min_error string
            • name 'crypto_currency_amount'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'price_timestamp'
            • help_text string
            • invalid_error string
            • label string
            • name 'price_timestamp'
            • required false
            • type 'hidden'
            • value string, null
          • field 'price_hash'
            • help_text string
            • invalid_error string
            • label string
            • name 'price_hash'
            • required false
            • type 'hidden'
            • value string, null
          • field 'leading'
            • help_text string
            • invalid_error string
            • label string
            • name 'leading'
            • required false
            • type 'hidden'
            • value string, null
          • field 'bank_id'
            • choices[] string, integer
            • help_text string
            • invalid_error string
            • label string
            • name 'bank_id'
            • required true
            • required_error string
            • type 'select'
            • value string
          • field 'redirect_url'
            • help_text string
            • invalid_error string
            • label string
            • name 'redirect_url'
            • required false
            • type 'hidden'
            • value string, null
        • type 'form'
      • ga_page_view_data string
      • halt_all_actions bool
      • otp_wanted bool
      • permission_denied bool
      • permission_denied_reason string
      • plugin_fee decimal
      • plugins[]
        • fee decimal
        • id string
        • margin decimal
        • min_amount decimal
        • name string
        • start_url string
        • view string
      • ws_auth_token string
  • 201
    • response information
      • response content type application/json
    • response data
      • action
        • account_id integer
        • aux_currency_amount decimal
        • aux_currency_amount_eur_value decimal
        • aux_currency_name string
        • comment string
        • created datetime
        • crypto_currency_amount decimal
        • crypto_currency_amount_eur_value decimal
        • crypto_currency_name string
        • crypto_currency_rate decimal
        • crypto_currency_rate_mid decimal
        • current_value decimal
        • eur_amount decimal
        • expires datetime
        • expires_countdown string
        • fee_eur decimal
        • id integer
        • margin decimal
        • message null
        • model_types ['account.BuyAction', 'account.AccountAction']
        • order_id string
        • plugin_cost decimal
        • plugin_fee_eur decimal
        • plugin_info null
        • plugin_margin decimal
        • plugin_name string
        • plugin_title string
        • status string
        • status_class string
        • status_name string
        • title string
        • type 'BUY'
        • url string
      • payment_url string
  • 302
    • response information
      • response content type text/html

/account/mrcash/<account_id>/

actionplugins.buy.mrcash.views.Start

Buy crypto with Bancontact (aka Mister Cash)

This presents a form when called using GET, or redirects to the bancontact PSP when called using POST, unless there are form errors, in which case the form is presented again. (In other words, if this does not return a 302 on POST, there are errors in the form.)

On POST only the crypto_currency_amount and bank_id can be provided, in which case the aux_currency_amount is calculated on-the-fly, or all form fields can be filled in, with aux_currency_amount, timestamp and hash data provided by the market api for a pre-calculated price (this way the user can be presented with an 'offer price' beforehand). This data can be retrieved 'through the web' (see /market/buy_price and /market/sell_amount) or from the websockets (using the request_price/request_amount commands).

GET
  • request information
    • request content types []
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • account
        • account_id string
        • balance
          • available decimal
          • available_eur decimal
          • max_spendable_high_fee decimal
          • max_spendable_low_fee decimal
          • max_spendable_no_fee decimal
          • owned decimal
          • owned_eur decimal
          • rate decimal
          • reserved decimal
          • reserved_eur decimal
          • unconfirmed decimal
          • unconfirmed_eur decimal
        • code string
        • crypto_currency_fullname string
        • crypto_currency_icon string
        • crypto_currency_name string
        • crypto_currency_sign string
        • crypto_url null
        • daily_change decimal
        • deposit_address null
        • deposit_address_hidden bool
        • frozen bool
        • id integer
        • model_types ['cryptoaccount.CryptoAccount', 'cryptoaccount.AccountBase']
        • prefixed_code string
        • relative_savings_score
          • level integer
          • name string
          • progress integer
        • sell_disabled bool
        • send_disabled bool
        • type 'model'
        • user
          • date_joined datetime
          • email string
          • first_name string
          • id integer
          • last_name string
          • model_types ['auth.User', 'auth.AbstractUser', 'auth.AbstractBaseUser', 'auth.PermissionsMixin']
          • type 'model'
      • amount_plugins integer
      • cashable_deposits_enabled bool
      • cryptod_fee decimal
      • current_plugin string
      • exchange_down bool
      • form
        • fields []
          • field 'aux_currency_name'
            • choices[] string
            • help_text string
            • invalid_error string
            • label string
            • name 'aux_currency_name'
            • required false
            • type 'hidden'
            • value string
          • field 'aux_currency_amount'
            • autofocus 'autofocus'
            • data-errors string
            • data_errors string
            • help_text string
            • invalid_error string
            • label string
            • max decimal
            • max_error string
            • min decimal
            • min_error string
            • name 'aux_currency_amount'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'crypto_currency_amount'
            • data-errors string
            • data_errors string
            • help_text string
            • invalid_error string
            • label string
            • min decimal
            • min_error string
            • name 'crypto_currency_amount'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'price_timestamp'
            • help_text string
            • invalid_error string
            • label string
            • name 'price_timestamp'
            • required false
            • type 'hidden'
            • value string, null
          • field 'price_hash'
            • help_text string
            • invalid_error string
            • label string
            • name 'price_hash'
            • required false
            • type 'hidden'
            • value string, null
          • field 'leading'
            • help_text string
            • invalid_error string
            • label string
            • name 'leading'
            • required false
            • type 'hidden'
            • value string, null
        • type 'form'
      • ga_page_view_data string
      • halt_all_actions bool
      • otp_wanted bool
      • permission_denied bool
      • permission_denied_reason string
      • plugin_fee decimal
      • plugins[]
        • fee decimal
        • id string
        • margin decimal
        • min_amount decimal
        • name string
        • start_url string
        • view string
      • ws_auth_token string
POST
  • request information
    • request content types application/json, multipart/form-data
  • post parameters
    • aux_currency_amount (optional) string
    • aux_currency_name (optional) string
    • bank_id string, integer
    • crypto_currency_amount string
    • leading (optional) string
    • price_hash (optional) string
    • price_timestamp (optional) string
    • redirect_url (optional) string
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • account
        • account_id string
        • balance
          • available decimal
          • available_eur decimal
          • max_spendable_high_fee decimal
          • max_spendable_low_fee decimal
          • max_spendable_no_fee decimal
          • owned decimal
          • owned_eur decimal
          • rate decimal
          • reserved decimal
          • reserved_eur decimal
          • unconfirmed decimal
          • unconfirmed_eur decimal
        • code string
        • crypto_currency_fullname string
        • crypto_currency_icon string
        • crypto_currency_name string
        • crypto_currency_sign string
        • crypto_url null
        • daily_change decimal
        • deposit_address null
        • deposit_address_hidden bool
        • frozen bool
        • id integer
        • model_types ['cryptoaccount.CryptoAccount', 'cryptoaccount.AccountBase']
        • prefixed_code string
        • relative_savings_score
          • level integer
          • name string
          • progress integer
        • sell_disabled bool
        • send_disabled bool
        • type 'model'
        • user
          • date_joined datetime
          • email string
          • first_name string
          • id integer
          • last_name string
          • model_types ['auth.User', 'auth.AbstractUser', 'auth.AbstractBaseUser', 'auth.PermissionsMixin']
          • type 'model'
      • amount_plugins integer
      • cashable_deposits_enabled bool
      • cryptod_fee decimal
      • current_plugin string
      • exchange_down bool
      • form
        • fields []
          • field 'aux_currency_name'
            • choices[] string
            • help_text string
            • invalid_error string
            • label string
            • name 'aux_currency_name'
            • required false
            • type 'hidden'
            • value string
          • field 'aux_currency_amount'
            • autofocus 'autofocus'
            • data-errors string
            • data_errors string
            • errors[] string
            • help_text string
            • invalid_error string
            • label string
            • max decimal
            • max_error string
            • min decimal
            • min_error string
            • name 'aux_currency_amount'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'crypto_currency_amount'
            • data-errors string
            • data_errors string
            • help_text string
            • invalid_error string
            • label string
            • min decimal
            • min_error string
            • name 'crypto_currency_amount'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'price_timestamp'
            • help_text string
            • invalid_error string
            • label string
            • name 'price_timestamp'
            • required false
            • type 'hidden'
            • value string, null
          • field 'price_hash'
            • help_text string
            • invalid_error string
            • label string
            • name 'price_hash'
            • required false
            • type 'hidden'
            • value string, null
          • field 'leading'
            • help_text string
            • invalid_error string
            • label string
            • name 'leading'
            • required false
            • type 'hidden'
            • value string, null
        • type 'form'
      • ga_page_view_data string
      • halt_all_actions bool
      • otp_wanted bool
      • permission_denied bool
      • permission_denied_reason string
      • plugin_fee decimal
      • plugins[]
        • fee decimal
        • id string
        • margin decimal
        • min_amount decimal
        • name string
        • start_url string
        • view string
      • ws_auth_token string
  • 201
    • response information
      • response content type application/json
    • response data
      • action
        • account_id integer
        • aux_currency_amount decimal
        • aux_currency_amount_eur_value decimal
        • aux_currency_name string
        • comment string
        • created datetime
        • crypto_currency_amount decimal
        • crypto_currency_amount_eur_value decimal
        • crypto_currency_name string
        • crypto_currency_rate decimal
        • crypto_currency_rate_mid decimal
        • current_value decimal
        • eur_amount decimal
        • expires datetime
        • expires_countdown string
        • fee_eur decimal
        • id integer
        • margin decimal
        • message null
        • model_types ['account.BuyAction', 'account.AccountAction']
        • order_id string
        • plugin_cost decimal
        • plugin_fee_eur decimal
        • plugin_info null
        • plugin_margin decimal
        • plugin_name string
        • plugin_title string
        • status string
        • status_class string
        • status_name string
        • title string
        • type 'BUY'
        • url string
      • payment_url string
  • 302
    • response information
      • response content type text/html

/account/sepa/<account_id>/

actionplugins.sell.sepa.views.Start

Sell crypto with SEPA

This presents a form when called using GET, creates a transfer and redirects to the account page or an OTP page when called using POST, unless there are form errors, in which case the form is presented again. (In other words, if this does not return a 302 on POST, there are errors in the form.)

On POST only the crypto_currency_amount and bank_id can be provided, in which case the aux_currency_amount is calculated on-the-fly, or all form fields can be filled in, with aux_currency_amount, timestamp and hash data provided by the market api for a pre-calculated price (this way the user can be presented with an 'offer price' beforehand). This data can be retrieved 'through the web' (see /market/sell_price and /market/sell_amount) or from the websockets (using the request_price/request_amount commands).

GET
  • request information
    • request content types []
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • account
        • account_id string
        • balance
          • available decimal
          • available_eur decimal
          • max_spendable_high_fee decimal
          • max_spendable_low_fee decimal
          • max_spendable_no_fee decimal
          • owned decimal
          • owned_eur decimal
          • rate decimal
          • reserved decimal
          • reserved_eur decimal
          • unconfirmed decimal
          • unconfirmed_eur decimal
        • code string
        • crypto_currency_fullname string
        • crypto_currency_icon string
        • crypto_currency_name string
        • crypto_currency_sign string
        • crypto_url null
        • daily_change decimal
        • deposit_address null
        • deposit_address_hidden bool
        • frozen bool
        • id integer
        • model_types ['cryptoaccount.CryptoAccount', 'cryptoaccount.AccountBase']
        • prefixed_code string
        • relative_savings_score
          • level integer
          • name string
          • progress integer
        • sell_disabled bool
        • send_disabled bool
        • type 'model'
        • user
          • date_joined datetime
          • email string
          • first_name string
          • id integer
          • last_name string
          • model_types ['auth.User', 'auth.AbstractUser', 'auth.AbstractBaseUser', 'auth.PermissionsMixin']
          • type 'model'
      • amount_plugins integer
      • cashable_deposits_enabled bool
      • current_plugin string
      • exchange_down bool
      • form
        • fields []
          • field 'aux_currency_name'
            • choices[] string
            • help_text string
            • invalid_error string
            • label string
            • name 'aux_currency_name'
            • required false
            • type 'hidden'
            • value string
          • field 'aux_currency_amount'
            • autofocus 'autofocus'
            • data-errors string
            • data_errors string
            • help_text string
            • invalid_error string
            • label string
            • max decimal
            • max_error string
            • min decimal
            • min_error string
            • name 'aux_currency_amount'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'crypto_currency_amount'
            • data-errors string
            • data_errors string
            • help_text string
            • invalid_error string
            • label string
            • max decimal
            • max_error string
            • min decimal
            • min_error null
            • name 'crypto_currency_amount'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'price_timestamp'
            • help_text string
            • invalid_error string
            • label string
            • name 'price_timestamp'
            • required false
            • type 'hidden'
            • value string, null
          • field 'price_hash'
            • help_text string
            • invalid_error string
            • label string
            • name 'price_hash'
            • required false
            • type 'hidden'
            • value string, null
          • field 'leading'
            • help_text string
            • invalid_error string
            • label string
            • name 'leading'
            • required false
            • type 'hidden'
            • value string, null
          • field 'iban_profile'
            • choices[] string, integer
            • help_text string
            • invalid_error string
            • label string
            • name 'iban_profile'
            • required true
            • required_error string
            • type 'select'
            • value string
        • type 'form'
      • ga_page_view_data string
      • halt_all_actions bool
      • otp_wanted bool
      • permission_denied bool
      • permission_denied_reason string
      • plugins[]
        • fee decimal
        • id string
        • margin decimal
        • name string
        • start_url string
        • view string
      • ws_auth_token string
POST
  • request information
    • request content types application/json, multipart/form-data
  • post parameters
    • aux_currency_amount (optional) string
    • aux_currency_name (optional) string
    • crypto_currency_amount string
    • iban_profile string, integer
    • leading (optional) string
    • price_hash (optional) string
    • price_timestamp (optional) string
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • account
        • account_id string
        • balance
          • available decimal
          • available_eur decimal
          • max_spendable_high_fee decimal
          • max_spendable_low_fee decimal
          • max_spendable_no_fee decimal
          • owned decimal
          • owned_eur decimal
          • rate decimal
          • reserved decimal
          • reserved_eur decimal
          • unconfirmed decimal
          • unconfirmed_eur decimal
        • code string
        • crypto_currency_fullname string
        • crypto_currency_icon string
        • crypto_currency_name string
        • crypto_currency_sign string
        • crypto_url null
        • daily_change decimal
        • deposit_address null
        • deposit_address_hidden bool
        • frozen bool
        • id integer
        • model_types ['cryptoaccount.CryptoAccount', 'cryptoaccount.AccountBase']
        • prefixed_code string
        • relative_savings_score
          • level integer
          • name string
          • progress integer
        • sell_disabled bool
        • send_disabled bool
        • type 'model'
        • user
          • date_joined datetime
          • email string
          • first_name string
          • id integer
          • last_name string
          • model_types ['auth.User', 'auth.AbstractUser', 'auth.AbstractBaseUser', 'auth.PermissionsMixin']
          • type 'model'
      • amount_plugins integer
      • cashable_deposits_enabled bool
      • current_plugin string
      • exchange_down bool
      • form
        • fields []
          • field 'aux_currency_name'
            • choices[] string
            • help_text string
            • invalid_error string
            • label string
            • name 'aux_currency_name'
            • required false
            • type 'hidden'
            • value string
          • field 'aux_currency_amount'
            • autofocus 'autofocus'
            • data-errors string
            • data_errors string
            • errors[] string
            • help_text string
            • invalid_error string
            • label string
            • max decimal
            • max_error string
            • min decimal
            • min_error string
            • name 'aux_currency_amount'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'crypto_currency_amount'
            • data-errors string
            • data_errors string
            • help_text string
            • invalid_error string
            • label string
            • max decimal
            • max_error string
            • min decimal
            • min_error null
            • name 'crypto_currency_amount'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'price_timestamp'
            • help_text string
            • invalid_error string
            • label string
            • name 'price_timestamp'
            • required false
            • type 'hidden'
            • value string, null
          • field 'price_hash'
            • help_text string
            • invalid_error string
            • label string
            • name 'price_hash'
            • required false
            • type 'hidden'
            • value string, null
          • field 'leading'
            • help_text string
            • invalid_error string
            • label string
            • name 'leading'
            • required false
            • type 'hidden'
            • value string, null
          • field 'iban_profile'
            • choices[] string, integer
            • help_text string
            • invalid_error string
            • label string
            • name 'iban_profile'
            • required true
            • required_error string
            • type 'select'
            • value string
        • type 'form'
      • ga_page_view_data string
      • halt_all_actions bool
      • otp_wanted bool
      • permission_denied bool
      • permission_denied_reason string
      • plugins[]
        • fee decimal
        • id string
        • margin decimal
        • name string
        • start_url string
        • view string
      • ws_auth_token string
  • 201
    • response information
      • response content type application/json
    • response data
      • action
        • account_id integer
        • aux_currency_amount decimal
        • aux_currency_amount_eur_value decimal
        • aux_currency_name string
        • comment string
        • created datetime
        • crypto_currency_amount decimal
        • crypto_currency_amount_eur_value decimal
        • crypto_currency_name string
        • crypto_currency_rate decimal
        • crypto_currency_rate_mid decimal
        • current_value decimal
        • eur_amount decimal
        • expires datetime
        • expires_countdown string
        • fee_eur decimal
        • id integer
        • margin decimal
        • message null
        • model_types ['account.SellAction', 'account.AccountAction']
        • order_id string
        • plugin_cost decimal
        • plugin_fee_eur decimal
        • plugin_info string
        • plugin_margin decimal
        • plugin_name string
        • plugin_title string
        • sale
          • amount decimal
          • crypto_currency_amount decimal
          • crypto_currency_name string
          • iban_profile
            • bank_account_iban string
            • bank_account_name string
            • bank_account_names[] string
            • bank_account_verified bool
            • model_types ['valutaloket.IBANProfile']
            • type 'model'
          • id integer
          • model_types ['sepa.SEPASale']
          • type 'model'
        • status string
        • status_class string
        • status_name string
        • title string
        • type 'SELL'
        • url string
  • 302
    • response information
      • response content type text/html

/account/send/<account_id>/send/

actionplugins.send.account.views.SendToAccount

Send crypto to a Bitmymoney account

This allows sending to an account based on account/user-related information, such as email or phone number (at this moment only email is supported). If there's an existing account for the provided piece of information, we deposit immediately, if not we queue a transfer and send a message using the provided information (email to email address, sms to phone number) to allow claiming it.

This presents a form when called using GET, creates a transfer and redirects to the account page or an OTP page when called using POST, unless there are form errors, in which case the form is presented again. (In other words, if this does not return a 302 on POST, there are errors in the form.)

On POST only the crypto_currency_amount and bank_id can be provided, in which case the aux_currency_amount is calculated on-the-fly, or all form fields can be filled in, with aux_currency_amount, timestamp and hash data provided by the market api for a pre-calculated price (this way the user can be presented with an 'offer price' beforehand). This data can be retrieved 'through the web' (see /market/buy_price and /market/sell_amount) or from the websockets (using the request_price/request_amount commands).

GET
  • request information
    • request content types []
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • account
        • account_id string
        • balance
          • available decimal
          • available_eur decimal
          • max_spendable_high_fee decimal
          • max_spendable_low_fee decimal
          • max_spendable_no_fee decimal
          • owned decimal
          • owned_eur decimal
          • rate decimal
          • reserved decimal
          • reserved_eur decimal
          • unconfirmed decimal
          • unconfirmed_eur decimal
        • code string
        • crypto_currency_fullname string
        • crypto_currency_icon string
        • crypto_currency_name string
        • crypto_currency_sign string
        • crypto_url string, null
        • daily_change decimal
        • deposit_address string, null
        • deposit_address_hidden bool
        • frozen bool
        • id integer
        • model_types ['cryptoaccount.CryptoAccount', 'cryptoaccount.AccountBase']
        • prefixed_code string
        • relative_savings_score
          • level integer
          • name string
          • progress integer
        • sell_disabled bool
        • send_disabled bool
        • type 'model'
        • user
          • date_joined datetime
          • email string
          • first_name string
          • id integer
          • last_name string
          • model_types ['auth.User', 'auth.AbstractUser', 'auth.AbstractBaseUser', 'auth.PermissionsMixin']
          • type 'model'
      • account_pay_url string
      • action_title string
      • amount_plugins integer
      • cashable_deposits_enabled bool
      • cryptod_fee_low decimal
      • current_plugin string
      • exchange_down bool
      • form
        • fields []
          • field 'aux_currency_name'
            • choices[] string
            • help_text string
            • invalid_error string
            • label string
            • name 'aux_currency_name'
            • required false
            • type 'hidden'
            • value string
          • field 'aux_currency_amount'
            • autofocus 'autofocus'
            • data-errors string
            • data_errors string
            • help_text string
            • invalid_error string
            • label string
            • max decimal
            • max_error string
            • min decimal
            • min_error null
            • name 'aux_currency_amount'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'crypto_currency_amount'
            • data-errors string
            • data-fee bool
            • data_errors string
            • data_fee bool
            • help_text string
            • invalid_error string
            • label string
            • max decimal
            • max_error string
            • min decimal
            • min_error null
            • name 'crypto_currency_amount'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'price_timestamp'
            • help_text string
            • invalid_error string
            • label string
            • name 'price_timestamp'
            • required false
            • type 'hidden'
            • value string, null
          • field 'price_hash'
            • help_text string
            • invalid_error string
            • label string
            • name 'price_hash'
            • required false
            • type 'hidden'
            • value string, null
          • field 'leading'
            • help_text string
            • invalid_error string
            • label string
            • name 'leading'
            • required false
            • type 'hidden'
            • value string, null
          • field 'to_email'
            • help_text string
            • invalid_error string
            • label string
            • name 'to_email'
            • required true
            • required_error string
            • type 'email'
            • value string
          • field 'message'
            • help_text string
            • invalid_error string
            • label string
            • name 'message'
            • required false
            • type 'textarea'
            • value string, null
        • type 'form'
      • ga_page_view_data string
      • halt_all_actions bool
      • no_2fa_amount_eur decimal
      • otp_wanted bool
      • permission_denied bool
      • permission_denied_reason string
      • plugin string
      • plugins[]
        • fee integer
        • id string
        • margin integer
        • name string
        • requires_deposit_address bool
        • start_url string
        • view string
      • view_name string
      • ws_auth_token string
POST
  • request information
    • request content types application/json, multipart/form-data
  • post parameters
    • aux_currency_amount (optional) string
    • aux_currency_name (optional) string
    • crypto_currency_amount string
    • leading (optional) string
    • message (optional) string
    • price_hash (optional) string
    • price_timestamp (optional) string
    • to_email string
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • account
        • account_id string
        • balance
          • available decimal
          • available_eur decimal
          • max_spendable_high_fee decimal
          • max_spendable_low_fee decimal
          • max_spendable_no_fee decimal
          • owned decimal
          • owned_eur decimal
          • rate decimal
          • reserved decimal
          • reserved_eur decimal
          • unconfirmed decimal
          • unconfirmed_eur decimal
        • code string
        • crypto_currency_fullname string
        • crypto_currency_icon string
        • crypto_currency_name string
        • crypto_currency_sign string
        • crypto_url null
        • daily_change decimal
        • deposit_address null
        • deposit_address_hidden bool
        • frozen bool
        • id integer
        • model_types ['cryptoaccount.CryptoAccount', 'cryptoaccount.AccountBase']
        • prefixed_code string
        • relative_savings_score
          • level integer
          • name string
          • progress integer
        • sell_disabled bool
        • send_disabled bool
        • type 'model'
        • user
          • date_joined datetime
          • email string
          • first_name string
          • id integer
          • last_name string
          • model_types ['auth.User', 'auth.AbstractUser', 'auth.AbstractBaseUser', 'auth.PermissionsMixin']
          • type 'model'
      • account_pay_url string
      • action_title string
      • amount_plugins integer
      • cashable_deposits_enabled bool
      • cryptod_fee_low decimal
      • current_plugin string
      • exchange_down bool
      • form
        • fields []
          • field 'aux_currency_name'
            • choices[] string
            • help_text string
            • invalid_error string
            • label string
            • name 'aux_currency_name'
            • required false
            • type 'hidden'
            • value string
          • field 'aux_currency_amount'
            • autofocus 'autofocus'
            • data-errors string
            • data_errors string
            • errors[] string
            • help_text string
            • invalid_error string
            • label string
            • max decimal
            • max_error string
            • min decimal
            • min_error null
            • name 'aux_currency_amount'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'crypto_currency_amount'
            • data-errors string
            • data-fee bool
            • data_errors string
            • data_fee bool
            • help_text string
            • invalid_error string
            • label string
            • max decimal
            • max_error string
            • min decimal
            • min_error null
            • name 'crypto_currency_amount'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'price_timestamp'
            • help_text string
            • invalid_error string
            • label string
            • name 'price_timestamp'
            • required false
            • type 'hidden'
            • value string, null
          • field 'price_hash'
            • help_text string
            • invalid_error string
            • label string
            • name 'price_hash'
            • required false
            • type 'hidden'
            • value string, null
          • field 'leading'
            • help_text string
            • invalid_error string
            • label string
            • name 'leading'
            • required false
            • type 'hidden'
            • value string, null
          • field 'to_email'
            • help_text string
            • invalid_error string
            • label string
            • name 'to_email'
            • required true
            • required_error string
            • type 'email'
            • value string
          • field 'message'
            • help_text string
            • invalid_error string
            • label string
            • name 'message'
            • required false
            • type 'textarea'
            • value string, null
        • type 'form'
      • ga_page_view_data string
      • halt_all_actions bool
      • no_2fa_amount_eur decimal
      • otp_wanted bool
      • permission_denied bool
      • permission_denied_reason string
      • plugin string
      • plugins[]
        • fee integer
        • id string
        • margin integer
        • name string
        • requires_deposit_address bool
        • start_url string
        • view string
      • view_name string
      • ws_auth_token string
  • 201
    • response information
      • response content type application/json
    • response data
      • action when type == 'SEND' and model_types = ['account.QueuedTransferAction', 'account.TransferAction', 'account.AccountAction']
        • account_id integer
        • aux_currency_amount decimal
        • aux_currency_amount_eur_value decimal
        • aux_currency_name string
        • comment string
        • created datetime
        • crypto_currency_amount decimal
        • crypto_currency_amount_eur_value decimal
        • crypto_currency_name string
        • crypto_currency_rate decimal
        • crypto_currency_rate_mid decimal
        • current_value decimal
        • eur_amount decimal
        • expires null, datetime
        • expires_countdown string
        • fee_eur decimal
        • id integer
        • margin integer
        • message string
        • model_types ['account.QueuedTransferAction', 'account.TransferAction', 'account.AccountAction']
        • order_id string
        • plugin_cost decimal
        • plugin_fee_eur decimal
        • plugin_info null
        • plugin_margin integer
        • plugin_name null
        • plugin_title null
        • secret string
        • status string
        • status_class string
        • status_name string
        • title string
        • to_email string
        • to_info string
        • transfer_type string
        • type 'SEND'
        • url string
      • action when type == 'SEND' and model_types = ['account.TransferToAccountAction', 'account.TransferAction', 'account.AccountAction']
        • account_id integer
        • aux_currency_amount decimal
        • aux_currency_amount_eur_value decimal
        • aux_currency_name string
        • comment string
        • created datetime
        • crypto_currency_amount decimal
        • crypto_currency_amount_eur_value decimal
        • crypto_currency_name string
        • crypto_currency_rate decimal
        • crypto_currency_rate_mid decimal
        • current_value decimal
        • eur_amount decimal
        • expires null
        • expires_countdown string
        • fee_eur decimal
        • id integer
        • margin integer
        • message string
        • model_types ['account.TransferToAccountAction', 'account.TransferAction', 'account.AccountAction']
        • order_id string
        • plugin_cost decimal
        • plugin_fee_eur decimal
        • plugin_info null
        • plugin_margin integer
        • plugin_name null
        • plugin_title null
        • status string
        • status_class string
        • status_name string
        • title string
        • to_account
          • account_id string
          • code string
          • crypto_currency_fullname string
          • crypto_currency_icon string
          • crypto_currency_name string
          • crypto_currency_sign string
          • crypto_url string, null
          • deposit_address string, null
          • deposit_address_hidden bool
          • id integer
          • model_types ['account.CryptoAccount']
          • prefixed_code string
          • type 'model'
          • user
            • date_joined datetime
            • email string
            • first_name string
            • id integer
            • last_name string
            • model_types ['auth.User', 'auth.AbstractUser', 'auth.AbstractBaseUser', 'auth.PermissionsMixin']
            • type 'model'
        • to_info string
        • transfer_type string
        • type 'SEND'
        • url string
  • 302
    • response information
      • response content type text/html

/account/send/receive/<order_id>/

actionplugins.send.account.views.ClaimQueuedTransfer

Claim a queued transfer

This allows claiming a transfer that has been queued earlier, using claim info (combination of transfer id and some secret code). Note that this view does not explicitly require authentication, but behaves different if you're not logged in: if you are logged in as the receiver (so a new user with the to_email as registered email address), the transfer is executed, if not (also if you're logged in as a different user), a special claim/registration form is presented.

The secret can be passed as GET or POST parameter, on GET a form is presented, POST will perform the claim code.

Returns a 403 if the secret is not correct or not provided.

GET
  • request information
    • request content types []
  • query parameters
    • secret string
  • auth
    • authenticated Both
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • crypto_currency_fullname string
      • login_form null
      • login_form when type == 'form'
        • fields[]
          • help_text string
          • invalid_error string
          • label string
          • name string
          • required bool
          • required_error string
          • type 'password'
          • value null
        • type 'form'
      • register_form null
      • register_form when type == 'form'
        • fields []
          • fields for which type == 'checkbox'
            • help_text string
            • invalid_error string
            • label string
            • name string
            • required bool
            • required_error string
            • type 'checkbox'
            • value null
          • fields for which type == 'password'
            • help_text string
            • invalid_error string
            • label string
            • name string
            • required bool
            • required_error string
            • type 'password'
            • value null
          • fields for which type == 'text'
            • help_text string
            • invalid_error string
            • label string
            • name string
            • required bool
            • required_error string
            • type 'text'
            • value null
        • type 'form'
      • transfer
        • account_id integer
        • aux_currency_amount decimal
        • aux_currency_amount_eur_value decimal
        • aux_currency_name string
        • comment string
        • created datetime
        • crypto_currency_amount decimal
        • crypto_currency_amount_eur_value decimal
        • crypto_currency_name string
        • crypto_currency_rate decimal
        • crypto_currency_rate_mid decimal
        • current_value decimal
        • eur_amount decimal
        • expires datetime
        • expires_countdown string
        • fee_eur decimal
        • id integer
        • margin decimal
        • message string
        • model_types ['account.QueuedTransferAction', 'account.TransferAction', 'account.AccountAction']
        • order_id string
        • plugin_cost decimal
        • plugin_fee_eur decimal
        • plugin_info null
        • plugin_margin decimal
        • plugin_name null
        • plugin_title null
        • secret string
        • status string
        • status_class string
        • status_name string
        • title string
        • to_email string
        • to_info string
        • transfer_type string
        • type 'SEND'
        • url string
      • user null
      • user when type == 'model' and model_types = ['auth.User', 'auth.AbstractUser', 'auth.AbstractBaseUser', 'auth.PermissionsMixin']
        • date_joined datetime
        • email string
        • first_name string
        • id integer
        • last_name string
        • model_types ['auth.User', 'auth.AbstractUser', 'auth.AbstractBaseUser', 'auth.PermissionsMixin']
        • type 'model'
  • 403
    • response information
      • response content type text/html
  • 404
    • response information
      • response content type text/html
POST
  • request information
    • request content types application/json, multipart/form-data
  • query parameters
    • secret (optional) string
  • post parameters
    • first_name (optional) string
    • last_name (optional) string
    • password (optional) string
    • secret (optional) string
    • terms_accepted (optional) string
  • auth
    • authenticated True
  • 201
    • response information
      • response content type application/json
    • response data
      • action
        • account_id integer
        • aux_currency_amount decimal
        • aux_currency_amount_eur_value decimal
        • aux_currency_name string
        • comment string
        • created datetime
        • crypto_currency_amount decimal
        • crypto_currency_amount_eur_value decimal
        • crypto_currency_name string
        • crypto_currency_rate decimal
        • crypto_currency_rate_mid decimal
        • current_value decimal
        • eur_amount decimal
        • expires datetime
        • expires_countdown string
        • fee_eur decimal
        • id integer
        • margin decimal
        • message string
        • model_types ['account.QueuedTransferAction', 'account.TransferAction', 'account.AccountAction']
        • order_id string
        • plugin_cost decimal
        • plugin_fee_eur decimal
        • plugin_info null
        • plugin_margin decimal
        • plugin_name null
        • plugin_title null
        • secret string
        • status string
        • status_class string
        • status_name string
        • title string
        • to_email string
        • to_info string
        • transfer_type string
        • type 'SEND'
        • url string
  • 302
    • response information
      • response content type text/html
  • 403
    • response information
      • response content type text/html

/account/send/receive/<order_id>/resend

actionplugins.send.account.views.ClaimQueuedTransfer.action_resend

Request re-sending of an expired queued transfer

This can be called by the receiver of a queued transfer.

POST
  • request information
    • request content types application/json, multipart/form-data
  • post parameters
    • message (optional) string
  • auth
    • authenticated Both
  • 200
    • response information
      • response content type application/json
    • response data
      • messages[]
        • level string
        • message string
  • 302
    • response information
      • response content type text/html
  • 404
    • response information
      • response content type text/html

/account/send/cancel_queued/<order_id>/

actionplugins.send.account.views.CancelQueuedTransfer

Cancel a queued transfer

This can be called by the receiver of the transfer, who identifies by passing the 'secret' as GET or POST parameter.

Returns a 403 if the secret is not correct or not provided.

GET
  • request information
    • request content types []
  • query parameters
    • secret string
  • auth
    • authenticated Both
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • transfer
        • account_id integer
        • aux_currency_amount decimal
        • aux_currency_amount_eur_value decimal
        • aux_currency_name string
        • comment string
        • created datetime
        • crypto_currency_amount decimal
        • crypto_currency_amount_eur_value decimal
        • crypto_currency_name string
        • crypto_currency_rate decimal
        • crypto_currency_rate_mid decimal
        • current_value decimal
        • eur_amount decimal
        • expires datetime
        • expires_countdown string
        • fee_eur decimal
        • id integer
        • margin decimal
        • message string
        • model_types ['account.QueuedTransferAction', 'account.TransferAction', 'account.AccountAction']
        • order_id string
        • plugin_cost decimal
        • plugin_fee_eur decimal
        • plugin_info null
        • plugin_margin decimal
        • plugin_name null
        • plugin_title null
        • secret string
        • status string
        • status_class string
        • status_name string
        • title string
        • to_email string
        • to_info string
        • transfer_type string
        • type 'SEND'
        • url string
  • 403
    • response information
      • response content type application/json, text/html
    • response data
      • error string
  • 404
    • response information
      • response content type text/html
POST
  • request information
    • request content types application/json, multipart/form-data
  • query parameters
    • secret (optional) string
  • post parameters
    • secret (optional) string
  • auth
    • authenticated Both
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • transfer
        • account_id integer
        • aux_currency_amount decimal
        • aux_currency_amount_eur_value decimal
        • aux_currency_name string
        • comment string
        • created datetime
        • crypto_currency_amount decimal
        • crypto_currency_amount_eur_value decimal
        • crypto_currency_name string
        • crypto_currency_rate decimal
        • crypto_currency_rate_mid decimal
        • current_value decimal
        • eur_amount decimal
        • expires datetime
        • expires_countdown string
        • fee_eur decimal
        • id integer
        • margin decimal
        • message string
        • model_types ['account.QueuedTransferAction', 'account.TransferAction', 'account.AccountAction']
        • order_id string
        • plugin_cost decimal
        • plugin_fee_eur decimal
        • plugin_info null
        • plugin_margin decimal
        • plugin_name null
        • plugin_title null
        • secret string
        • status string
        • status_class string
        • status_name string
        • title string
        • to_email string
        • to_info string
        • transfer_type string
        • type 'SEND'
        • url string
  • 403
    • response information
      • response content type application/json, text/html
    • response data
      • error string
  • 404
    • response information
      • response content type text/html

/account/pay/<account_id>/pay/

actionplugins.send.address.views.SendToAddress

Send crypto to a crypto address

This presents a form when called using GET, creates a transfer and redirects to the account page or an OTP page when called using POST, unless there are form errors, in which case the form is presented again. (In other words, if this does not return a 302 on POST, there are errors in the form.)

On POST only the crypto_currency_amount and bank_id can be provided, in which case the aux_currency_amount is calculated on-the-fly, or all form fields can be filled in, with aux_currency_amount, timestamp and hash data provided by the market api for a pre-calculated price (this way the user can be presented with an 'offer price' beforehand). This data can be retrieved 'through the web' (see /market/buy_price and /market/sell_amount) or from the websockets (using the request_price/request_amount commands).

GET
  • request information
    • request content types []
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • account
        • account_id string
        • balance
          • available decimal
          • available_eur decimal
          • max_spendable_high_fee decimal
          • max_spendable_low_fee decimal
          • max_spendable_no_fee decimal
          • owned decimal
          • owned_eur decimal
          • rate decimal
          • reserved decimal
          • reserved_eur decimal
          • unconfirmed decimal
          • unconfirmed_eur decimal
        • code string
        • crypto_currency_fullname string
        • crypto_currency_icon string
        • crypto_currency_name string
        • crypto_currency_sign string
        • crypto_url string, null
        • daily_change decimal
        • deposit_address string, null
        • deposit_address_hidden bool
        • frozen bool
        • id integer
        • model_types ['cryptoaccount.CryptoAccount', 'cryptoaccount.AccountBase']
        • prefixed_code string
        • relative_savings_score
          • level integer
          • name string
          • progress integer
        • sell_disabled bool
        • send_disabled bool
        • type 'model'
        • user
          • date_joined datetime
          • email string
          • first_name string
          • id integer
          • last_name string
          • model_types ['auth.User', 'auth.AbstractUser', 'auth.AbstractBaseUser', 'auth.PermissionsMixin']
          • type 'model'
      • account_pay_url string
      • action_title string
      • amount_plugins integer
      • cashable_deposits_enabled bool
      • cryptod_fee_low decimal
      • current_plugin string
      • exchange_down bool
      • form
        • fields []
          • field 'aux_currency_name'
            • choices[] string
            • help_text string
            • invalid_error string
            • label string
            • name 'aux_currency_name'
            • required false
            • type 'hidden'
            • value string
          • field 'aux_currency_amount'
            • autofocus 'autofocus'
            • data-errors string
            • data_errors string
            • help_text string
            • invalid_error string
            • label string
            • max decimal
            • max_error string
            • min decimal
            • min_error null
            • name 'aux_currency_amount'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'crypto_currency_amount'
            • data-errors string
            • data-fee bool
            • data-max-high decimal
            • data-max-low decimal
            • data_errors string
            • data_fee bool
            • data_max_high decimal
            • data_max_low decimal
            • help_text string
            • invalid_error string
            • label string
            • max decimal
            • max_error string
            • min decimal
            • min_error null
            • name 'crypto_currency_amount'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'price_timestamp'
            • help_text string
            • invalid_error string
            • label string
            • name 'price_timestamp'
            • required false
            • type 'hidden'
            • value string, null
          • field 'price_hash'
            • help_text string
            • invalid_error string
            • label string
            • name 'price_hash'
            • required false
            • type 'hidden'
            • value string, null
          • field 'leading'
            • help_text string
            • invalid_error string
            • label string
            • name 'leading'
            • required false
            • type 'hidden'
            • value string, null
          • field 'to_address'
            • choices[] string
            • help_text string
            • invalid_error string
            • label string
            • name 'to_address'
            • required true
            • required_error string
            • type 'select'
            • value string
          • field 'high_priority'
            • help_text string
            • invalid_error string
            • label string
            • name 'high_priority'
            • required false
            • type 'checkbox'
            • value string, null
        • type 'form'
      • ga_page_view_data string
      • halt_all_actions bool
      • no_2fa_amount_eur decimal
      • otp_wanted bool
      • permission_denied bool
      • permission_denied_reason string
      • plugin string
      • plugins[]
        • fee integer
        • id string
        • margin integer
        • name string
        • requires_deposit_address bool
        • start_url string
        • view string
      • view_name string
      • ws_auth_token string
POST
  • request information
    • request content types application/json, multipart/form-data
  • post parameters
    • aux_currency_amount (optional) string
    • aux_currency_name (optional) string
    • crypto_currency_amount string
    • leading (optional) string
    • price_hash (optional) string
    • price_timestamp (optional) string
    • to_address string
  • auth
    • authenticated True
  • 200
    • response information
      • response content type text/html
    • response data
      • account
        • account_id string
        • balance
          • available decimal
          • available_eur decimal
          • max_spendable_high_fee decimal
          • max_spendable_low_fee decimal
          • max_spendable_no_fee decimal
          • owned decimal
          • owned_eur decimal
          • rate decimal
          • reserved decimal
          • reserved_eur decimal
          • unconfirmed decimal
          • unconfirmed_eur decimal
        • code string
        • crypto_currency_fullname string
        • crypto_currency_icon string
        • crypto_currency_name string
        • crypto_currency_sign string
        • crypto_url null
        • daily_change decimal
        • deposit_address null
        • deposit_address_hidden bool
        • frozen bool
        • id integer
        • model_types ['cryptoaccount.CryptoAccount', 'cryptoaccount.AccountBase']
        • prefixed_code string
        • relative_savings_score
          • level integer
          • name string
          • progress integer
        • sell_disabled bool
        • send_disabled bool
        • type 'model'
        • user
          • date_joined datetime
          • email string
          • first_name string
          • id integer
          • last_name string
          • model_types ['auth.User', 'auth.AbstractUser', 'auth.AbstractBaseUser', 'auth.PermissionsMixin']
          • type 'model'
      • account_pay_url string
      • action_title string
      • amount_plugins integer
      • cashable_deposits_enabled bool
      • cryptod_fee_low decimal
      • current_plugin string
      • exchange_down bool
      • form
        • fields []
          • field 'aux_currency_name'
            • choices[] string
            • help_text string
            • invalid_error string
            • label string
            • name 'aux_currency_name'
            • required false
            • type 'hidden'
            • value string
          • field 'aux_currency_amount'
            • autofocus 'autofocus'
            • data-errors string
            • data_errors string
            • errors[] string
            • help_text string
            • invalid_error string
            • label string
            • max decimal
            • max_error string
            • min decimal
            • min_error null
            • name 'aux_currency_amount'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'crypto_currency_amount'
            • data-errors string
            • data-fee bool
            • data-max-high decimal
            • data-max-low decimal
            • data_errors string
            • data_fee bool
            • data_max_high decimal
            • data_max_low decimal
            • help_text string
            • invalid_error string
            • label string
            • max decimal
            • max_error string
            • min decimal
            • min_error null
            • name 'crypto_currency_amount'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'price_timestamp'
            • help_text string
            • invalid_error string
            • label string
            • name 'price_timestamp'
            • required false
            • type 'hidden'
            • value string, null
          • field 'price_hash'
            • help_text string
            • invalid_error string
            • label string
            • name 'price_hash'
            • required false
            • type 'hidden'
            • value string, null
          • field 'leading'
            • help_text string
            • invalid_error string
            • label string
            • name 'leading'
            • required false
            • type 'hidden'
            • value string, null
          • field 'to_address'
            • choices[] string
            • help_text string
            • invalid_error string
            • label string
            • name 'to_address'
            • required true
            • required_error string
            • type 'select'
            • value string
          • field 'high_priority'
            • help_text string
            • invalid_error string
            • label string
            • name 'high_priority'
            • required false
            • type 'checkbox'
            • value string, null
        • type 'form'
      • ga_page_view_data string
      • halt_all_actions bool
      • no_2fa_amount_eur decimal
      • otp_wanted bool
      • permission_denied bool
      • permission_denied_reason string
      • plugin string
      • plugins[]
        • fee integer
        • id string
        • margin integer
        • name string
        • requires_deposit_address bool
        • start_url string
        • view string
      • view_name string
      • ws_auth_token string
  • 201
    • response information
      • response content type application/json
    • response data
      • action
        • account_id integer
        • aux_currency_amount decimal
        • aux_currency_amount_eur_value decimal
        • aux_currency_name string
        • comment string
        • created datetime
        • crypto_currency_amount decimal
        • crypto_currency_amount_eur_value decimal
        • crypto_currency_name string
        • crypto_currency_rate decimal
        • crypto_currency_rate_mid decimal
        • cryptod_fee decimal
        • current_value decimal
        • eur_amount decimal
        • expires null
        • expires_countdown string
        • fee_eur decimal
        • id integer
        • margin integer
        • message null
        • model_types ['account.TransferAction', 'account.AccountAction']
        • order_id string
        • plugin_cost decimal
        • plugin_fee_eur decimal
        • plugin_info null
        • plugin_margin integer
        • plugin_name null
        • plugin_title null
        • recipient null
        • recipient_city null
        • recipient_country null
        • recipient_label null
        • recipient_name null
        • status string
        • status_class string
        • status_name string
        • title string
        • to_address string
        • to_info string
        • transfer_type string
        • txid null
        • type 'SEND'
        • url string
  • 302
    • response information
      • response content type text/html

/account/giftcard/<account_id>/gift/

actionplugins.send.giftcard.views.SendToGiftcard

Store crypto to a Bitmymoney giftcard which can be redeemed later

GET
  • request information
    • request content types []
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • account
        • account_id string
        • balance
          • available decimal
          • available_eur decimal
          • max_spendable_high_fee decimal
          • max_spendable_low_fee decimal
          • max_spendable_no_fee decimal
          • owned decimal
          • owned_eur decimal
          • rate decimal
          • reserved decimal
          • reserved_eur decimal
          • unconfirmed decimal
          • unconfirmed_eur decimal
        • code string
        • crypto_currency_fullname string
        • crypto_currency_icon string
        • crypto_currency_name string
        • crypto_currency_sign string
        • crypto_url null
        • daily_change decimal
        • deposit_address null
        • deposit_address_hidden bool
        • frozen bool
        • id integer
        • model_types ['cryptoaccount.CryptoAccount', 'cryptoaccount.AccountBase']
        • prefixed_code string
        • relative_savings_score
          • level integer
          • name string
          • progress integer
        • sell_disabled bool
        • send_disabled bool
        • type 'model'
        • user
          • date_joined datetime
          • email string
          • first_name string
          • id integer
          • last_name string
          • model_types ['auth.User', 'auth.AbstractUser', 'auth.AbstractBaseUser', 'auth.PermissionsMixin']
          • type 'model'
      • account_pay_url string
      • action_title string
      • amount_plugins integer
      • cashable_deposits_enabled bool
      • cryptod_fee_low decimal
      • current_plugin string
      • exchange_down bool
      • form
        • fields []
          • field 'aux_currency_name'
            • choices[] string
            • help_text string
            • invalid_error string
            • label string
            • name 'aux_currency_name'
            • required false
            • type 'hidden'
            • value string
          • field 'aux_currency_amount'
            • autofocus 'autofocus'
            • data-errors string
            • data_errors string
            • help_text string
            • invalid_error string
            • label string
            • max decimal
            • max_error string
            • min decimal
            • min_error null
            • name 'aux_currency_amount'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'crypto_currency_amount'
            • data-errors string
            • data-fee bool
            • data_errors string
            • data_fee bool
            • help_text string
            • invalid_error string
            • label string
            • max decimal
            • max_error string
            • min decimal
            • min_error null
            • name 'crypto_currency_amount'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'price_timestamp'
            • help_text string
            • invalid_error string
            • label string
            • name 'price_timestamp'
            • required false
            • type 'hidden'
            • value string, null
          • field 'price_hash'
            • help_text string
            • invalid_error string
            • label string
            • name 'price_hash'
            • required false
            • type 'hidden'
            • value string, null
          • field 'leading'
            • help_text string
            • invalid_error string
            • label string
            • name 'leading'
            • required false
            • type 'hidden'
            • value string, null
          • field 'template'
            • help_text string
            • invalid_error string
            • label string
            • name 'template'
            • required true
            • required_error string
            • type 'hidden'
            • value string
          • field 'message'
            • help_text string
            • invalid_error string
            • label string
            • name 'message'
            • required false
            • type 'textarea'
            • value string, null
        • type 'form'
      • ga_page_view_data string
      • halt_all_actions bool
      • no_2fa_amount_eur decimal
      • otp_wanted bool
      • permission_denied bool
      • permission_denied_reason string
      • plugin string
      • plugins[]
        • fee integer
        • id string
        • margin integer
        • name string
        • requires_deposit_address bool
        • start_url string
        • view string
      • view_name string
      • ws_auth_token string
POST
  • request information
    • request content types application/json
  • post parameters
    • crypto_currency_amount string
    • leading string
    • message string
    • template string
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json
    • response data
      • account
        • account_id string
        • balance
          • available decimal
          • available_eur decimal
          • max_spendable_high_fee decimal
          • max_spendable_low_fee decimal
          • max_spendable_no_fee decimal
          • owned decimal
          • owned_eur decimal
          • rate decimal
          • reserved decimal
          • reserved_eur decimal
          • unconfirmed decimal
          • unconfirmed_eur decimal
        • code string
        • crypto_currency_fullname string
        • crypto_currency_icon string
        • crypto_currency_name string
        • crypto_currency_sign string
        • crypto_url null
        • daily_change decimal
        • deposit_address null
        • deposit_address_hidden bool
        • frozen bool
        • id integer
        • model_types ['cryptoaccount.CryptoAccount', 'cryptoaccount.AccountBase']
        • prefixed_code string
        • relative_savings_score
          • level integer
          • name string
          • progress integer
        • sell_disabled bool
        • send_disabled bool
        • type 'model'
        • user
          • date_joined datetime
          • email string
          • first_name string
          • id integer
          • last_name string
          • model_types ['auth.User', 'auth.AbstractUser', 'auth.AbstractBaseUser', 'auth.PermissionsMixin']
          • type 'model'
      • account_pay_url string
      • action_title string
      • amount_plugins integer
      • cryptod_fee_low decimal
      • current_plugin string
      • exchange_down bool
      • form
        • fields []
          • field 'aux_currency_name'
            • choices[] string
            • help_text string
            • invalid_error string
            • label string
            • name 'aux_currency_name'
            • required false
            • type 'hidden'
            • value string
          • field 'aux_currency_amount'
            • autofocus 'autofocus'
            • data-errors string
            • data_errors string
            • errors[] string
            • help_text string
            • invalid_error string
            • label string
            • max decimal
            • max_error string
            • min decimal
            • min_error null
            • name 'aux_currency_amount'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'crypto_currency_amount'
            • data-errors string
            • data-fee bool
            • data_errors string
            • data_fee bool
            • help_text string
            • invalid_error string
            • label string
            • max decimal
            • max_error string
            • min decimal
            • min_error null
            • name 'crypto_currency_amount'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'price_timestamp'
            • help_text string
            • invalid_error string
            • label string
            • name 'price_timestamp'
            • required false
            • type 'hidden'
            • value string, null
          • field 'price_hash'
            • help_text string
            • invalid_error string
            • label string
            • name 'price_hash'
            • required false
            • type 'hidden'
            • value string, null
          • field 'leading'
            • help_text string
            • invalid_error string
            • label string
            • name 'leading'
            • required false
            • type 'hidden'
            • value string, null
          • field 'template'
            • help_text string
            • invalid_error string
            • label string
            • name 'template'
            • required true
            • required_error string
            • type 'hidden'
            • value string
          • field 'message'
            • help_text string
            • invalid_error string
            • label string
            • name 'message'
            • required false
            • type 'textarea'
            • value string, null
        • type 'form'
      • halt_all_actions bool
      • no_2fa_amount_eur decimal
      • otp_wanted bool
      • permission_denied bool
      • permission_denied_reason string
      • plugin string
      • plugins[]
        • fee integer
        • id string
        • margin integer
        • name string
        • requires_deposit_address bool
        • start_url string
        • view string
      • view_name string
      • ws_auth_token string
  • 201
    • response information
      • response content type application/json
    • response data
      • action
        • account_id integer
        • aux_currency_amount decimal
        • aux_currency_amount_eur_value decimal
        • aux_currency_name string
        • comment string
        • created datetime
        • crypto_currency_amount decimal
        • crypto_currency_amount_eur_value decimal
        • crypto_currency_name string
        • crypto_currency_rate decimal
        • crypto_currency_rate_mid decimal
        • current_value decimal
        • eur_amount decimal
        • expires datetime
        • expires_countdown string
        • fee_eur decimal
        • id integer
        • margin integer
        • message string
        • model_types ['giftcard.GiftcardTransferAction', 'account.QueuedTransferAction', 'account.TransferAction', 'account.AccountAction']
        • order_id string
        • plugin_cost decimal
        • plugin_fee_eur decimal
        • plugin_info null
        • plugin_margin integer
        • plugin_name null
        • plugin_title null
        • secret string
        • status string
        • status_class string
        • status_name string
        • title string
        • to_info string
        • transfer_type string
        • type 'SEND'
        • url string

/account/deposit/<account_id>/

actionplugins.deposit.deposit.views.Deposit

Presents the user's crypto address and deposit instructions

Note that this only works if deposit is allowed (which requires users to provide their ID).

GET
  • request information
    • request content types []
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • account
        • account_id string
        • balance
          • available decimal
          • available_eur decimal
          • max_spendable_high_fee decimal
          • max_spendable_low_fee decimal
          • max_spendable_no_fee decimal
          • owned decimal
          • owned_eur decimal
          • rate decimal
          • reserved decimal
          • reserved_eur decimal
          • unconfirmed decimal
          • unconfirmed_eur decimal
        • code string
        • crypto_currency_fullname string
        • crypto_currency_icon string
        • crypto_currency_name string
        • crypto_currency_sign string
        • crypto_url string, null
        • daily_change decimal
        • deposit_address string, null
        • deposit_address_hidden bool
        • frozen bool
        • id integer
        • model_types ['cryptoaccount.CryptoAccount', 'cryptoaccount.AccountBase']
        • prefixed_code string
        • relative_savings_score
          • level integer
          • name string
          • progress integer
        • sell_disabled bool
        • send_disabled bool
        • type 'model'
        • user
          • date_joined datetime
          • email string
          • first_name string
          • id integer
          • last_name string
          • model_types ['auth.User', 'auth.AbstractUser', 'auth.AbstractBaseUser', 'auth.PermissionsMixin']
          • type 'model'
      • address string, null
      • address_hidden bool
      • amount_plugins integer
      • cashable_deposits_enabled bool
      • cryptod_url string, null
      • currency_name string
      • current_plugin string
      • exchange_down bool
      • ga_page_view_data string
      • halt_all_actions bool
      • otp_wanted bool
      • permission_denied bool
      • permission_denied_reason string
      • plugins[]
        • fee decimal, integer
        • id string
        • margin decimal, integer
        • name string
        • requires_deposit_address bool
        • rest_only bool
        • start_url string
        • view string
      • qr_code_url string, null
      • ws_auth_token string

/account/payment/<account_id>/

actionplugins.deposit.payment.views.Start

Start a deposit request

Deposit requests are requests for crypto to another user. This presents a form to generate a payment page on GET and initializes a deposit request (which presents the payment page) on successful POSTs. If the POST was successful, the user is redirected to the payment page, if not (so if there are form errors), the form is presented again. (In other words, if a POST does not result in a 302, the form contains errors.)

The payment page allows another user to deposit crypto to the user's deposit address, presenting payment information, including a QR code.

Note that this is only accessible when the functionality is enabled for the account, contact support if you would like to use it.

GET
  • request information
    • request content types []
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • account
        • account_id string
        • balance
          • available decimal
          • available_eur decimal
          • max_spendable_high_fee decimal
          • max_spendable_low_fee decimal
          • max_spendable_no_fee decimal
          • owned decimal
          • owned_eur decimal
          • rate decimal
          • reserved decimal
          • reserved_eur decimal
          • unconfirmed decimal
          • unconfirmed_eur decimal
        • code string
        • crypto_currency_fullname string
        • crypto_currency_icon string
        • crypto_currency_name string
        • crypto_currency_sign string
        • crypto_url string, null
        • daily_change decimal
        • deposit_address string, null
        • deposit_address_hidden bool
        • frozen bool
        • id integer
        • model_types ['cryptoaccount.CryptoAccount', 'cryptoaccount.AccountBase']
        • prefixed_code string
        • relative_savings_score
          • level integer
          • name string
          • progress integer
        • sell_disabled bool
        • send_disabled bool
        • type 'model'
        • user
          • date_joined datetime
          • email string
          • first_name string
          • id integer
          • last_name string
          • model_types ['auth.User', 'auth.AbstractUser', 'auth.AbstractBaseUser', 'auth.PermissionsMixin']
          • type 'model'
      • amount_plugins integer
      • cashable_deposits_enabled bool
      • current_plugin string
      • exchange_down bool
      • form
        • fields []
          • field 'aux_currency_name'
            • choices[] string
            • help_text string
            • invalid_error string
            • label string
            • name 'aux_currency_name'
            • required false
            • type 'hidden'
            • value string
          • field 'aux_currency_amount'
            • data-errors string
            • data_errors string
            • help_text string
            • invalid_error string
            • label string
            • min decimal
            • min_error null
            • name 'aux_currency_amount'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'crypto_currency_amount'
            • data-errors string
            • data_errors string
            • help_text string
            • invalid_error string
            • label string
            • min decimal
            • min_error null
            • name 'crypto_currency_amount'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'price_timestamp'
            • help_text string
            • invalid_error string
            • label string
            • name 'price_timestamp'
            • required false
            • type 'hidden'
            • value string, null
          • field 'price_hash'
            • help_text string
            • invalid_error string
            • label string
            • name 'price_hash'
            • required false
            • type 'hidden'
            • value string, null
          • field 'leading'
            • help_text string
            • invalid_error string
            • label string
            • name 'leading'
            • required false
            • type 'hidden'
            • value string, null
          • field 'expiration_minutes'
            • data-errors string
            • data_errors string
            • help_text string
            • invalid_error string
            • label string
            • name 'expiration_minutes'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'message'
            • help_text string
            • invalid_error string
            • label string
            • name 'message'
            • required false
            • type 'textarea'
            • value string, null
          • field 'external_reference'
            • help_text string
            • invalid_error string
            • label string
            • name 'external_reference'
            • required false
            • type 'text'
            • value string, null
          • field 'redirect_url'
            • help_text string
            • invalid_error string
            • label string
            • name 'redirect_url'
            • required false
            • type 'url'
            • value string, null
          • field 'sell_iban_profile'
            • choices[] string, integer
            • help_text string
            • invalid_error string
            • label string
            • name 'sell_iban_profile'
            • required false
            • type 'select'
            • value string
        • type 'form'
      • ga_page_view_data string
      • halt_all_actions bool
      • otp_wanted bool
      • permission_denied bool
      • permission_denied_reason string
      • plugins[]
        • fee decimal, integer
        • id string
        • margin decimal, integer
        • name string
        • requires_deposit_address bool
        • rest_only bool
        • start_url string
        • view string
      • ws_auth_token string
POST
  • request information
    • request content types application/json, multipart/form-data
  • post parameters
    • aux_currency_amount (optional) string
    • aux_currency_name (optional) string
    • crypto_currency_amount string
    • expiration_minutes string, integer
    • external_reference (optional) string
    • leading (optional) string
    • message (optional) string
    • price_hash (optional) string
    • price_timestamp (optional) string
    • redirect_url (optional) string
    • sell_iban_profile (optional) integer
  • auth
    • authenticated True
  • 302
    • response information
      • response content type text/html

/account/trade/<account_id>/

actionplugins.trade.trade.views.Trade

Trade crypto for other crypto

This presents a form when called using GET, or trades crypto to crypto and redirects to the account page when called using POST, unless there are form errors, in which case the form is presented again. (In other words, if this does not return a 302 on POST, there are errors in the form.)

Note that the names of the form fields are somewhat confusing: a Trade should be considered a sale of the currency of the currently active account to another currency, making that crypto_currency is the currency of that account and aux_currency is the currency to trade for. (For instance, when trading BTC for ETH, this form is presented as part of the BTC account's views and crypto_currency_amount is the amount of BTC, while aux_currency_amount is the amount of LTC.)

On POST only the crypto_currency_amount and bank_id can be provided, in which case the aux_currency_amount is calculated on-the-fly, or all form fields can be filled in, with aux_currency_amount, timestamp and hash data provided by the market api for a pre-calculated price (this way the user can be presented with an 'offer price' beforehand). This data can be retrieved 'through the web' (see /market/sell_price and /market/sell_amount) or from the websockets (using the request_price/request_amount commands).

GET
  • request information
    • request content types []
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • account
        • account_id string
        • balance
          • available decimal
          • available_eur decimal
          • max_spendable_high_fee decimal
          • max_spendable_low_fee decimal
          • max_spendable_no_fee decimal
          • owned decimal
          • owned_eur decimal
          • rate decimal
          • reserved decimal
          • reserved_eur decimal
          • unconfirmed decimal
          • unconfirmed_eur decimal
        • code string
        • crypto_currency_fullname string
        • crypto_currency_icon string
        • crypto_currency_name string
        • crypto_currency_sign string
        • crypto_url string, null
        • daily_change decimal
        • deposit_address string, null
        • deposit_address_hidden bool
        • frozen bool
        • id integer
        • model_types ['cryptoaccount.CryptoAccount', 'cryptoaccount.AccountBase']
        • prefixed_code string
        • relative_savings_score
          • level integer
          • name string
          • progress integer
        • sell_disabled bool
        • send_disabled bool
        • type 'model'
        • user
          • date_joined datetime
          • email string
          • first_name string
          • id integer
          • last_name string
          • model_types ['auth.User', 'auth.AbstractUser', 'auth.AbstractBaseUser', 'auth.PermissionsMixin']
          • type 'model'
      • amount_plugins integer
      • cashable_deposits_enabled bool
      • current_plugin string
      • exchange_down bool
      • form
        • fields []
          • field 'crypto_currency_amount'
            • data-errors string
            • data_errors string
            • help_text string
            • invalid_error string
            • label string
            • max decimal
            • max_error string
            • min decimal
            • min_error null
            • name 'crypto_currency_amount'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'aux_currency_name'
            • choices[] string
            • help_text string
            • invalid_error string
            • label string
            • name 'aux_currency_name'
            • required false
            • type 'select'
            • value string
          • field 'aux_currency_amount'
            • data-errors string
            • data_errors string
            • help_text string
            • invalid_error string
            • label string
            • name 'aux_currency_amount'
            • required false
            • step decimal
            • type 'number'
            • value string, null
          • field 'price_timestamp'
            • help_text string
            • invalid_error string
            • label string
            • name 'price_timestamp'
            • required false
            • type 'hidden'
            • value string, null
          • field 'price_hash'
            • help_text string
            • invalid_error string
            • label string
            • name 'price_hash'
            • required false
            • type 'hidden'
            • value string, null
          • field 'leading'
            • help_text string
            • invalid_error string
            • label string
            • name 'leading'
            • required false
            • type 'hidden'
            • value string, null
        • type 'form'
      • ga_page_view_data string
      • halt_all_actions bool
      • otp_wanted bool
      • permission_denied bool
      • permission_denied_reason string
      • plugins[]
        • fee decimal
        • id string
        • margin decimal
        • name string
        • requires_deposit_address bool
        • start_url string
        • view string
      • ws_auth_token string
POST
  • request information
    • request content types application/json, multipart/form-data
  • post parameters
    • aux_currency_amount (optional) string
    • aux_currency_name string
    • crypto_currency_amount string
    • leading (optional) string
    • price_hash (optional) string
    • price_timestamp (optional) string
  • auth
    • authenticated True
  • 200
    • response information
      • response content type text/html
    • response data
      • account
        • account_id string
        • balance
          • available decimal
          • available_eur decimal
          • max_spendable_high_fee decimal
          • max_spendable_low_fee decimal
          • max_spendable_no_fee decimal
          • owned decimal
          • owned_eur decimal
          • rate decimal
          • reserved decimal
          • reserved_eur decimal
          • unconfirmed decimal
          • unconfirmed_eur decimal
        • code string
        • crypto_currency_fullname string
        • crypto_currency_icon string
        • crypto_currency_name string
        • crypto_currency_sign string
        • crypto_url null
        • daily_change decimal
        • deposit_address null
        • deposit_address_hidden bool
        • frozen bool
        • id integer
        • model_types ['cryptoaccount.CryptoAccount', 'cryptoaccount.AccountBase']
        • prefixed_code string
        • relative_savings_score
          • level integer
          • name string
          • progress integer
        • sell_disabled bool
        • send_disabled bool
        • type 'model'
        • user
          • date_joined datetime
          • email string
          • first_name string
          • id integer
          • last_name string
          • model_types ['auth.User', 'auth.AbstractUser', 'auth.AbstractBaseUser', 'auth.PermissionsMixin']
          • type 'model'
      • amount_plugins integer
      • cashable_deposits_enabled bool
      • current_plugin string
      • exchange_down bool
      • form
        • fields []
          • field 'crypto_currency_amount'
            • data-errors string
            • data_errors string
            • help_text string
            • invalid_error string
            • label string
            • max decimal
            • max_error string
            • min decimal
            • min_error null
            • name 'crypto_currency_amount'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'aux_currency_name'
            • choices[] string
            • help_text string
            • invalid_error string
            • label string
            • name 'aux_currency_name'
            • required false
            • type 'select'
            • value string
          • field 'aux_currency_amount'
            • data-errors string
            • data_errors string
            • errors[] string
            • help_text string
            • invalid_error string
            • label string
            • name 'aux_currency_amount'
            • required false
            • step decimal
            • type 'number'
            • value string, null
          • field 'price_timestamp'
            • help_text string
            • invalid_error string
            • label string
            • name 'price_timestamp'
            • required false
            • type 'hidden'
            • value string, null
          • field 'price_hash'
            • help_text string
            • invalid_error string
            • label string
            • name 'price_hash'
            • required false
            • type 'hidden'
            • value string, null
          • field 'leading'
            • help_text string
            • invalid_error string
            • label string
            • name 'leading'
            • required false
            • type 'hidden'
            • value string, null
        • type 'form'
      • ga_page_view_data string
      • halt_all_actions bool
      • otp_wanted bool
      • permission_denied bool
      • permission_denied_reason string
      • plugins[]
        • fee decimal
        • id string
        • margin decimal
        • name string
        • requires_deposit_address bool
        • start_url string
        • view string
      • ws_auth_token string
  • 201
    • response information
      • response content type application/json
    • response data
      • action
        • account_id integer
        • aux_currency_amount decimal
        • aux_currency_amount_eur_value decimal
        • aux_currency_eur_rate_mid decimal
        • aux_currency_name string
        • comment string
        • created datetime
        • crypto_currency_amount decimal
        • crypto_currency_amount_eur_value decimal
        • crypto_currency_eur_rate_mid decimal
        • crypto_currency_name string
        • crypto_currency_rate decimal
        • crypto_currency_rate_mid decimal
        • current_value decimal
        • eur_amount decimal
        • expires null
        • expires_countdown string
        • fee_eur decimal
        • id integer
        • margin integer
        • message null
        • model_types ['account.TradeAction', 'account.AccountAction']
        • order_id string
        • plugin_cost decimal
        • plugin_fee_eur decimal
        • plugin_info string
        • plugin_margin decimal
        • plugin_name string
        • plugin_title string
        • status string
        • status_class string
        • status_name string
        • title string
        • type 'TRADE'
        • url string
  • 302
    • response information
      • response content type text/html

/user/address/

residence.views.EditView

Set or edit the user's residential address

This returns a form and (if set) the current residential_address on GET, and a 302 or 201 with the created residential_address (depending on whether the client accepts JSON) on successful POSTs, and a 200 on unsuccessful ones (returning the form like for GET, but this time with error information added).

GET
  • request information
    • request content types []
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • form
        • fields []
          • field 'postal_code'
            • help_text string
            • invalid_error string
            • label string
            • name 'postal_code'
            • required true
            • required_error string
            • type 'text'
            • value string
          • field 'number'
            • help_text string
            • invalid_error string
            • label string
            • max decimal
            • max_error string
            • maxlength string
            • min decimal
            • min_error string
            • name 'number'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'number_addition'
            • help_text string
            • invalid_error string
            • label string
            • name 'number_addition'
            • required false
            • type 'text'
            • value string, null
        • type 'form'
      • residential_address null
      • residential_address when type == 'model' and model_types = ['residence.ResidentialAddress']
        • active bool
        • city string
        • country string
        • model_types ['residence.ResidentialAddress']
        • number integer
        • number_addition string
        • postal_code string
        • province string
        • street string
        • type 'model'
POST
  • request information
    • request content types application/json, multipart/form-data
  • post parameters
    • number string
    • number_addition (optional) string
    • postal_code string
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json
    • response data
      • form
        • fields []
          • field 'postal_code'
            • help_text string
            • invalid_error string
            • label string
            • name 'postal_code'
            • required true
            • required_error string
            • type 'text'
            • value string
          • field 'number'
            • errors[] string
            • help_text string
            • invalid_error string
            • label string
            • max decimal
            • max_error string
            • maxlength string
            • min decimal
            • min_error string
            • name 'number'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'number_addition'
            • help_text string
            • invalid_error string
            • label string
            • name 'number_addition'
            • required false
            • type 'text'
            • value string, null
        • type 'form'
      • residential_address
        • active bool
        • city string
        • country string
        • model_types ['residence.ResidentialAddress']
        • number integer
        • number_addition string
        • postal_code string
        • province string
        • street string
        • type 'model'
  • 201
    • response information
      • response content type application/json
    • response data
      • residential_address
        • active bool
        • city string
        • country string
        • model_types ['residence.ResidentialAddress']
        • number integer
        • number_addition string
        • postal_code string
        • province string
        • street string
        • type 'model'
  • 302
    • response information
      • response content type text/html

/user/address/pc2a/

residence.views.PC2AView

Service that returns address info for a postal_code

The service returns a JSON structure with street, city and province based on a Dutch postal_code and number.

It may return a 404 when there's no address data found (this means the postal_code/number combination is not in the Dutch postal code registry), a 400 if the data provided is incorrect (postal_code not in the format NNNNCC, where N is a number and C is a character, or number not an integer) or 500 if there's a problem connecting to the (third-party) postal code service we use.

GET
  • request information
    • request content types []
  • query parameters
    • number string
    • postal_code string
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json
    • response data
      • city string
      • province string
      • street string
POST
  • request information
    • request content types application/json
  • post parameters
    • number string
    • postal_code string
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json
    • response data
      • city string
      • province string
      • street string
  • 400
    • response information
      • response content type text/html

/user/apikey/register/

apikeyprofile.views.RegisterApiKeyView

Register an API key for a user

This is used to register a new API public key for ECDSA authentication. It may be used regardless of whether a user exists, when not, the data is stored and attached to the user after the user is registered (this to allow registering an API key before the user registers, allowing a more seamless registration process).

On GET this returns a form, POST allows registration of the provided public key (unless there are form errors, in which case the form is returned with error information). After a successful post, an email (depending on the value of auth_plugin this may be a different message type in the future, but at the moment only email is supported) is sent to the user if they're known to the system and login information is not provided, if the user is not yet known we assume an email is used (and verified) in the registration process and when the user is currently logged in, we assume they will know what to do (which is verify the API key from the user settings page).

Note that this returns the same information when a user exists as when there's no user found for the provided email address to avoid detection of whether an email address is registered.

GET
  • request information
    • request content types []
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • form
        • fields []
          • field 'identifier'
            • help_text string
            • invalid_error string
            • label string
            • name 'identifier'
            • required true
            • required_error string
            • type 'text'
            • value string
          • field 'auth_plugin'
            • choices[] string
            • help_text string
            • invalid_error string
            • label string
            • name 'auth_plugin'
            • required true
            • required_error string
            • type 'hidden'
            • value string
          • field 'public_key'
            • help_text string
            • invalid_error string
            • label string
            • name 'public_key'
            • required true
            • required_error string
            • type 'text'
            • value string
          • field 'client_id'
            • help_text string
            • invalid_error string
            • label string
            • name 'client_id'
            • required true
            • required_error string
            • type 'text'
            • value string
          • field 'client_description'
            • help_text string
            • invalid_error string
            • label string
            • name 'client_description'
            • required false
            • type 'text'
            • value string, null
          • field 'skip_verification_message'
            • help_text string
            • invalid_error string
            • label string
            • name 'skip_verification_message'
            • required false
            • type 'checkbox'
            • value string, null
        • type 'form'
POST
  • request information
    • request content types application/json, multipart/form-data
  • post parameters
    • auth_plugin string
    • client_description string, null
    • client_id string
    • identifier string
    • public_key string
    • skip_verification_message (optional) bool
  • auth
    • authenticated Both
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • apikey_profile
        • client_description string
        • client_id string
        • id integer
        • model_types ['apikeyprofile.ApiKeyProfile', 'userprofile.UserProfile']
        • public_key
          • created datetime
          • enabled bool
          • key string
          • keyid string
          • model_types ['ecdsaauth.PublicKey']
          • modified datetime
          • server_public_key string
        • public_key when type == 'model' and model_types = ['ecdsaauth.PublicKey']
          • created datetime
          • enabled bool
          • key string
          • keyid string
          • model_types ['ecdsaauth.PublicKey']
          • modified datetime
          • server_public_key string
          • type 'model'
        • type 'model'
        • verified bool
      • messages[]
        • level string
        • message string

/addressbook/

cryptoaddressbook.views.TransferAddresses

Manage transfer addresses (addresses to deposit to)

GET
  • request information
    • request content types []
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • addresses[]
        • address string
        • crypto_currency_name string
        • kind string
        • label string
        • model_types ['cryptoaddressbook.TransferAddress']
        • status string
        • type 'model'
      • form
        • fields []
          • field 'crypto_currency_name'
            • help_text string
            • invalid_error string
            • label string
            • name 'crypto_currency_name'
            • required true
            • required_error string
            • type 'hidden'
            • value string
          • field 'address'
            • help_text string
            • invalid_error string
            • label string
            • name 'address'
            • required true
            • required_error string
            • type 'text'
            • value string
          • field 'kind'
            • choices[] string
            • help_text string
            • invalid_error string
            • label string
            • name 'kind'
            • required true
            • required_error string
            • type 'select'
            • value string
          • field 'label'
            • help_text string
            • invalid_error string
            • label string
            • name 'label'
            • required true
            • required_error string
            • type 'text'
            • value string
          • field 'comment'
            • help_text string
            • invalid_error string
            • label string
            • name 'comment'
            • required false
            • type 'textarea'
            • value string, null
        • type 'form'
POST
  • request information
    • request content types application/json, multipart/form-data
  • post parameters
    • address string
    • crypto_currency_name string
    • kind string
    • label string
    • message string
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • addresses[]
        • address string
        • crypto_currency_name string
        • kind string
        • label string
        • model_types ['cryptoaddressbook.TransferAddress']
        • status string
        • type 'model'
      • form null
      • messages[]
        • level string
        • message string

/market/

market.views.AllMarketsInfo

Returns price and balance information for all currency pairs

The returned structure also includes information about action plugins.

GET
  • request information
    • request content types []
  • auth
    • authenticated Both
  • 200
    • response information
      • response content type application/json
    • response data
      • currency_info[]
        • crypto_currency_name string
        • decimals integer
        • display_decimals integer
        • event_data string
        • icon string
        • icon-alt string
        • name string
        • price_data string
        • price_data_hourly string
        • price_data_merged string
        • sign string
      • markets[]
        • balance
          • BTC
            • highest decimal
            • total decimal
          • ETH
            • highest decimal
            • total decimal
          • EUR
            • highest decimal
            • total decimal
          • LTC
            • highest decimal
            • total decimal
          • PAXG
            • highest decimal
            • total decimal
        • buy_price decimal
        • daily_change decimal
        • fee
          • high decimal
          • low decimal
        • from_currency_name string
        • mid_price decimal
        • sell_price decimal
        • to_currency_name string
      • plugins
        • buy
          • bankdeposit
            • fee decimal
            • margin decimal
            • name string
          • ideal
            • fee decimal
            • margin decimal
            • name string
            • view string
          • mrcash
            • fee decimal
            • margin decimal
            • min_amount decimal
            • name string
            • view string
        • deposit
          • bankdeposit
            • fee decimal
            • margin decimal
            • name string
            • requires_deposit_address bool
            • view string
          • deposit
            • fee decimal
            • margin decimal
            • name string
            • requires_deposit_address bool
            • view string
          • payment
            • name string
            • requires_deposit_address bool
            • rest_only bool
            • view string
        • sell
          • sepa
            • fee decimal
            • margin decimal
            • name string
            • view string
        • send
          • account
            • fee decimal
            • margin decimal
            • name string
            • requires_deposit_address bool
            • view string
          • address
            • fee decimal
            • margin decimal
            • name string
            • requires_deposit_address bool
            • view string
          • giftcard
            • fee decimal
            • margin decimal
            • name string
            • requires_deposit_address bool
            • view string
        • trade
          • trade
            • fee decimal
            • margin decimal
            • name string
            • requires_deposit_address bool
            • view string

/market/<currency_pair>/

market.views.MarketInfo

Returns price and balance information for a specific currency pair

GET
  • request information
    • request content types []
  • auth
    • authenticated Both
  • 200
    • response information
      • response content type application/json
    • response data
      • balance
        • BTC
          • highest decimal
          • total decimal
        • EUR
          • highest decimal
          • total decimal
      • buy_price decimal
      • daily_change decimal
      • mid_price decimal
      • sell_price decimal
  • 404
    • response information
      • response content type text/html

/market/<currency_pair>/buy_amount

market.views.MarketBuyAmount

Returns the amount of from-currency you pay for an amount of to-currency

GET
  • request information
    • request content types []
  • query parameters
    • price (optional) string
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json
    • response data
      • form
        • fields []
          • field 'price'
            • help_text string
            • invalid_error string
            • label string
            • name 'price'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'plugin'
            • help_text string
            • invalid_error string
            • label string
            • name 'plugin'
            • required false
            • type 'text'
            • value string, null
          • field 'action_type'
            • choices[] string
            • help_text string
            • invalid_error string
            • label string
            • name 'action_type'
            • required false
            • type 'select'
            • value string
        • type 'form'
      • hash string
      • price decimal
      • timestamp integer
POST
  • request information
    • request content types application/json
  • post parameters
    • action_type string
    • plugin (optional) string
    • price integer
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json
    • response data
      • hash string
      • price decimal
      • timestamp integer
  • 404
    • response information
      • response content type text/html

/market/<currency_pair>/buy_price

market.views.MarketBuyPrice

Returns the amount of to-currency you get for an amount of from-currency

GET
  • request information
    • request content types []
  • query parameters
    • amount (optional) string
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json
    • response data
      • form
        • fields []
          • field 'amount'
            • help_text string
            • invalid_error string
            • label string
            • name 'amount'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'plugin'
            • help_text string
            • invalid_error string
            • label string
            • name 'plugin'
            • required false
            • type 'text'
            • value string, null
          • field 'action_type'
            • choices[] string
            • help_text string
            • invalid_error string
            • label string
            • name 'action_type'
            • required false
            • type 'select'
            • value string
        • type 'form'
      • hash string
      • price decimal
      • timestamp integer
POST
  • request information
    • request content types application/json
  • post parameters
    • action_type string
    • amount string, integer
    • plugin (optional) string
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json
    • response data
      • hash string
      • price decimal
      • timestamp integer
  • 404
    • response information
      • response content type text/html

/market/<currency_pair>/sell_amount

market.views.MarketSellAmount

Returns the amount of to-currency you pay for an amount of from-currency

GET
  • request information
    • request content types []
  • query parameters
    • price (optional) string
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json
    • response data
      • form
        • fields []
          • field 'price'
            • help_text string
            • invalid_error string
            • label string
            • name 'price'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'plugin'
            • help_text string
            • invalid_error string
            • label string
            • name 'plugin'
            • required false
            • type 'text'
            • value string, null
          • field 'action_type'
            • choices[] string
            • help_text string
            • invalid_error string
            • label string
            • name 'action_type'
            • required false
            • type 'select'
            • value string
        • type 'form'
      • hash string
      • price decimal
      • timestamp integer
POST
  • request information
    • request content types application/json
  • post parameters
    • action_type string
    • plugin (optional) string
    • price integer
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json
    • response data
      • hash string
      • price decimal
      • timestamp integer
  • 404
    • response information
      • response content type text/html

/market/<currency_pair>/sell_price

market.views.MarketSellPrice

Returns the amount of from-currency you get for an amount of to-currency

GET
  • request information
    • request content types []
  • query parameters
    • amount (optional) string
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json
    • response data
      • form
        • fields []
          • field 'amount'
            • help_text string
            • invalid_error string
            • label string
            • name 'amount'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'plugin'
            • help_text string
            • invalid_error string
            • label string
            • name 'plugin'
            • required false
            • type 'text'
            • value string, null
          • field 'action_type'
            • choices[] string
            • help_text string
            • invalid_error string
            • label string
            • name 'action_type'
            • required false
            • type 'select'
            • value string
        • type 'form'
      • hash string
      • price decimal
      • timestamp integer
POST
  • request information
    • request content types application/json
  • post parameters
    • action_type string
    • amount string, integer
    • plugin (optional) string
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json
    • response data
      • hash string
      • price decimal
      • timestamp integer
  • 404
    • response information
      • response content type text/html

/market/<currency_pair>/mid_rate

market.views.MarketMidRate

Returns the median of the current buy/sell price for a currency

Returns the mid price for an amount of crypto. This does not take plugin margins etc. into account.

GET
  • request information
    • request content types []
  • query parameters
    • price (optional) string
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json
    • response data
      • form
        • fields []
          • field 'amount'
            • help_text string
            • invalid_error string
            • label string
            • name 'amount'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
        • type 'form'
POST
  • request information
    • request content types application/json
  • post parameters
    • amount integer
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json
    • response data
      • rate decimal
  • 404
    • response information
      • response content type text/html

/user/csvexport/

bitbanknl.views.csvexport.CSVExportView

Export account data in csv format

GET
  • request information
    • request content types []
  • auth
    • authenticated True
  • 200
    • response information
      • response content type text/csv

/user/

bitbanknl.views.user.SettingsView

User dashboard

GET
  • request information
    • request content types []
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • apikey_profiles[]
        • client_description string
        • client_id string
        • id integer
        • model_types ['apikeyprofile.ApiKeyProfile', 'userprofile.UserProfile']
        • public_key
          • created datetime
          • enabled bool
          • key string
          • keyid string
          • model_types ['ecdsaauth.PublicKey']
          • modified datetime
          • server_public_key string
          • type 'model'
        • type 'model'
        • verified bool
      • buy_verify_url string
      • daily_limits
        • BUY
          • amount decimal
        • SELL
          • amount decimal
        • SEND
          • amount decimal
      • deposit_accountcodes[]
        • bank_url string
        • crypto_currency_fullname string
        • crypto_currency_name string
        • prefixed_code string
      • deposit_addresses[]
        • address string
        • crypto_currency_fullname string
        • crypto_currency_name string
        • cryptod_url string
        • deposit_url string
        • qr_code_url string
      • frozen bool
      • ga_page_view_data string
      • halt_all_actions bool
      • ibans[]
        • bank_account_iban string
        • bank_account_name string
        • bank_account_names[] string
        • bank_account_verified bool
        • model_types ['valutaloket.IBANProfile']
        • type 'model'
      • id_upload_desired bool
      • id_upload_enabled bool
      • id_uploaded bool
      • id_verified bool
      • limits_url string
      • notifications[]
        • enabled bool
        • title string
      • otp_devices[] string
      • otp_enabled bool
      • otp_requested bool
      • permission_denied bool
      • permission_denied_reason string
      • phone_profiles[]
        • app_label string
        • id integer
        • identifier string
        • model_class string
        • model_types ['bbprofile.PhoneAuthProfile', 'phoneprofile.PhoneAuthProfile', 'authprofile.AuthProfile', 'userprofile.MessageProfile', 'userprofile.PermissionProfile', 'userprofile.UserProfile']
        • register_expiration_days integer
        • type 'model'
        • weight integer
      • referral
        • creation
          • amount decimal
          • code string
          • count integer
          • name string
        • creation_paid_out
          • amount decimal
          • code string
          • count integer
          • name string
        • currencies[]
          • amount decimal
          • code string
          • count integer
          • name string
          • sign string
        • last_payout null
        • transaction_count integer
        • transactions
          • amount decimal
          • code string
          • name string
        • transactions_paid_out
          • amount decimal
          • code string
          • name string
      • referral_payouts_allowed bool
      • referrer_url string
      • residential_address null
      • residential_address
        • city string
        • country string
        • number integer
        • number_addition string
        • postal_code string
        • province string
        • street string
      • transfer_addresses[]
        • address string
        • crypto_currency_name string
        • kind string
        • label string
        • model_types ['cryptoaddressbook.TransferAddress']
        • status string
        • type 'model'
      • user_referrer_amount_eur decimal
      • verify_account_url string
      • warning string

/user/apikey_delete

bitbanknl.views.user.SettingsView.action_apikey_delete

Delete an API key

POST
  • request information
    • request content types application/json, multipart/form-data
  • post parameters
    • profile_id string, integer
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json
    • response data
      • messages[]
        • level string
        • message string
  • 302
    • response information
      • response content type text/html

/user/apikey_disable

bitbanknl.views.user.SettingsView.action_apikey_disable

Disable an api key

POST
  • request information
    • request content types application/json, multipart/form-data
  • post parameters
    • profile_id string, integer
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json
    • response data
      • messages[]
        • level string
        • message string
  • 302
    • response information
      • response content type text/html

/user/apikey_enable

bitbanknl.views.user.SettingsView.action_apikey_enable

Enable an already verified API key

POST
  • request information
    • request content types application/json, multipart/form-data
  • post parameters
    • profile_id string, integer
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json
    • response data
      • messages[]
        • level string
        • message string
  • 302
    • response information
      • response content type text/html

/user/apikey_verify

bitbanknl.views.user.SettingsView.action_apikey_verify

Verify an api key that was registered without authenticating

POST
  • request information
    • request content types application/json, multipart/form-data
  • post parameters
    • profile_id string, integer
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json
    • response data
      • messages[]
        • level string
        • message string
  • 302
    • response information
      • response content type text/html

/user/cancel_otp_request

bitbanknl.views.user.SettingsView.action_cancel_otp_request

Cancel a new OTP registration

POST
  • request information
    • request content types application/json, multipart/form-data
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json
    • response data
      • messages[]
        • level string
        • message string
  • 302
    • response information
      • response content type text/html
  • 400
    • response information
      • response content type application/json
    • response data
      • messages[]
        • level string
        • message string

/user/resend_otp_email

bitbanknl.views.user.SettingsView.action_resend_otp_email

Re-send email to enable a new OTP installation

POST
  • request information
    • request content types application/json, multipart/form-data
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json
    • response data
      • messages[]
        • level null
        • message string
  • 302
    • response information
      • response content type text/html
  • 400
    • response information
      • response content type application/json
    • response data
      • messages[]
        • level string
        • message string

/user/address/

residence.views.EditView

Set or edit the user's residential address

This returns a form and (if set) the current residential_address on GET, and a 302 or 201 with the created residential_address (depending on whether the client accepts JSON) on successful POSTs, and a 200 on unsuccessful ones (returning the form like for GET, but this time with error information added).

GET
  • request information
    • request content types []
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • form
        • fields []
          • field 'postal_code'
            • help_text string
            • invalid_error string
            • label string
            • name 'postal_code'
            • required true
            • required_error string
            • type 'text'
            • value string
          • field 'number'
            • help_text string
            • invalid_error string
            • label string
            • max decimal
            • max_error string
            • maxlength string
            • min decimal
            • min_error string
            • name 'number'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'number_addition'
            • help_text string
            • invalid_error string
            • label string
            • name 'number_addition'
            • required false
            • type 'text'
            • value string, null
        • type 'form'
      • residential_address null
      • residential_address when type == 'model' and model_types = ['residence.ResidentialAddress']
        • active bool
        • city string
        • country string
        • model_types ['residence.ResidentialAddress']
        • number integer
        • number_addition string
        • postal_code string
        • province string
        • street string
        • type 'model'
POST
  • request information
    • request content types application/json, multipart/form-data
  • post parameters
    • number string
    • number_addition (optional) (optional) string
    • postal_code string
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json
    • response data
      • form
        • fields []
          • field 'postal_code'
            • help_text string
            • invalid_error string
            • label string
            • name 'postal_code'
            • required true
            • required_error string
            • type 'text'
            • value string
          • field 'number'
            • errors[][] string
            • help_text string
            • invalid_error string
            • label string
            • max decimal
            • max_error string
            • maxlength string
            • min decimal
            • min_error string
            • name 'number'
            • required true
            • required_error string
            • step decimal
            • type 'number'
            • value string
          • field 'number_addition'
            • help_text string
            • invalid_error string
            • label string
            • name 'number_addition'
            • required false
            • type 'text'
            • value string, null
        • type 'form'
      • residential_address
        • active bool
        • city string
        • country string
        • model_types ['residence.ResidentialAddress']
        • number integer
        • number_addition string
        • postal_code string
        • province string
        • street string
        • type 'model'
  • 201
    • response information
      • response content type application/json
    • response data
      • residential_address
        • active bool
        • city string
        • country string
        • model_types ['residence.ResidentialAddress']
        • number integer
        • number_addition string
        • postal_code string
        • province string
        • street string
        • type 'model'
  • 302
    • response information
      • response content type text/html

/user/address/pc2a/

residence.views.PC2AView

Service that returns address info for a postal_code

The service returns a JSON structure with street, city and province based on a Dutch postal_code and number.

It may return a 404 when there's no address data found (this means the postal_code/number combination is not in the Dutch postal code registry), a 400 if the data provided is incorrect (postal_code not in the format NNNNCC, where N is a number and C is a character, or number not an integer) or 500 if there's a problem connecting to the (third-party) postal code service we use.

GET
  • request information
    • request content types []
  • query parameters
    • number string
    • postal_code string
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json
    • response data
      • city string
      • province string
      • street string
POST
  • request information
    • request content types application/json
  • post parameters
    • number string
    • postal_code string
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json
    • response data
      • city string
      • province string
      • street string
  • 400
    • response information
      • response content type text/html

/verification/upload/

idprofile.views.Upload

Upload your id to Bitmymoney

Returns a form on GET and POSTs with errors, a 201 HTTP response with a message on successful POSTs (in which case the returned data is always JSON, in browsers POST is done using JS).

Uploaded images should be encrypted as a NaCL 'sealed box', using the public key returned as public_key on GET.

GET
  • request information
    • request content types []
  • auth
    • authenticated True
  • 200
    • response information
      • response content type application/json, text/html
    • response data
      • form
        • fields []
          • field 'document_type'
            • choices[] string
            • help_text string
            • invalid_error string
            • label string
            • name 'document_type'
            • required true
            • required_error string
            • type 'select'
            • value string
          • field 'document_no'
            • help_text string
            • invalid_error string
            • label string
            • name 'document_no'
            • required true
            • required_error string
            • type 'text'
            • value string
          • field 'valid_until'
            • help_text string
            • invalid_error string
            • label string
            • name 'valid_until'
            • required true
            • required_error string
            • type 'date'
            • value string
          • field 'given_names'
            • help_text string
            • invalid_error string
            • label string
            • name 'given_names'
            • required true
            • required_error string
            • type 'text'
            • value string
          • field 'surname'
            • help_text string
            • invalid_error string
            • label string
            • name 'surname'
            • required true
            • required_error string
            • type 'text'
            • value string
          • field 'date_of_birth'
            • help_text string
            • invalid_error string
            • label string
            • name 'date_of_birth'
            • required true
            • required_error string
            • type 'date'
            • value string
          • field 'nationality'
            • choices[] string
            • help_text string
            • invalid_error string
            • label string
            • name 'nationality'
            • required true
            • required_error string
            • type 'select'
            • value string
          • field 'is_pep'
            • help_text string
            • invalid_error string
            • label string
            • name 'is_pep'
            • required false
            • type 'checkbox'
            • value string, null
          • field 'encrypted_image_1'
            • help_text string
            • invalid_error string
            • label string
            • name 'encrypted_image_1'
            • required true
            • required_error string
            • type 'file'
            • value string
          • field 'encrypted_image_2'
            • help_text string
            • invalid_error string
            • label string
            • name 'encrypted_image_2'
            • required false
            • type 'file'
            • value string, null
          • field 'encrypted_image_3'
            • help_text string
            • invalid_error string
            • label string
            • name 'encrypted_image_3'
            • required false
            • type 'file'
            • value string, null
        • type 'form'
      • ga_page_view_data string
      • halt_all_actions bool
      • max_file_size integer
      • permission_denied bool
      • permission_denied_reason string
      • profile null
      • profile when type == 'model' and model_types = ['idprofile.IdProfile', 'userprofile.UserProfile']
        • approved bool
        • comment null
        • created datetime
        • date_of_birth
          • localized string
          • type 'date'
          • value string
        • document_no string
        • document_type string
        • encrypted_images[]
          • filename string
          • model_types ['idprofile.IdImage']
          • path string
          • type 'model'
          • url string
        • given_names string
        • id integer
        • model_types ['idprofile.IdProfile', 'userprofile.UserProfile']
        • modified datetime
        • nationality string
        • processed bool
        • surname string
        • type 'model'
        • user
          • date_joined datetime
          • email string
          • first_name string
          • id integer
          • last_name string
          • model_types ['auth.User', 'auth.AbstractUser', 'auth.AbstractBaseUser', 'auth.PermissionsMixin']
          • type 'model'
        • valid_until
          • localized string
          • type 'date'
          • value string
      • public_key string
      • upload_allowed bool
      • upload_enabled bool
POST
  • request information
    • request content types multipart/form-data
    • files encrypted_image_1, encrypted_image_2, encrypted_image_3
    • other
      • post parameters
        • date_of_birth string
        • document_no string
        • document_type string
        • given_names string
        • is_pep string
        • nationality string
        • surname string
        • valid_until string
      • auth
        • authenticated True
      • 200
        • response information
          • response content type text/html
        • response data
          • form
            • fields []
              • field 'document_type'
                • choices[] string
                • errors[] string
                • help_text string
                • invalid_error string
                • label string
                • name 'document_type'
                • required true
                • required_error string
                • type 'select'
                • value string
              • field 'document_no'
                • help_text string
                • invalid_error string
                • label string
                • name 'document_no'
                • required true
                • required_error string
                • type 'text'
                • value string
              • field 'valid_until'
                • help_text string
                • invalid_error string
                • label string
                • name 'valid_until'
                • required true
                • required_error string
                • type 'date'
                • value string
              • field 'given_names'
                • help_text string
                • invalid_error string
                • label string
                • name 'given_names'
                • required true
                • required_error string
                • type 'text'
                • value string
              • field 'surname'
                • help_text string
                • invalid_error string
                • label string
                • name 'surname'
                • required true
                • required_error string
                • type 'text'
                • value string
              • field 'date_of_birth'
                • help_text string
                • invalid_error string
                • label string
                • name 'date_of_birth'
                • required true
                • required_error string
                • type 'date'
                • value string
              • field 'nationality'
                • choices[] string
                • help_text string
                • invalid_error string
                • label string
                • name 'nationality'
                • required true
                • required_error string
                • type 'select'
                • value string
              • field 'is_pep'
                • help_text string
                • invalid_error string
                • label string
                • name 'is_pep'
                • required false
                • type 'checkbox'
                • value string, null
              • field 'encrypted_image_1'
                • help_text string
                • invalid_error string
                • label string
                • name 'encrypted_image_1'
                • required true
                • required_error string
                • type 'file'
                • value string
              • field 'encrypted_image_2'
                • help_text string
                • invalid_error string
                • label string
                • name 'encrypted_image_2'
                • required false
                • type 'file'
                • value string, null
              • field 'encrypted_image_3'
                • help_text string
                • invalid_error string
                • label string
                • name 'encrypted_image_3'
                • required false
                • type 'file'
                • value string, null
            • type 'form'
          • ga_page_view_data string
          • halt_all_actions bool
          • max_file_size integer
          • permission_denied bool
          • permission_denied_reason string
          • profile
            • approved bool
            • comment null
            • created datetime
            • date_of_birth
              • localized string
              • type 'date'
              • value string
            • document_no string
            • document_type string
            • encrypted_images[]
              • filename string
              • model_types ['idprofile.IdImage']
              • path string
              • type 'model'
              • url string
            • given_names string
            • id integer
            • model_types ['idprofile.IdProfile', 'userprofile.UserProfile']
            • modified datetime
            • nationality string
            • processed bool
            • surname string
            • type 'model'
            • user
              • date_joined datetime
              • email string
              • first_name string
              • id integer
              • last_name string
              • model_types ['auth.User', 'auth.AbstractUser', 'auth.AbstractBaseUser', 'auth.PermissionsMixin']
              • type 'model'
            • valid_until
              • localized string
              • type 'date'
              • value string
          • public_key string
          • upload_allowed bool
          • upload_enabled bool
      • 201
        • response information
          • response content type application/json
        • response data
          • message string