Crypto Asset Balance

Returns the list of all crypto assets and balances of Partner’s customer with estimated (point in time) value in the requested currency.

📘

This is only for Partners that custody with Coinme. If Partners do not custody with Coinme, then please disregard this API endpoint

Sample API Request: GET

URL: https://caas-staging.coinme.com/services/cryptoassetbalance customerId=654987321&estimatedBalanceCurrencyCode=USD
headers:
"Authorization":"asdfghj", //authorization token,required
'User-Agent: partnerapi' //required

Sample API Response:

Successful Response:
{
  "data": 
  {
    "cryptoAssetsBalance": [
        {
            "balance": "500",
            "currencyName": "Dogecoin",
            "currencySymbol": "DOGE",
            "updatedAt": "2021-12-15T14:11:41.479362Z",// UTC
            "estimatedBalanceValue": "65.40"
        },
        {
            "balance": "0.07",
            "currencyName": "Bitcoin",
            "currencySymbol": "BTC",
            "updatedAt": "2021-12-15T13:38:45.930845Z",//UTC
            "estimatedBalanceValue": "2657.95"
        }
       
      ]
  },
  "errorResponse": null
}
Failure Response:
{
  "data": null,
  "errorResponse": {
    "httpStatus":"200",
    "timestamp":"2022-02-01T18:59:28.297Z",//UTC
    "path":"/services/cryptoassetbalance GET",
    "errorData": [
      {
        "errorCode":"123-123-123-123",//The error code is just a sample showing the structure of the error code.
        "message":"Customer Id not found"
      }
    ]
  }
}