When we are trying to authorize the user account through OAuth2, the user sees only the BTC wallet to authorize. is there anything specific we need to give to allow all accounts?
When we hit the below API, we receive a valid account_id only for the BTC wallet, and for other accounts, we do not see valid account_ids
https://api.coinbase.com/v2/accounts
Below is the response sample, Please advise any inputs. Thank You!
{
“id”: “4e1c5dea-ea4a-56a9-9a5a-76cd0f438XXXX”,
“name”: “BTC Wallet”,
“primary”: true,
“type”: “wallet”,
“currency”: {
“code”: “BTC”,
“name”: “Bitcoin”,
“color”: “#F7931A”,
“sort_index”: 100,
“exponent”: 8,
“type”: “crypto”,
“address_regex”: “^([13][a-km-zA-HJ-NP-Z1-9]{25,34})|^(bc1qzry9x8gf2tvdw0s3jn54khce6mua7l)$”,
“asset_id”: “5b71fc48-3dd3-540c-809b-f8c94d0e68b5”,
“slug”: “bitcoin”
},
“balance”: {
“amount”: “0.00000000”,
“currency”: “BTC”
},
“created_at”: “2017-11-09T20:52:09Z”,
“updated_at”: “2022-09-11T19:00:29Z”,
“resource”: “account”,
“resource_path”: “/v2/accounts/4e1c5dea-ea4a-56a9-9a5a-76cd0f43XXXX”,
“allow_deposits”: true,
“allow_withdrawals”: true
},
{
“id”: “ANT”,
“name”: “ANT Wallet”,
“primary”: false,
“type”: “wallet”,
“currency”: {
“code”: “ANT”,
“name”: “Aragon”,
“color”: “#00B3EC”,
“sort_index”: 193,
“exponent”: 8,
“type”: “crypto”,
“address_regex”: “^(?:0x)?[0-9a-fA-F]{40}$”,
“asset_id”: “4c5c4a7e-83d5-52d4-9b59-06b94b819426”,
“slug”: “aragon”
},
“balance”: {
“amount”: “0.00000000”,
“currency”: “ANT”
},
“created_at”: null,
“updated_at”: null,
“resource”: “account”,
“resource_path”: “/v2/accounts/ANT”,
“allow_deposits”: true,
“allow_withdrawals”: true
},
{
“id”: “MTL”,
“name”: “MTL Wallet”,
“primary”: false,
“type”: “wallet”,
“currency”: {
“code”: “MTL”,
“name”: “Metal”,
“color”: “#4400E2”,
“sort_index”: 237,
“exponent”: 8,
“type”: “crypto”,
“address_regex”: “^(?:0x)?[0-9a-fA-F]{40}$”,
“asset_id”: “40d84546-b993-5601-aef2-731bc30a2b16”,
“slug”: “metal”
},
“balance”: {
“amount”: “0.00000000”,
“currency”: “MTL”
},
“created_at”: null,
“updated_at”: null,
“resource”: “account”,
“resource_path”: “/v2/accounts/MTL”,
“allow_deposits”: true,
“allow_withdrawals”: true
}