Merchant IDs
Create merchant ID
Changed onGenerate a Merchant ID for your account to process pay-ins and pay-outs through our API.
A Merchant ID is essential as it designates the account wallet where incoming pay-ins will be settled. For instance, if a Merchant ID is associated with a EUR wallet ID, any incoming USDT payment will be automatically converted to EUR and deposited in the designated EUR wallet.
Vice versa, any outgoing USDT payment will be automatically converted and withdrawn from the designated EUR wallet.
post/api/v1/merchant
Request
- Base URLhttps://api.sandbox.bvnk.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"displayName": "Test Merchant Name",
"webhookUrl": "https://www.URL.com/to/send/webhooks/to",
"wallet": {
"id": "501098"
}
}Response
OK
Example response
{
"id": 1432,
"merchantId": "b312436e-e477-49d4-be7f-9d027f9b9e34",
"displayName": "Test Merchant Name",
"secret": "MzI5OGUyZGMtN2FkOC00NzVkLThjNzEtMWVjMzk2ZjQ5OGMwYTBlZTBlOGYtMjBhNi00NjMxLWI1MTctMTI5MjlmMjdhYmM",
"webhookUrl": "https://www.URL.com/to/send/webhooks/to",
"defaultExpiryMinutes": 1440,
"webhookVersion": 1,
"wallet": {
"address": "0x7be879d34f3Db833f70d9fE4873Bdd0cBcaC6bf6",
"alternatives": [],
"approxAvailable": "0.59573928",
"approxBalance": "0.59573928",
"available": 0.59573928,
"balance": 0.59573928,
"convertedAvailable": 20917.59,
"currency": {
"code": "ETH",
"icon": "https://cdn.com/eth-icon.png",
"id": 1432,
"name": "Ethereum",
"options": {
"transaction": "https://etherscan.io/tx/{{hash}}",
"explorer": "https://etherscan.io/",
"address": "https://etherscan.io/address/{{address}}",
"confirmations": 12
},
"protocols": [
{
"code": "ERC20",
"network": "Ethereum"
}
],
"withdrawalFee": 0.01,
"withdrawalParameters": [
{
"id": 1432,
"code": "BTC",
"name": "Bitcoin"
}
]
},
"description": "ETH wallet",
"id": 1432,
"network": "ETHEREUM",
"protocol": "ETH",
"withdrawalFee": 0.001,
"supportedTransferDestinations": [
"LOCAL"
],
"approxConvertedAvailable": "19.71",
"lsid": "a:25061134333492:69iFbD6:1",
"status": "ACTIVE"
}
}Changes
- info
the endpoint scheme security
ApiKeyAuthwas added to the API - info
the endpoint scheme security
Hawkwas removed from the API
- info