crate::transaction::ledger::controller::openapi::assets
GET /v1/customers/{customer_id}/assets
Changed onRequest
- Base URLhttps://api.1money.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
customer_idstring required
Customer ID
Query parameters
assetstring
- Stablecoin assets: USDC, USDT, PYUSD, RLUSD, USDG, USDP, EURC, MXNB, 1USD(1USD/USDC conversion only, deposit/withdrawal not supported)
- Digital assets: BTC, ETH, SOL
- Fiat currencies: USD, MXN
Example:USDC
sort_order'ASC' | 'DESC'
Sort order by time (ASC: oldest first, DESC: newest first)
Response
Example response
[
{
"customer_id": "14f20ebd-893b-11f0-b308-2eaa4f6974f2",
"asset": "USDC",
"available_amount": "10000.78",
"unavailable_amount": "100.00",
"created_at": "2025-08-21T07:56:57.981Z",
"modified_at": "2025-08-21T07:56:57.981Z"
}
]Changes
- info
api tag
crate::transaction::ledger::controller::openapi::assetsadded - info
api tag
Assetsremoved
- info