Withdrawals/Transfers

Create Transfer


API POST Fields

In addition to the Main Fields described in the API Basics > Introduction

Create Transfer

Field NameDescriptionRequired?

cmd

create_transfer

Yes

amount

The amount of the transfer in the currency below.

Yes

currency

The cryptocurrency to withdraw. (BTC)

Yes

merchant

The merchant ID to send the funds to, either this OR pbntag must be specified. Remember: this is a merchant ID and not a username.

See Desc

toaddress

The toaddress to send the funds to, either this OR merchant must be specified.

See Desc

auto_confirm

If set to 1, withdrawal will complete without email confirmation.

No

Method: POST URL: http://wallexpay.io/api/create_transfer

API Response

A successful call to get the 'create_transfer' command will give you a result similar to this (JSON):

{
  "error": "ok",
  "result": {
    "id": "string",
    "status": 0
  }
}

Note: Transfers are performed as internal coin transfers/accounting entries when possible. For coins not supporting that ability a withdrawal is created instead.

Last updated