URnetwork
Copyright 2024 BringYour, Inc.
Fetches the payout wallet associated with the network
udid
Set an existing account wallet as the wallet to receive network payments.
const response = await fetch('https://api.bringyour.com/account/payout-wallet', { method: 'GET', headers: { "Authorization": "Bearer <token>" }, }); const data = await response.json();
{ "wallet_id": "text" }
const response = await fetch('https://api.bringyour.com/account/payout-wallet', { method: 'POST', headers: { "Authorization": "Bearer <token>", "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
{}