User Tools

Site Tools


withdrawbtc

WithdrawBTC

API for sending funds to customer's BTC purse



Service address

Limits

There is minimum/maximum limits for each transaction.

Minimum is 10.



Security

Every transmitted request must be signed by the secret key. Issuance of the key by the company MoneyPolo to the Client is performed at the beginning of testing. The key is changed at the transfer to the production version of the service.



Methods

PrepareTransaction

The method is applied for sending funds to provided BTC adress.

Request parameters:

Name Type Description
Amount decimal(18,2) transaction amount. format: ######.##
Currency string transaction currency ISO code (USD/EUR)
Address string BTC address transaction will go to

Request signature hash structure:

Amount + Currency + Address + *key

Response parameters:

Name Type Description
TransactionID string ID of request prepared, if successfull



ConfirmTransaction

The method is applied for sending funds to provided BTC adress.

Request parameters:

Name Type Description
AccountPerson object See object AccountPerson
TransactionID string transaction ID from Prepare method
Details string Details
BeneficiaryFirstName string
BeneficiaryLastName string
BeneficiaryBirthDate string
PurposeOfTransfer string PurposeOfTransfer
MerchantTransactionID string

* 1 Use only merchant's AccountID and RUID;

Request signature hash structure:

TransactionID + Details + BeneficiaryFirstName + BeneficiaryLastName + BeneficiaryBirthDate + PurposeOfTransfer + MerchantTransactionID + *key

Response parameters:

Name Type Description
DocumentID int ID of request prepared, if successfull
Data string “DONE” if successfull



Error codes

Error code Description
-2600 Invalid TransactionID format
-2601 Invalid Amount format
-2602 Invalid Currency format
-2603 Invalid Address format
-2604 Error preparing transaction
-2605 Invalid BeneficiaryFirstName format
-2606 Invalid BeneficiaryLastName format
-2607 Invalid BeneficiaryBirthDate format
-2608 Invalid PurposeOfTransfer format
-2609 Invalid PersonAccountID format
-2610 Invalid PersonRUID format
-2611 Error confirming transaction
-2612 Error archiving transaction



withdrawbtc.txt · Last modified: 2016/09/06 15:46 by Dmitry Karpenko