cURL
curl --request POST \ --url https://api.sandbox.bitwage.com/api/user/distribution \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "user_id": "<string>", "symbol": "<string>", "distribution_type": "crypto", "distribution_data": {} } '
{ "distribution_id": "<string>", "allocation": 123 }
Create a new payment distribution destination for a user.
API key authentication. Include your access token as: Authorization: Basic <ACCESS_TOKEN>
Authorization: Basic <ACCESS_TOKEN>
Currency symbol (e.g. BTC, ETH, USD, EUR).
crypto
fiat
Destination data. Shape depends on distribution_type and symbol.
distribution_type
symbol
Distribution created.