Delete bank account
curl --request DELETE \
--url https://api.byzantine.fi/v1/submit/delete-bank-account \
--header 'X-Pubkey: <x-pubkey>' \
--header 'X-Pubkey, X-Timestamp, X-Signature: <api-key>' \
--header 'X-Signature: <x-signature>' \
--header 'X-Timestamp: <x-timestamp>'import requests
url = "https://api.byzantine.fi/v1/submit/delete-bank-account"
headers = {
"X-Pubkey": "<x-pubkey>",
"X-Timestamp": "<x-timestamp>",
"X-Signature": "<x-signature>",
"X-Pubkey, X-Timestamp, X-Signature": "<api-key>"
}
response = requests.delete(url, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {
'X-Pubkey': '<x-pubkey>',
'X-Timestamp': '<x-timestamp>',
'X-Signature': '<x-signature>',
'X-Pubkey, X-Timestamp, X-Signature': '<api-key>'
}
};
fetch('https://api.byzantine.fi/v1/submit/delete-bank-account', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Bank accounts
Delete bank account
Remove a bank account from a Byzantine account. It is no longer listed and can no longer receive a withdrawal. Transactions already paid out to it keep returning it as their destination bank account.
DELETE
/
v1
/
submit
/
delete-bank-account
Delete bank account
curl --request DELETE \
--url https://api.byzantine.fi/v1/submit/delete-bank-account \
--header 'X-Pubkey: <x-pubkey>' \
--header 'X-Pubkey, X-Timestamp, X-Signature: <api-key>' \
--header 'X-Signature: <x-signature>' \
--header 'X-Timestamp: <x-timestamp>'import requests
url = "https://api.byzantine.fi/v1/submit/delete-bank-account"
headers = {
"X-Pubkey": "<x-pubkey>",
"X-Timestamp": "<x-timestamp>",
"X-Signature": "<x-signature>",
"X-Pubkey, X-Timestamp, X-Signature": "<api-key>"
}
response = requests.delete(url, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {
'X-Pubkey': '<x-pubkey>',
'X-Timestamp': '<x-timestamp>',
'X-Signature': '<x-signature>',
'X-Pubkey, X-Timestamp, X-Signature': '<api-key>'
}
};
fetch('https://api.byzantine.fi/v1/submit/delete-bank-account', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Headers
Query Parameters
Response
Bank account deleted

