Mixer
Before Starting Payment Process MIX Information MIX Generate
Before Starting This content must be read before interlocking the bitcoin mixer API
A separate partnership is required to use the bitcoin mixer API.
Partnership process can be progressed be following the guideline of Bitcoin Mixer Partner Admin.
Error Code
Name Content
204 In case the mixer address does not exist.
20001 In case the commission fee information does not exist.
20002, 20003 In case the deposit address does not show after mixer is complete.
20004 In case the mixer distribution ratio is missing.
20005 In case the mixer delay time is missing.
21001 in case the commission fee setting range exceeds 0.2~3.
21002 In case the deposit address after mixer complete exceeds the maximum number of 10.
21003 In case the deposit address after mixer complete is wrong.
21004 In case the mixer delay time exceeds 10 minutes~72 hours.
21005 Mixer distribution ratio must be set as 100.
30001,30002 An error has been made while generating wallet.
Required value for payment
Name Content
api_token Franchise code 60 characters.
PAYMENT PROCESS A short explanation for bitcoin mixer payment process
Step 1.

Setting the address to receive the mixed bitcoin.

- 1 to a maximum of 10 bitcoin addresses can be set-up

- Setting up the delay time and using it as a default value.

Step 2.

Depositing money into the payment bitcoin address.

- Be on standby until the mixer is complete.

MIX Information.

Restoring the bitcoin mix process information into ISON format.

Bitcoin mixer API can be requested through api-token. Be cautious not to lose the api-token key.

Request

GET /api/v1/mixer/{wallet_id} HTTP/1.1

Authorization: 'Authorization' => 'Bearer {api_token}'

Content-type: application/x-www-form-urlencoded;charset=utf-8

Host: apiServerAddress

Requesting GET by storing user token in the header.

For example, request as the following if you wish to test the mixer condition.

curl -v -X GET 'https://apiServerAddress/api/v1/mixer/{wallet_id}' \

-H 'Authorization: Bearer {api_token}'

Response

The value below will be included as ISON object in the response body when request is successfully made.

Key Content Type
state Current mixer progress status int
wallet>balance Deposit made from user Float
wallet>fees Commission fee ratio set up by user Float
deposit_waiting Deposit waiting time Float
confirm_date Time when deposit settlement is confirmed Date
output>address Bitcoin recipient address String
output>ratio Receive ratio Float
output>waiting_time_minute Waiting time (minutes) Date
output>remittance_date Receive time Date

HTTP/1.1 200 OK

Content-type: application/json;

{
    "state":"Deposit_Waiting",
    "data":{
    "wallet":{
    "balance":0,
    "fees":0.3
    },
    "deposit_date":null,
    "confirm_date":null,
    "output":[
        {
        "address":"3MB3j2aPkzuRzsca2A1Ag152EUq3V9hUHc",
        "ratio":48,
        "waiting_time_minute":35,
        "remittance_date":null
        },
        {
        "address":"3BKKW4iH6GVpzDQczzeQJhzTqb6Z3kzjmH",
        "ratio":52,
        "waiting_time_minute":18,
        "remittance_date":null
        }
    ]
    }
}
                
MIX Generate.

Call out the bitcoin mixer API through the issued api-token.

Bitcoin mixer API can be requested through the api-token, Be cautious not to lose the api-token key.

Request

GET /api/v1/mixer/{wallet_id} HTTP/1.1

Authorization: 'Authorization' => 'Bearer {api_token}'

Content-type: application/x-www-form-urlencoded;charset=utf-8

Host: bitcoinmixer.io

Requesting GET by storing user token in the header.

For example, request as the following if you wish to test the mixer condition.
The following example is written based on the laravel framework.

$response = $http->request('post', 'https://apiServerAddress/api/v1/mixer', 
[
    'headers' => 
    [
        'Accept' => 'application/json',
        'Authorization' => 'Bearer '. '{api_token}',
    ],
    'form_params' => 
    [
        'fees' => 0.3,
        'output' => 
        [
            [
                'address' => '3MB3j2aPkzuRzsca2A1Ag152EUq3V9hUHc',
                'ratio' => 48,
                'waiting_time_minute' => 35
            ],				
            [
                'address' => '3BKKW4iH6GVpzDQczzeQJhzTqb6Z3kzjmH',
                'ratio' => 52,
                'waiting_time_minute' => 18
            ],
        ]
    ],
]);
                
Response

The value below will be included as ISON object in the response body when request is successfully made.

Key Content Type
wallet>id Serial number int
wallet>address Deposit address for mixer bitcoin Float

HTTP/1.1 200 OK

Content-type: application/json;

{

      "wallet":
      {
          "id": 53,
          "address": "3AY33t6npow3E4Ky3Nod49jDNqxHFYXvpL"
      }

}