rehive.admin.transactions.get().then(function (res) { ... }, function (err) { ... });
{- "status": "success",
- "data": {
- "count": 123,
- "results": [
- {
- "id": "string",
- "collection": "string",
- "parent": "string",
- "partner": {
- "id": "string",
- "user": {
- "id": "string",
- "identifier": "string",
- "username": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "temporary": true,
- "email": "user@example.com",
- "mobile": "string"
}, - "account": "string"
}, - "index": 0,
- "tx_type": "credit",
- "subtype": "string",
- "note": "string",
- "metadata": {
- "property1": null,
- "property2": null
}, - "status": "Initiating",
- "reference": "string",
- "amount": 0,
- "fee": 0,
- "total_amount": 0,
- "balance": 0,
- "account": "string",
- "label": "string",
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "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
}, - "inclusive": true,
- "archived": true,
- "executed": 0,
- "expires": 0,
- "created": 0,
- "updated": 0
}
]
}
}
required | Array of objects (AdminExplicitCreateTransaction) |
{- "transactions": [
- {
- "id": "string",
- "tx_type": "credit",
- "amount": 0,
- "currency": "string",
- "account": "string",
- "subtype": "string",
- "reference": "string",
- "note": "",
- "metadata": {
- "property1": null,
- "property2": null
}, - "user": "string",
- "status": "Initiating",
- "fees": [
- {
- "description": "string",
- "amount": 0
}
], - "expires": 0
}
]
}
{- "status": "success",
- "data": {
- "transactions": [
- {
- "id": "string",
- "collection": "string",
- "parent": "string",
- "partner": {
- "id": "string",
- "user": {
- "id": "string",
- "identifier": "string",
- "username": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "temporary": true,
- "email": "user@example.com",
- "mobile": "string"
}, - "account": "string"
}, - "index": 0,
- "tx_type": "credit",
- "subtype": "string",
- "note": "string",
- "metadata": {
- "property1": null,
- "property2": null
}, - "status": "Initiating",
- "reference": "string",
- "amount": 0,
- "fee": 0,
- "total_amount": 0,
- "balance": 0,
- "account": "string",
- "label": "string",
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "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
}, - "inclusive": true,
- "archived": true,
- "executed": 0,
- "expires": 0,
- "created": 0,
- "updated": 0
}
]
}
}
rehive.admin.transactions.get({"id": txCode}).then(function (res) { ... }, function (err) { ... });
{- "status": "success",
- "data": {
- "id": "string",
- "collection": "string",
- "parent": "string",
- "partner": {
- "id": "string",
- "user": {
- "id": "string",
- "identifier": "string",
- "username": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "temporary": true,
- "email": "user@example.com",
- "mobile": "string"
}, - "account": "string"
}, - "index": 0,
- "tx_type": "credit",
- "subtype": "string",
- "note": "string",
- "metadata": {
- "property1": null,
- "property2": null
}, - "status": "Initiating",
- "reference": "string",
- "amount": 0,
- "fee": 0,
- "total_amount": 0,
- "balance": 0,
- "label": "string",
- "account": "string",
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "creator": {
- "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
}, - "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
}, - "fees": [
- {
- "description": "string",
- "amount": 0
}
], - "inclusive": true,
- "archived": false,
- "executed": 0,
- "expires": 0,
- "created": 0,
- "updated": 0
}
}
{- "note": "string",
- "metadata": {
- "property1": null,
- "property2": null
}, - "status": "Pending",
- "archived": false
}
{- "status": "success",
- "data": {
- "id": "string",
- "collection": "string",
- "parent": "string",
- "partner": {
- "id": "string",
- "user": {
- "id": "string",
- "identifier": "string",
- "username": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "temporary": true,
- "email": "user@example.com",
- "mobile": "string"
}, - "account": "string"
}, - "index": 0,
- "tx_type": "credit",
- "subtype": "string",
- "note": "string",
- "metadata": {
- "property1": null,
- "property2": null
}, - "status": "Initiating",
- "reference": "string",
- "amount": 0,
- "fee": 0,
- "total_amount": 0,
- "balance": 0,
- "label": "string",
- "account": "string",
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "creator": {
- "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
}, - "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
}, - "fees": [
- {
- "description": "string",
- "amount": 0
}
], - "inclusive": true,
- "archived": false,
- "executed": 0,
- "expires": 0,
- "created": 0,
- "updated": 0
}
}
{- "note": "string",
- "metadata": {
- "property1": null,
- "property2": null
}, - "status": "Pending",
- "archived": false
}
{- "status": "success",
- "data": {
- "id": "string",
- "collection": "string",
- "parent": "string",
- "partner": {
- "id": "string",
- "user": {
- "id": "string",
- "identifier": "string",
- "username": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "temporary": true,
- "email": "user@example.com",
- "mobile": "string"
}, - "account": "string"
}, - "index": 0,
- "tx_type": "credit",
- "subtype": "string",
- "note": "string",
- "metadata": {
- "property1": null,
- "property2": null
}, - "status": "Initiating",
- "reference": "string",
- "amount": 0,
- "fee": 0,
- "total_amount": 0,
- "balance": 0,
- "label": "string",
- "account": "string",
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "creator": {
- "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
}, - "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
}, - "fees": [
- {
- "description": "string",
- "amount": 0
}
], - "inclusive": true,
- "archived": false,
- "executed": 0,
- "expires": 0,
- "created": 0,
- "updated": 0
}
}
rehive.admin.transactions.obj(tx_code).messages.get()
{- "status": "success",
- "data": {
- "count": 123,
- "results": [
- {
- "id": 0,
- "section": "system",
- "level": "info",
- "message": "string",
- "author": {
- "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
}, - "archived": false,
- "created": 0,
- "updated": 0
}
]
}
}
{- "section": "admin",
- "level": "info",
- "message": "string",
- "archived": false
}
{- "status": "success",
- "data": {
- "id": 0,
- "section": "system",
- "level": "info",
- "message": "string",
- "author": {
- "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
}, - "archived": false,
- "created": 0,
- "updated": 0
}
}
rehive.admin.transactions.obj(tx_code).messages.get( message_id )
{- "status": "success",
- "data": {
- "id": 0,
- "section": "system",
- "level": "info",
- "message": "string",
- "author": {
- "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
}, - "archived": false,
- "created": 0,
- "updated": 0
}
}
{- "id": "string",
- "amount": 0,
- "currency": "string",
- "account": "string",
- "subtype": "string",
- "reference": "string",
- "note": "",
- "metadata": {
- "property1": null,
- "property2": null
}, - "user": "string",
- "inclusive": false,
- "status": "Initiating",
- "fees": [
- {
- "description": "string",
- "amount": 0
}
], - "expires": 0
}
{- "status": "success",
- "data": {
- "id": "string",
- "collection": "string",
- "parent": "string",
- "partner": {
- "id": "string",
- "user": {
- "id": "string",
- "identifier": "string",
- "username": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "temporary": true,
- "email": "user@example.com",
- "mobile": "string"
}, - "account": "string"
}, - "index": 0,
- "tx_type": "credit",
- "subtype": "string",
- "note": "string",
- "metadata": {
- "property1": null,
- "property2": null
}, - "status": "Initiating",
- "reference": "string",
- "amount": 0,
- "fee": 0,
- "total_amount": 0,
- "balance": 0,
- "label": "string",
- "account": "string",
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "creator": {
- "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
}, - "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
}, - "fees": [
- {
- "description": "string",
- "amount": 0
}
], - "inclusive": true,
- "archived": false,
- "executed": 0,
- "expires": 0,
- "created": 0,
- "updated": 0
}
}
{- "id": "string",
- "amount": 0,
- "currency": "string",
- "account": "string",
- "subtype": "string",
- "reference": "string",
- "note": "",
- "metadata": {
- "property1": null,
- "property2": null
}, - "user": "string",
- "inclusive": false,
- "status": "Initiating",
- "fees": [
- {
- "description": "string",
- "amount": 0
}
], - "expires": 0
}
{- "status": "success",
- "data": {
- "id": "string",
- "collection": "string",
- "parent": "string",
- "partner": {
- "id": "string",
- "user": {
- "id": "string",
- "identifier": "string",
- "username": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "temporary": true,
- "email": "user@example.com",
- "mobile": "string"
}, - "account": "string"
}, - "index": 0,
- "tx_type": "credit",
- "subtype": "string",
- "note": "string",
- "metadata": {
- "property1": null,
- "property2": null
}, - "status": "Initiating",
- "reference": "string",
- "amount": 0,
- "fee": 0,
- "total_amount": 0,
- "balance": 0,
- "label": "string",
- "account": "string",
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "creator": {
- "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
}, - "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
}, - "fees": [
- {
- "description": "string",
- "amount": 0
}
], - "inclusive": true,
- "archived": false,
- "executed": 0,
- "expires": 0,
- "created": 0,
- "updated": 0
}
}
rehive.admin.transactions.totals.get().then(function (res) { ... }, function (err) { ... });
{- "status": "success",
- "data": {
- "total_amount": 0,
- "amount": 0,
- "fees": 0,
- "count": 0,
- "currency": "string"
}
}
{- "debit_account": "string",
- "debit_subtype": "string",
- "debit_metadata": {
- "property1": null,
- "property2": null
}, - "debit_note": "",
- "debit_reference": "string",
- "credit_account": "string",
- "credit_subtype": "string",
- "credit_metadata": {
- "property1": null,
- "property2": null
}, - "credit_note": "",
- "credit_reference": "string",
- "recipient": "string",
- "amount": 0,
- "currency": "string",
- "user": "string",
- "inclusive": false,
- "debit_fees": [
- {
- "description": "string",
- "amount": 0
}
], - "credit_fees": [
- {
- "description": "string",
- "amount": 0
}
], - "status": "Initiating",
- "expires": 0
}
{- "status": "success",
- "data": {
- "id": "string",
- "collection": "string",
- "parent": "string",
- "partner": {
- "id": "string",
- "user": {
- "id": "string",
- "identifier": "string",
- "username": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "temporary": true,
- "email": "user@example.com",
- "mobile": "string"
}, - "account": "string"
}, - "index": 0,
- "tx_type": "credit",
- "subtype": "string",
- "note": "string",
- "metadata": {
- "property1": null,
- "property2": null
}, - "status": "Initiating",
- "reference": "string",
- "amount": 0,
- "fee": 0,
- "total_amount": 0,
- "balance": 0,
- "label": "string",
- "account": "string",
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "creator": {
- "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
}, - "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
}, - "fees": [
- {
- "description": "string",
- "amount": 0
}
], - "inclusive": true,
- "archived": false,
- "executed": 0,
- "expires": 0,
- "created": 0,
- "updated": 0
}
}