rehive.admin.accounts.get().then(function (res) { ... }, function (err) { ... });
{- "status": "string",
- "data": {
- "count": 123,
- "results": [
- {
- "reference": "string",
- "name": "default",
- "definition": "string",
- "label": "string",
- "primary": true,
- "recon": true,
- "user": {
- "id": "string",
- "username": "string",
- "email": "user@example.com",
- "mobile": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "groups": [
- {
- "name": "string",
- "label": "string",
- "section": "system"
}
], - "temporary": true
}, - "currencies": [
- {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "active": true,
- "archived": true
}
], - "metadata": {
- "property1": null,
- "property2": null
}, - "archived": false,
- "created": 0,
- "updated": 0
}
]
}
}
{- "reference": "string",
- "name": "default",
- "label": "string",
- "primary": true,
- "recon": true,
- "user": "string",
- "metadata": {
- "property1": null,
- "property2": null
}, - "archived": false
}
{- "status": "string",
- "data": {
- "reference": "string",
- "name": "default",
- "definition": "string",
- "label": "string",
- "primary": true,
- "recon": true,
- "user": {
- "id": "string",
- "username": "string",
- "email": "user@example.com",
- "mobile": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "groups": [
- {
- "name": "string",
- "label": "string",
- "section": "system"
}
], - "temporary": true
}, - "currencies": [
- {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "active": true,
- "archived": true
}
], - "metadata": {
- "property1": null,
- "property2": null
}, - "archived": false,
- "created": 0,
- "updated": 0
}
}
rehive.admin.accounts.get({ "reference: accountReference" }).then(function (res) { ... }, function (err) { ... });
{- "status": "string",
- "data": {
- "reference": "string",
- "name": "default",
- "definition": "string",
- "label": "string",
- "primary": true,
- "recon": true,
- "user": {
- "id": "string",
- "username": "string",
- "email": "user@example.com",
- "mobile": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "groups": [
- {
- "name": "string",
- "label": "string",
- "section": "system"
}
], - "temporary": true
}, - "currencies": [
- {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "limits": [
- {
- "id": 0,
- "value": 0,
- "type": "max",
- "tx_type": "credit",
- "subtype": "string",
- "created": 0,
- "updated": 0
}
], - "fees": [
- {
- "id": 0,
- "name": "string",
- "description": "string",
- "value": 0,
- "percentage": 0,
- "tx_type": "credit",
- "subtype": "string",
- "created": 0,
- "updated": 0,
- "account": "string",
- "asset": "string",
- "debit_account": "string",
- "credit_account": "string",
- "debit_subtype": "string",
- "credit_subtype": "string",
- "inferred": true,
- "archived": true
}
], - "active": true,
- "settings": {
- "allow_transactions": true,
- "allow_debit_transactions": true,
- "allow_credit_transactions": true,
- "disallowed_transaction_subtypes": [
- {
- "id": 0,
- "name": "string",
- "label": "string",
- "tx_type": "credit"
}
]
}, - "subtypes": [
- {
- "id": 0,
- "name": "string",
- "label": "string",
- "description": "string",
- "tx_type": "credit",
- "usage_type": "partner",
- "partner": {
- "id": 0,
- "name": "string",
- "label": "string",
- "tx_type": "credit"
}, - "created": 0,
- "updated": 0
}
], - "archived": false,
- "created": 0,
- "updated": 0
}
], - "metadata": {
- "property1": null,
- "property2": null
}, - "archived": false,
- "created": 0,
- "updated": 0
}
}
{- "name": "default",
- "label": "string",
- "primary": true,
- "recon": true,
- "metadata": {
- "property1": null,
- "property2": null
}, - "archived": false
}
{- "status": "string",
- "data": {
- "reference": "string",
- "name": "default",
- "definition": "string",
- "label": "string",
- "primary": true,
- "recon": true,
- "user": {
- "id": "string",
- "username": "string",
- "email": "user@example.com",
- "mobile": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "groups": [
- {
- "name": "string",
- "label": "string",
- "section": "system"
}
], - "temporary": true
}, - "currencies": [
- {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "limits": [
- {
- "id": 0,
- "value": 0,
- "type": "max",
- "tx_type": "credit",
- "subtype": "string",
- "created": 0,
- "updated": 0
}
], - "fees": [
- {
- "id": 0,
- "name": "string",
- "description": "string",
- "value": 0,
- "percentage": 0,
- "tx_type": "credit",
- "subtype": "string",
- "created": 0,
- "updated": 0,
- "account": "string",
- "asset": "string",
- "debit_account": "string",
- "credit_account": "string",
- "debit_subtype": "string",
- "credit_subtype": "string",
- "inferred": true,
- "archived": true
}
], - "active": true,
- "settings": {
- "allow_transactions": true,
- "allow_debit_transactions": true,
- "allow_credit_transactions": true,
- "disallowed_transaction_subtypes": [
- {
- "id": 0,
- "name": "string",
- "label": "string",
- "tx_type": "credit"
}
]
}, - "subtypes": [
- {
- "id": 0,
- "name": "string",
- "label": "string",
- "description": "string",
- "tx_type": "credit",
- "usage_type": "partner",
- "partner": {
- "id": 0,
- "name": "string",
- "label": "string",
- "tx_type": "credit"
}, - "created": 0,
- "updated": 0
}
], - "archived": false,
- "created": 0,
- "updated": 0
}
], - "metadata": {
- "property1": null,
- "property2": null
}, - "archived": false,
- "created": 0,
- "updated": 0
}
}
{- "name": "default",
- "label": "string",
- "primary": true,
- "recon": true,
- "metadata": {
- "property1": null,
- "property2": null
}, - "archived": false
}
{- "status": "string",
- "data": {
- "reference": "string",
- "name": "default",
- "definition": "string",
- "label": "string",
- "primary": true,
- "recon": true,
- "user": {
- "id": "string",
- "username": "string",
- "email": "user@example.com",
- "mobile": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "groups": [
- {
- "name": "string",
- "label": "string",
- "section": "system"
}
], - "temporary": true
}, - "currencies": [
- {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "limits": [
- {
- "id": 0,
- "value": 0,
- "type": "max",
- "tx_type": "credit",
- "subtype": "string",
- "created": 0,
- "updated": 0
}
], - "fees": [
- {
- "id": 0,
- "name": "string",
- "description": "string",
- "value": 0,
- "percentage": 0,
- "tx_type": "credit",
- "subtype": "string",
- "created": 0,
- "updated": 0,
- "account": "string",
- "asset": "string",
- "debit_account": "string",
- "credit_account": "string",
- "debit_subtype": "string",
- "credit_subtype": "string",
- "inferred": true,
- "archived": true
}
], - "active": true,
- "settings": {
- "allow_transactions": true,
- "allow_debit_transactions": true,
- "allow_credit_transactions": true,
- "disallowed_transaction_subtypes": [
- {
- "id": 0,
- "name": "string",
- "label": "string",
- "tx_type": "credit"
}
]
}, - "subtypes": [
- {
- "id": 0,
- "name": "string",
- "label": "string",
- "description": "string",
- "tx_type": "credit",
- "usage_type": "partner",
- "partner": {
- "id": 0,
- "name": "string",
- "label": "string",
- "tx_type": "credit"
}, - "created": 0,
- "updated": 0
}
], - "archived": false,
- "created": 0,
- "updated": 0
}
], - "metadata": {
- "property1": null,
- "property2": null
}, - "archived": false,
- "created": 0,
- "updated": 0
}
}
admin.accounts.currencies.get(accountReference) .then(function (res) { ... }, function (err) { ... });
{- "status": "string",
- "data": {
- "count": 123,
- "results": [
- {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "limits": [
- {
- "id": 0,
- "value": 0,
- "type": "max",
- "tx_type": "credit",
- "subtype": "string",
- "created": 0,
- "updated": 0
}
], - "fees": [
- {
- "id": 0,
- "name": "string",
- "description": "string",
- "value": 0,
- "percentage": 0,
- "tx_type": "credit",
- "subtype": "string",
- "created": 0,
- "updated": 0,
- "account": "string",
- "asset": "string",
- "debit_account": "string",
- "credit_account": "string",
- "debit_subtype": "string",
- "credit_subtype": "string",
- "inferred": true,
- "archived": true
}
], - "active": true,
- "settings": {
- "allow_transactions": true,
- "allow_debit_transactions": true,
- "allow_credit_transactions": true,
- "disallowed_transaction_subtypes": [
- {
- "id": 0,
- "name": "string",
- "label": "string",
- "tx_type": "credit"
}
]
}, - "subtypes": [
- {
- "id": 0,
- "name": "string",
- "label": "string",
- "description": "string",
- "tx_type": "credit",
- "usage_type": "partner",
- "partner": {
- "id": 0,
- "name": "string",
- "label": "string",
- "tx_type": "credit"
}, - "created": 0,
- "updated": 0
}
], - "archived": false,
- "created": 0,
- "updated": 0
}
]
}
}
{- "currency": "string",
- "active": true
}
{- "status": "string",
- "data": {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "limits": [
- {
- "id": 0,
- "value": 0,
- "type": "max",
- "tx_type": "credit",
- "subtype": "string",
- "created": 0,
- "updated": 0
}
], - "fees": [
- {
- "id": 0,
- "name": "string",
- "description": "string",
- "value": 0,
- "percentage": 0,
- "tx_type": "credit",
- "subtype": "string",
- "created": 0,
- "updated": 0,
- "account": "string",
- "asset": "string",
- "debit_account": "string",
- "credit_account": "string",
- "debit_subtype": "string",
- "credit_subtype": "string",
- "inferred": true,
- "archived": true
}
], - "active": true,
- "settings": {
- "allow_transactions": true,
- "allow_debit_transactions": true,
- "allow_credit_transactions": true,
- "disallowed_transaction_subtypes": [
- {
- "id": 0,
- "name": "string",
- "label": "string",
- "tx_type": "credit"
}
]
}, - "subtypes": [
- {
- "id": 0,
- "name": "string",
- "label": "string",
- "description": "string",
- "tx_type": "credit",
- "usage_type": "partner",
- "partner": {
- "id": 0,
- "name": "string",
- "label": "string",
- "tx_type": "credit"
}, - "created": 0,
- "updated": 0
}
], - "archived": false,
- "created": 0,
- "updated": 0
}
}
rehive.admin.accounts.currencies.get(accountReference, { "code": currencyCode }).then(function (res) { ... }, function (err) { ... });
{- "status": "string",
- "data": {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "limits": [
- {
- "id": 0,
- "value": 0,
- "type": "max",
- "tx_type": "credit",
- "subtype": "string",
- "created": 0,
- "updated": 0
}
], - "fees": [
- {
- "id": 0,
- "name": "string",
- "description": "string",
- "value": 0,
- "percentage": 0,
- "tx_type": "credit",
- "subtype": "string",
- "created": 0,
- "updated": 0,
- "account": "string",
- "asset": "string",
- "debit_account": "string",
- "credit_account": "string",
- "debit_subtype": "string",
- "credit_subtype": "string",
- "inferred": true,
- "archived": true
}
], - "active": true,
- "settings": {
- "allow_transactions": true,
- "allow_debit_transactions": true,
- "allow_credit_transactions": true,
- "disallowed_transaction_subtypes": [
- {
- "id": 0,
- "name": "string",
- "label": "string",
- "tx_type": "credit"
}
]
}, - "subtypes": [
- {
- "id": 0,
- "name": "string",
- "label": "string",
- "description": "string",
- "tx_type": "credit",
- "usage_type": "partner",
- "partner": {
- "id": 0,
- "name": "string",
- "label": "string",
- "tx_type": "credit"
}, - "created": 0,
- "updated": 0
}
], - "archived": false,
- "created": 0,
- "updated": 0
}
}
{- "active": true,
- "archived": false
}
{- "status": "string",
- "data": {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "limits": [
- {
- "id": 0,
- "value": 0,
- "type": "max",
- "tx_type": "credit",
- "subtype": "string",
- "created": 0,
- "updated": 0
}
], - "fees": [
- {
- "id": 0,
- "name": "string",
- "description": "string",
- "value": 0,
- "percentage": 0,
- "tx_type": "credit",
- "subtype": "string",
- "created": 0,
- "updated": 0,
- "account": "string",
- "asset": "string",
- "debit_account": "string",
- "credit_account": "string",
- "debit_subtype": "string",
- "credit_subtype": "string",
- "inferred": true,
- "archived": true
}
], - "active": true,
- "settings": {
- "allow_transactions": true,
- "allow_debit_transactions": true,
- "allow_credit_transactions": true,
- "disallowed_transaction_subtypes": [
- {
- "id": 0,
- "name": "string",
- "label": "string",
- "tx_type": "credit"
}
]
}, - "subtypes": [
- {
- "id": 0,
- "name": "string",
- "label": "string",
- "description": "string",
- "tx_type": "credit",
- "usage_type": "partner",
- "partner": {
- "id": 0,
- "name": "string",
- "label": "string",
- "tx_type": "credit"
}, - "created": 0,
- "updated": 0
}
], - "archived": false,
- "created": 0,
- "updated": 0
}
}
{- "active": true,
- "archived": false
}
{- "status": "string",
- "data": {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "limits": [
- {
- "id": 0,
- "value": 0,
- "type": "max",
- "tx_type": "credit",
- "subtype": "string",
- "created": 0,
- "updated": 0
}
], - "fees": [
- {
- "id": 0,
- "name": "string",
- "description": "string",
- "value": 0,
- "percentage": 0,
- "tx_type": "credit",
- "subtype": "string",
- "created": 0,
- "updated": 0,
- "account": "string",
- "asset": "string",
- "debit_account": "string",
- "credit_account": "string",
- "debit_subtype": "string",
- "credit_subtype": "string",
- "inferred": true,
- "archived": true
}
], - "active": true,
- "settings": {
- "allow_transactions": true,
- "allow_debit_transactions": true,
- "allow_credit_transactions": true,
- "disallowed_transaction_subtypes": [
- {
- "id": 0,
- "name": "string",
- "label": "string",
- "tx_type": "credit"
}
]
}, - "subtypes": [
- {
- "id": 0,
- "name": "string",
- "label": "string",
- "description": "string",
- "tx_type": "credit",
- "usage_type": "partner",
- "partner": {
- "id": 0,
- "name": "string",
- "label": "string",
- "tx_type": "credit"
}, - "created": 0,
- "updated": 0
}
], - "archived": false,
- "created": 0,
- "updated": 0
}
}
rehive.admin.accounts.currencies.fees.get( accountReference, currencyCode).then(function (res) { ... }, function (err) { ... });
{- "status": "string",
- "data": [
- {
- "id": 0,
- "name": "string",
- "description": "string",
- "value": 0,
- "percentage": 0,
- "tx_type": "credit",
- "subtype": "string",
- "created": 0,
- "updated": 0,
- "account": "string",
- "asset": "string",
- "debit_account": "string",
- "credit_account": "string",
- "debit_subtype": "string",
- "credit_subtype": "string",
- "inferred": true,
- "archived": true
}
]
}
{- "name": "string",
- "value": 0,
- "percentage": 0,
- "tx_type": "credit",
- "subtype": "string",
- "description": "string",
- "debit_account": "string",
- "credit_account": "string",
- "debit_subtype": "string",
- "credit_subtype": "string",
- "inferred": true
}
{- "status": "string",
- "data": {
- "id": 0,
- "name": "string",
- "description": "string",
- "value": 0,
- "percentage": 0,
- "tx_type": "credit",
- "subtype": "string",
- "created": 0,
- "updated": 0,
- "account": "string",
- "asset": "string",
- "debit_account": "string",
- "credit_account": "string",
- "debit_subtype": "string",
- "credit_subtype": "string",
- "inferred": true,
- "archived": true
}
}
rehive.admin.accounts.currencies.fees.get( accountReference, currencyCode, { "id": fee_id }).then(function (res) { ... }, function (err) { ... });
{- "status": "string",
- "data": {
- "id": 0,
- "name": "string",
- "description": "string",
- "value": 0,
- "percentage": 0,
- "tx_type": "credit",
- "subtype": "string",
- "created": 0,
- "updated": 0,
- "account": "string",
- "asset": "string",
- "debit_account": "string",
- "credit_account": "string",
- "debit_subtype": "string",
- "credit_subtype": "string",
- "inferred": true,
- "archived": true
}
}
{- "name": "string",
- "value": 0,
- "percentage": 0,
- "tx_type": "credit",
- "subtype": "string",
- "description": "string",
- "debit_account": "string",
- "credit_account": "string",
- "debit_subtype": "string",
- "credit_subtype": "string",
- "inferred": true
}
{- "status": "string",
- "data": {
- "id": 0,
- "name": "string",
- "description": "string",
- "value": 0,
- "percentage": 0,
- "tx_type": "credit",
- "subtype": "string",
- "created": 0,
- "updated": 0,
- "account": "string",
- "asset": "string",
- "debit_account": "string",
- "credit_account": "string",
- "debit_subtype": "string",
- "credit_subtype": "string",
- "inferred": true,
- "archived": true
}
}
{- "name": "string",
- "value": 0,
- "percentage": 0,
- "tx_type": "credit",
- "subtype": "string",
- "description": "string",
- "debit_account": "string",
- "credit_account": "string",
- "debit_subtype": "string",
- "credit_subtype": "string",
- "inferred": true
}
{- "status": "string",
- "data": {
- "id": 0,
- "name": "string",
- "description": "string",
- "value": 0,
- "percentage": 0,
- "tx_type": "credit",
- "subtype": "string",
- "created": 0,
- "updated": 0,
- "account": "string",
- "asset": "string",
- "debit_account": "string",
- "credit_account": "string",
- "debit_subtype": "string",
- "credit_subtype": "string",
- "inferred": true,
- "archived": true
}
}
rehive.admin.accounts.currencies.fees.delete( accountReference, currencyCode, feeId).then(function (res) { ... }, function (err) { ... });
{- "status": "string"
}
rehive.admin.accounts.currencies.limits.get( accountReference, currencyCode ).then(function (res) { ... }, function (err) { ... });
{- "status": "string",
- "data": {
- "count": 123,
- "results": [
- {
- "id": 0,
- "value": 0,
- "type": "max",
- "tx_type": "credit",
- "subtype": "string",
- "created": 0,
- "updated": 0
}
]
}
}
{- "value": 0,
- "type": "max",
- "tx_type": "credit",
- "subtype": "string"
}
{- "status": "string",
- "data": {
- "id": 0,
- "value": 0,
- "type": "max",
- "tx_type": "credit",
- "subtype": "string",
- "created": 0,
- "updated": 0
}
}
rehive.admin.accounts.currencies.limits.get( accountReference, currencyCode, {"id": limitId} ).then(function (res) { ... }, function (err) { ... });
{- "status": "string",
- "data": {
- "id": 0,
- "value": 0,
- "type": "max",
- "tx_type": "credit",
- "subtype": "string",
- "created": 0,
- "updated": 0
}
}
{- "value": 0,
- "type": "max",
- "tx_type": "credit",
- "subtype": "string"
}
{- "status": "string",
- "data": {
- "id": 0,
- "value": 0,
- "type": "max",
- "tx_type": "credit",
- "subtype": "string",
- "created": 0,
- "updated": 0
}
}
{- "value": 0,
- "type": "max",
- "tx_type": "credit",
- "subtype": "string"
}
{- "status": "string",
- "data": {
- "id": 0,
- "value": 0,
- "type": "max",
- "tx_type": "credit",
- "subtype": "string",
- "created": 0,
- "updated": 0
}
}
rehive.admin.accounts.currencies.limits.delete( accountReference, currencyCode, limitId ).then(function (res) { ... }, function (err) { ... });.then(function (res) { ... }, function (err) { ... });
{- "status": "string"
}
rehive.admin.accounts.currencies.settings.get( accountReference, currencyCode ).then(function (res) { ... }, function (err) { ... });
{- "status": "string",
- "data": {
- "allow_transactions": true,
- "allow_debit_transactions": true,
- "allow_credit_transactions": true,
- "disallowed_transaction_subtypes": [
- {
- "id": 0,
- "name": "string",
- "label": "string",
- "tx_type": "credit"
}
]
}
}
{- "allow_transactions": true,
- "allow_debit_transactions": true,
- "allow_credit_transactions": true,
- "disallowed_transaction_subtypes": [
- 0
]
}
{- "status": "string",
- "data": {
- "allow_transactions": true,
- "allow_debit_transactions": true,
- "allow_credit_transactions": true,
- "disallowed_transaction_subtypes": [
- {
- "id": 0,
- "name": "string",
- "label": "string",
- "tx_type": "credit"
}
]
}
}
{- "allow_transactions": true,
- "allow_debit_transactions": true,
- "allow_credit_transactions": true,
- "disallowed_transaction_subtypes": [
- 0
]
}
{- "status": "string",
- "data": {
- "allow_transactions": true,
- "allow_debit_transactions": true,
- "allow_credit_transactions": true,
- "disallowed_transaction_subtypes": [
- {
- "id": 0,
- "name": "string",
- "label": "string",
- "tx_type": "credit"
}
]
}
}