rehive.admin.currencies.get().then(function (res) { ... }, function (err) { ... });
{- "status": "string",
- "data": {
- "count": 123,
- "results": [
- {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": 0,
- "manager": {
- "id": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "service": {
- "id": 0,
- "slug": "string",
- "name": "string",
- "url": "string",
- "type": "system"
}
}, - "manager_conditions": [
- {
- "property1": null,
- "property2": null
}
], - "metadata": {
- "property1": null,
- "property2": null
}, - "archived": false,
- "created": 0,
- "updated": 0
}
]
}
}
{- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": 18,
- "manager": "string",
- "manager_conditions": [
- {
- "property1": null,
- "property2": null
}
], - "metadata": {
- "property1": null,
- "property2": null
}, - "archived": false
}
{- "status": "string",
- "data": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": 0,
- "manager": {
- "id": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "service": {
- "id": 0,
- "slug": "string",
- "name": "string",
- "url": "string",
- "type": "system"
}
}, - "manager_conditions": [
- {
- "property1": null,
- "property2": null
}
], - "metadata": {
- "property1": null,
- "property2": null
}, - "archived": false,
- "created": 0,
- "updated": 0
}
}
rehive.admin.currencies.get({"code": currencyCode}) .then(function (res) { ... }, function (err) { ... });
{- "status": "string",
- "data": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": 0,
- "manager": {
- "id": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "service": {
- "id": 0,
- "slug": "string",
- "name": "string",
- "url": "string",
- "type": "system"
}
}, - "manager_conditions": [
- {
- "property1": null,
- "property2": null
}
], - "metadata": {
- "property1": null,
- "property2": null
}, - "archived": false,
- "created": 0,
- "updated": 0
}
}
{- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "manager": "string",
- "manager_conditions": [
- {
- "property1": null,
- "property2": null
}
], - "metadata": {
- "property1": null,
- "property2": null
}, - "archived": false
}
{- "status": "string",
- "data": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": 0,
- "manager": {
- "id": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "service": {
- "id": 0,
- "slug": "string",
- "name": "string",
- "url": "string",
- "type": "system"
}
}, - "manager_conditions": [
- {
- "property1": null,
- "property2": null
}
], - "metadata": {
- "property1": null,
- "property2": null
}, - "archived": false,
- "created": 0,
- "updated": 0
}
}
{- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "manager": "string",
- "manager_conditions": [
- {
- "property1": null,
- "property2": null
}
], - "metadata": {
- "property1": null,
- "property2": null
}, - "archived": false
}
{- "status": "string",
- "data": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": 0,
- "manager": {
- "id": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "service": {
- "id": 0,
- "slug": "string",
- "name": "string",
- "url": "string",
- "type": "system"
}
}, - "manager_conditions": [
- {
- "property1": null,
- "property2": null
}
], - "metadata": {
- "property1": null,
- "property2": null
}, - "archived": false,
- "created": 0,
- "updated": 0
}
}
rehive.admin.currencies.overview.get(currencyCode) .then(function (res) { ... }, function (err) { ... });
{- "status": "string",
- "data": {
- "balance_total": 0,
- "available_balance_total": 0,
- "count_total": 0,
- "count_debits_pending": 0,
- "count_debits_complete": 0,
- "count_credits_pending": 0,
- "count_credits_complete": 0,
- "sum_debits_pending": 0,
- "sum_debits_complete": 0,
- "sum_credits_pending": 0,
- "sum_credits_complete": 0,
- "balance_24h": 0,
- "count_24h": 0,
- "sum_24h_debits_pending": 0,
- "sum_24h_debits_complete": 0,
- "sum_24h_credits_pending": 0,
- "sum_24h_credits_complete": 0
}
}