Withdraw BTC
Withdraw BTC to a wallet
Request body
Example request
{
"invoice": "lntbs1234567890n1pjnruqtpp5xmrq39nwyhgde4a94wsnuacj4stacls05g4x5du2req9pvjpqz6sdz9296k7ar98gsxgdm9vvmx2v3s95ckyceh956xvd3595uxyetr95cnydrxxv6nvwrxv5mngcqzpuxqzfvsp578t78k4628snkkhc43eqrpn6sem28w4cwgzn7ceyyr320kwm4uss9qyyssqcwxw8wy2qenwgm7gagx9lwvcs9w9tw47ntuc823yclasjqczvvj545hr4d9nmg996l0cswudgeawclwytafmh66a2fafk4heksyae5sq3vzd28",
"memo": "Withdrawal to wallet"
}Response
Withdraw response
Example response
{
"status": "ok",
"data": {
"id": "d1614a76-9c7f-4111-98a7-43199f307e5b",
"walletId": "d1614a76-9c7f-4111-98a7-43199f307e5b",
"ref": "99eeff854ffd345fffs67890",
"hash": "189727ef2e0f35921af7858b96e27cbad960b0ec2bb2a4ab73b6a231f9ce8727",
"amount": 1000,
"autopayout": true,
"createdAt": "2021-07-01T12:00:00Z",
"updatedAt": "2021-07-01T12:00:00Z",
"metadata": {
"id": "d1614a76-9c7f-4111-98a7-43199f307e5b",
"orderId": "99854-2345",
"bankCode": "090267",
"bankAccountName": "Satoshi Nakamoto",
"bankAccountNumber": "0123456789",
"createdAt": "2021-07-01T12:00:00Z",
"updatedAt": "2021-07-01T12:00:00Z"
}
}
}Changes
Changed in 6 of the 32 revisions of this API.54
- ●
added the new
USDTenum value to thedata/currencyresponse property for the response status200response-property-enum-value-added
- ●
- ●
added the new
GHSenum value to thedata/currencyresponse property for the response status200response-property-enum-value-added
- ●
- ○
removed the
TRANSFERenum value from thedata/typeresponse property for the response status200response-property-enum-value-removed
- ○
- ●
removed the optional property
data/transactionMetadatafrom the response with the200statusresponse-optional-property-removed
- ○
added the optional property
data/metadatato the response with the200statusresponse-optional-property-added
- ●
- ●
removed the optional property
data/transactionMetadata/eProviderReffrom the response with the200statusresponse-optional-property-removed
- ●
added the new
ZARenum value to thedata/currencyresponse property for the response status200response-property-enum-value-added
- ○
removed the
USDenum value from thedata/currencyresponse property for the response status200response-property-enum-value-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
endpoint added
endpoint-added
- ○