Bank Account Information
These endpoints manage the subaccount's bank account, where the fiat funds will be deposited after selling crypto with Beta.
Last updated
{
"account": "string",
"asset": "string",
"bank_name": "string",
"branch": "string",
"bank_account": "string",
"country": "string",
"created_at": "string",
"deleted_at": "string",
"id": "string",
"instant_payment": "string",
"instant_payment_type": "string",
"message": "string",
"updated_at": "string"
}{
"message": "string"
}curl -X 'POST' \
'https://live.betaapp.com/v1/subaccount/bank-account/external' \
-H 'accept: application/json' \
-H 'X-sub-account-id: fe2f30db...5b5e7c' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6InJlaEF1NURPY...ctfx2I4g' \
-d '{
"asset": "MXN",
"name": "My personal MXN Account",
"bank_name": "BBVA",
"branch": "000",
"account": "000000009",
"country": "Mexico",
"instant_payment": "74618537489"
"instant_payment_type": "SPEI",
"City": "Mexico city",
"postal_code": "235892",
"state": "Ciudad de México",
"street_line": "Avenida Álvaro Obregón",
}'{
"id": "f7856b5e-8d31-4195-99b2-c153bc0b6eaa",
"bank_name": "BBVA",
"branch": "000",
"account": "000000009",
"bank_type": "external",
"instant_payment": "74618537489",
"instant_payment_type": "SPEI",
"country": "Mexico",
"asset": "MXN",
"City": "Mexico city",
"postal_code": "235892",
"state": "Ciudad de México",
"street_line": "Avenida Álvaro Obregón",
"created_at": "2023-11-22T11:44:28.36033647Z",
"updated_at": "2023-11-22T11:44:28.36033647Z",
"deleted_at": null
}{
"message": "string"
}{
"message": "string"
}curl -X 'DELETE' \
'https://live.betaapp.com/v1/subaccount/bank-account/id/f7856b5e-8d31-4195-99b2-c153bc0b6eaa' \
-H 'accept: application/json' \
-H 'X-sub-account-id: fe2f30db...5b5e7c' \
-H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6InJlaEF1NURPY...ctfx2I4g'null