curl --request GET \
--url https://gateway.varchev.com/wallet/currencies/{currencyId} \
--header 'Authorization: Bearer <token>' \
--header 'tenantId: <tenantid>'
{
"id": {
"tenantId": "<string>",
"entityId": {
"id": "2cdc8ab1-6d50-49cc-ba14-54e4ac7ec231"
},
"auditData": {
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"archivedAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"updatedBy": "<string>",
"deletedBy": "<string>"
}
},
"name": "<string>",
"type": "fiat",
"decimal": 123,
"max_value": 123,
"aliases": [
{
"id": {
"tenantId": "<string>",
"entityId": {
"id": "2cdc8ab1-6d50-49cc-ba14-54e4ac7ec231"
},
"auditData": {
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"archivedAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"updatedBy": "<string>",
"deletedBy": "<string>"
}
},
"name": "<string>",
"shortname": "<string>",
"scale": 123,
"sign": "<string>",
"picture": "<string>",
"default": true,
"ownerId": "<string>"
}
],
"blockchain": {
"id": {
"tenantId": "<string>",
"entityId": {
"id": "2cdc8ab1-6d50-49cc-ba14-54e4ac7ec231"
},
"auditData": {
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"archivedAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"updatedBy": "<string>",
"deletedBy": "<string>"
}
},
"name": "<string>",
"type": "test",
"users": "persons",
"walletTypes": "dex",
"definition": {
"id": {
"tenantId": "<string>",
"entityId": {
"id": "2cdc8ab1-6d50-49cc-ba14-54e4ac7ec231"
},
"auditData": {
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"archivedAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"updatedBy": "<string>",
"deletedBy": "<string>"
}
},
"ownerId": "<string>",
"data": [
{
"id": {
"tenantId": "<string>",
"entityId": {
"id": "2cdc8ab1-6d50-49cc-ba14-54e4ac7ec231"
},
"auditData": {
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"archivedAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"updatedBy": "<string>",
"deletedBy": "<string>"
}
},
"name": "<string>",
"value": "<string>"
}
]
}
}
}
curl --request GET \
--url https://gateway.varchev.com/wallet/currencies/{currencyId} \
--header 'Authorization: Bearer <token>' \
--header 'tenantId: <tenantid>'
{
"id": {
"tenantId": "<string>",
"entityId": {
"id": "2cdc8ab1-6d50-49cc-ba14-54e4ac7ec231"
},
"auditData": {
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"archivedAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"updatedBy": "<string>",
"deletedBy": "<string>"
}
},
"name": "<string>",
"type": "fiat",
"decimal": 123,
"max_value": 123,
"aliases": [
{
"id": {
"tenantId": "<string>",
"entityId": {
"id": "2cdc8ab1-6d50-49cc-ba14-54e4ac7ec231"
},
"auditData": {
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"archivedAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"updatedBy": "<string>",
"deletedBy": "<string>"
}
},
"name": "<string>",
"shortname": "<string>",
"scale": 123,
"sign": "<string>",
"picture": "<string>",
"default": true,
"ownerId": "<string>"
}
],
"blockchain": {
"id": {
"tenantId": "<string>",
"entityId": {
"id": "2cdc8ab1-6d50-49cc-ba14-54e4ac7ec231"
},
"auditData": {
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"archivedAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"updatedBy": "<string>",
"deletedBy": "<string>"
}
},
"name": "<string>",
"type": "test",
"users": "persons",
"walletTypes": "dex",
"definition": {
"id": {
"tenantId": "<string>",
"entityId": {
"id": "2cdc8ab1-6d50-49cc-ba14-54e4ac7ec231"
},
"auditData": {
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"archivedAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"updatedBy": "<string>",
"deletedBy": "<string>"
}
},
"ownerId": "<string>",
"data": [
{
"id": {
"tenantId": "<string>",
"entityId": {
"id": "2cdc8ab1-6d50-49cc-ba14-54e4ac7ec231"
},
"auditData": {
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"archivedAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"updatedBy": "<string>",
"deletedBy": "<string>"
}
},
"name": "<string>",
"value": "<string>"
}
]
}
}
}
The access token received from the authorization server in the OAuth 2.0 flow.
Get currency by id
The response is of type object
.