List bank accounts
curl --request GET \
--url https://api.byzantine.fi/v1/query/get-bank-accounts \
--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/query/get-bank-accounts"
headers = {
"X-Pubkey": "<x-pubkey>",
"X-Timestamp": "<x-timestamp>",
"X-Signature": "<x-signature>",
"X-Pubkey, X-Timestamp, X-Signature": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
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/query/get-bank-accounts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"bankAccounts": [
{
"bankAccountId": "550e8400-e29b-41d4-a716-446655440000",
"accountId": "550e8400-e29b-41d4-a716-446655440000",
"name": "<string>",
"liquidationAddress": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"destinationCurrency": "usd",
"destinationRail": "ach",
"bankAccountDetails": {
"country": "FRA",
"last4": "0804",
"bic": "BICFR12345"
}
}
]
}Bank accounts
List bank accounts
Fetch all associated bank accounts for a specific Byzantine account ID.
GET
/
v1
/
query
/
get-bank-accounts
List bank accounts
curl --request GET \
--url https://api.byzantine.fi/v1/query/get-bank-accounts \
--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/query/get-bank-accounts"
headers = {
"X-Pubkey": "<x-pubkey>",
"X-Timestamp": "<x-timestamp>",
"X-Signature": "<x-signature>",
"X-Pubkey, X-Timestamp, X-Signature": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
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/query/get-bank-accounts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"bankAccounts": [
{
"bankAccountId": "550e8400-e29b-41d4-a716-446655440000",
"accountId": "550e8400-e29b-41d4-a716-446655440000",
"name": "<string>",
"liquidationAddress": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"destinationCurrency": "usd",
"destinationRail": "ach",
"bankAccountDetails": {
"country": "FRA",
"last4": "0804",
"bic": "BICFR12345"
}
}
]
}
