rehive.user.get().then(function(res){ ... }, function(err){ ... })
{- "status": "string",
- "data": {
- "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": false,
- "id_number": "string",
- "birth_date": "2019-08-24",
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "account": "string",
- "balance": 0,
- "available_balance": 0,
- "company": "string",
- "owner": true,
- "language": "string",
- "nationality": "AF",
- "residency": "AF",
- "gender": "male",
- "title": "mr",
- "marital_status": "single",
- "fathers_name": "string",
- "mothers_name": "string",
- "grandfathers_name": "string",
- "grandmothers_name": "string",
- "central_bank_number": "string",
- "metadata": {
- "property1": null,
- "property2": null
}, - "timezone": "string",
- "website": "string",
- "business_name": "string",
- "verified": true,
- "verification": {
- "email": true,
- "mobile": true
}, - "status": "obsolete",
- "created": 0,
- "updated": 0,
- "settings": {
- "allow_transactions": true,
- "allow_debit_transactions": true,
- "allow_credit_transactions": true,
- "disallowed_transaction_subtypes": [
- {
- "subtype": {
- "id": 0,
- "name": "string",
- "label": "string",
- "tx_type": "credit"
}, - "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}
}
]
}
}
}
{- "username": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "id_number": "string",
- "birth_date": "2019-08-24",
- "language": "string",
- "nationality": "AF",
- "residency": "AF",
- "gender": "male",
- "title": "mr",
- "marital_status": "single",
- "fathers_name": "string",
- "mothers_name": "string",
- "grandfathers_name": "string",
- "grandmothers_name": "string",
- "central_bank_number": "string",
- "timezone": "string",
- "website": "string",
- "business_name": "string"
}
{- "status": "string",
- "data": {
- "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": false,
- "id_number": "string",
- "birth_date": "2019-08-24",
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "account": "string",
- "balance": 0,
- "available_balance": 0,
- "company": "string",
- "owner": true,
- "language": "string",
- "nationality": "AF",
- "residency": "AF",
- "gender": "male",
- "title": "mr",
- "marital_status": "single",
- "fathers_name": "string",
- "mothers_name": "string",
- "grandfathers_name": "string",
- "grandmothers_name": "string",
- "central_bank_number": "string",
- "metadata": {
- "property1": null,
- "property2": null
}, - "timezone": "string",
- "website": "string",
- "business_name": "string",
- "verified": true,
- "verification": {
- "email": true,
- "mobile": true
}, - "status": "obsolete",
- "created": 0,
- "updated": 0,
- "settings": {
- "allow_transactions": true,
- "allow_debit_transactions": true,
- "allow_credit_transactions": true,
- "disallowed_transaction_subtypes": [
- {
- "subtype": {
- "id": 0,
- "name": "string",
- "label": "string",
- "tx_type": "credit"
}, - "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}
}
]
}
}
}
{- "username": "string",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "id_number": "string",
- "birth_date": "2019-08-24",
- "language": "string",
- "nationality": "AF",
- "residency": "AF",
- "gender": "male",
- "title": "mr",
- "marital_status": "single",
- "fathers_name": "string",
- "mothers_name": "string",
- "grandfathers_name": "string",
- "grandmothers_name": "string",
- "central_bank_number": "string",
- "timezone": "string",
- "website": "string",
- "business_name": "string"
}
{- "status": "string",
- "data": {
- "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": false,
- "id_number": "string",
- "birth_date": "2019-08-24",
- "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "account": "string",
- "balance": 0,
- "available_balance": 0,
- "company": "string",
- "owner": true,
- "language": "string",
- "nationality": "AF",
- "residency": "AF",
- "gender": "male",
- "title": "mr",
- "marital_status": "single",
- "fathers_name": "string",
- "mothers_name": "string",
- "grandfathers_name": "string",
- "grandmothers_name": "string",
- "central_bank_number": "string",
- "metadata": {
- "property1": null,
- "property2": null
}, - "timezone": "string",
- "website": "string",
- "business_name": "string",
- "verified": true,
- "verification": {
- "email": true,
- "mobile": true
}, - "status": "obsolete",
- "created": 0,
- "updated": 0,
- "settings": {
- "allow_transactions": true,
- "allow_debit_transactions": true,
- "allow_credit_transactions": true,
- "disallowed_transaction_subtypes": [
- {
- "subtype": {
- "id": 0,
- "name": "string",
- "label": "string",
- "tx_type": "credit"
}, - "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}
}
]
}
}
}
rehive.user.addresses.get().then(function(res){ ... }, function(err){ ... })
{- "status": "string",
- "data": [
- {
- "id": 0,
- "type": "permanent",
- "line_1": "string",
- "line_2": "string",
- "city": "string",
- "state_province": "string",
- "country": "AF",
- "postal_code": "string",
- "status": "obsolete",
- "created": 0,
- "updated": 0
}
]
}
{- "type": "permanent",
- "line_1": "string",
- "line_2": "string",
- "city": "string",
- "state_province": "string",
- "country": "AF",
- "postal_code": "string"
}
{- "status": "string",
- "data": {
- "id": 0,
- "type": "permanent",
- "line_1": "string",
- "line_2": "string",
- "city": "string",
- "state_province": "string",
- "country": "AF",
- "postal_code": "string",
- "status": "obsolete",
- "created": 0,
- "updated": 0
}
}
rehive.user.addresses.get(addressId).then(function(res){ ... }, function(err){ ... })
{- "status": "string",
- "data": {
- "id": 0,
- "type": "permanent",
- "line_1": "string",
- "line_2": "string",
- "city": "string",
- "state_province": "string",
- "country": "AF",
- "postal_code": "string",
- "status": "obsolete",
- "created": 0,
- "updated": 0
}
}
{- "type": "permanent",
- "line_1": "string",
- "line_2": "string",
- "city": "string",
- "state_province": "string",
- "country": "AF",
- "postal_code": "string"
}
{- "status": "string",
- "data": {
- "id": 0,
- "type": "permanent",
- "line_1": "string",
- "line_2": "string",
- "city": "string",
- "state_province": "string",
- "country": "AF",
- "postal_code": "string",
- "status": "obsolete",
- "created": 0,
- "updated": 0
}
}
{- "type": "permanent",
- "line_1": "string",
- "line_2": "string",
- "city": "string",
- "state_province": "string",
- "country": "AF",
- "postal_code": "string"
}
{- "status": "string",
- "data": {
- "id": 0,
- "type": "permanent",
- "line_1": "string",
- "line_2": "string",
- "city": "string",
- "state_province": "string",
- "country": "AF",
- "postal_code": "string",
- "status": "obsolete",
- "created": 0,
- "updated": 0
}
}
rehive.user.addresses.delete(addressId).then(function(res){ ... }, function(err){ ... })
{- "status": "string"
}
rehive.user.bankAccounts.get().then(function (res) { ... }, function (err) { ... });
{- "status": "string",
- "data": [
- {
- "id": 0,
- "name": "string",
- "number": "string",
- "type": "string",
- "beneficiary_type": "individual",
- "clabe": "string",
- "owner": {
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "phone_number": "string",
- "email_address": "user@example.com",
- "company_name": "string",
- "ein_tin": "string",
- "address": {
- "line_1": "string",
- "line_2": "string",
- "city": "string",
- "state_province": "string",
- "country": "AF",
- "postal_code": "string",
- "state_code": "string"
}, - "cpf_cpnj": "string"
}, - "bank_name": "string",
- "bank_code": "string",
- "branch_code": "string",
- "branch_address": {
- "line_1": "string",
- "line_2": "string",
- "city": "string",
- "state_province": "string",
- "country": "AF",
- "postal_code": "string",
- "state_code": "string"
}, - "routing_number": "string",
- "swift": "string",
- "iban": "string",
- "bic": "string",
- "code": "string",
- "metadata": {
- "property1": null,
- "property2": null
}, - "status": "obsolete",
- "currencies": [
- {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}
], - "account_currencies": [
- {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "account": {
- "reference": "string",
- "name": "string",
- "label": "string",
- "primary": true
}, - "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "active": true
}
], - "action": "withdraw",
- "created": 0,
- "updated": 0
}
]
}
{- "name": "string",
- "number": "string",
- "type": "string",
- "beneficiary_type": "individual",
- "clabe": "string",
- "owner": {
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "phone_number": "string",
- "email_address": "user@example.com",
- "company_name": "string",
- "ein_tin": "string",
- "address": {
- "line_1": "string",
- "line_2": "string",
- "city": "string",
- "state_province": "string",
- "country": "AF",
- "postal_code": "string",
- "state_code": "string"
}, - "cpf_cpnj": "string"
}, - "bank_name": "string",
- "bank_code": "string",
- "branch_code": "string",
- "branch_address": {
- "line_1": "string",
- "line_2": "string",
- "city": "string",
- "state_province": "string",
- "country": "AF",
- "postal_code": "string",
- "state_code": "string"
}, - "routing_number": "string",
- "swift": "string",
- "iban": "string",
- "bic": "string",
- "metadata": {
- "property1": null,
- "property2": null
}, - "action": "withdraw"
}
{- "status": "string",
- "data": {
- "id": 0,
- "name": "string",
- "number": "string",
- "type": "string",
- "beneficiary_type": "individual",
- "clabe": "string",
- "owner": {
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "phone_number": "string",
- "email_address": "user@example.com",
- "company_name": "string",
- "ein_tin": "string",
- "address": {
- "line_1": "string",
- "line_2": "string",
- "city": "string",
- "state_province": "string",
- "country": "AF",
- "postal_code": "string",
- "state_code": "string"
}, - "cpf_cpnj": "string"
}, - "bank_name": "string",
- "bank_code": "string",
- "branch_code": "string",
- "branch_address": {
- "line_1": "string",
- "line_2": "string",
- "city": "string",
- "state_province": "string",
- "country": "AF",
- "postal_code": "string",
- "state_code": "string"
}, - "routing_number": "string",
- "swift": "string",
- "iban": "string",
- "bic": "string",
- "code": "string",
- "metadata": {
- "property1": null,
- "property2": null
}, - "status": "obsolete",
- "currencies": [
- {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}
], - "account_currencies": [
- {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "account": {
- "reference": "string",
- "name": "string",
- "label": "string",
- "primary": true
}, - "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "active": true
}
], - "action": "withdraw",
- "created": 0,
- "updated": 0
}
}
rehive.user.bankAccounts.get(accountId).then(function (res) { ... }, function (err) { ... });
{- "status": "string",
- "data": {
- "id": 0,
- "name": "string",
- "number": "string",
- "type": "string",
- "beneficiary_type": "individual",
- "clabe": "string",
- "owner": {
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "phone_number": "string",
- "email_address": "user@example.com",
- "company_name": "string",
- "ein_tin": "string",
- "address": {
- "line_1": "string",
- "line_2": "string",
- "city": "string",
- "state_province": "string",
- "country": "AF",
- "postal_code": "string",
- "state_code": "string"
}, - "cpf_cpnj": "string"
}, - "bank_name": "string",
- "bank_code": "string",
- "branch_code": "string",
- "branch_address": {
- "line_1": "string",
- "line_2": "string",
- "city": "string",
- "state_province": "string",
- "country": "AF",
- "postal_code": "string",
- "state_code": "string"
}, - "routing_number": "string",
- "swift": "string",
- "iban": "string",
- "bic": "string",
- "code": "string",
- "metadata": {
- "property1": null,
- "property2": null
}, - "status": "obsolete",
- "currencies": [
- {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}
], - "account_currencies": [
- {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "account": {
- "reference": "string",
- "name": "string",
- "label": "string",
- "primary": true
}, - "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "active": true
}
], - "action": "withdraw",
- "created": 0,
- "updated": 0
}
}
{- "name": "string",
- "number": "string",
- "type": "string",
- "beneficiary_type": "individual",
- "clabe": "string",
- "owner": {
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "phone_number": "string",
- "email_address": "user@example.com",
- "company_name": "string",
- "ein_tin": "string",
- "address": {
- "line_1": "string",
- "line_2": "string",
- "city": "string",
- "state_province": "string",
- "country": "AF",
- "postal_code": "string",
- "state_code": "string"
}, - "cpf_cpnj": "string"
}, - "bank_name": "string",
- "bank_code": "string",
- "branch_code": "string",
- "branch_address": {
- "line_1": "string",
- "line_2": "string",
- "city": "string",
- "state_province": "string",
- "country": "AF",
- "postal_code": "string",
- "state_code": "string"
}, - "routing_number": "string",
- "swift": "string",
- "iban": "string",
- "bic": "string",
- "metadata": {
- "property1": null,
- "property2": null
}
}
{- "status": "string",
- "data": {
- "id": 0,
- "name": "string",
- "number": "string",
- "type": "string",
- "beneficiary_type": "individual",
- "clabe": "string",
- "owner": {
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "phone_number": "string",
- "email_address": "user@example.com",
- "company_name": "string",
- "ein_tin": "string",
- "address": {
- "line_1": "string",
- "line_2": "string",
- "city": "string",
- "state_province": "string",
- "country": "AF",
- "postal_code": "string",
- "state_code": "string"
}, - "cpf_cpnj": "string"
}, - "bank_name": "string",
- "bank_code": "string",
- "branch_code": "string",
- "branch_address": {
- "line_1": "string",
- "line_2": "string",
- "city": "string",
- "state_province": "string",
- "country": "AF",
- "postal_code": "string",
- "state_code": "string"
}, - "routing_number": "string",
- "swift": "string",
- "iban": "string",
- "bic": "string",
- "code": "string",
- "metadata": {
- "property1": null,
- "property2": null
}, - "status": "obsolete",
- "currencies": [
- {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}
], - "account_currencies": [
- {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "account": {
- "reference": "string",
- "name": "string",
- "label": "string",
- "primary": true
}, - "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "active": true
}
], - "action": "withdraw",
- "created": 0,
- "updated": 0
}
}
{- "name": "string",
- "number": "string",
- "type": "string",
- "beneficiary_type": "individual",
- "clabe": "string",
- "owner": {
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "phone_number": "string",
- "email_address": "user@example.com",
- "company_name": "string",
- "ein_tin": "string",
- "address": {
- "line_1": "string",
- "line_2": "string",
- "city": "string",
- "state_province": "string",
- "country": "AF",
- "postal_code": "string",
- "state_code": "string"
}, - "cpf_cpnj": "string"
}, - "bank_name": "string",
- "bank_code": "string",
- "branch_code": "string",
- "branch_address": {
- "line_1": "string",
- "line_2": "string",
- "city": "string",
- "state_province": "string",
- "country": "AF",
- "postal_code": "string",
- "state_code": "string"
}, - "routing_number": "string",
- "swift": "string",
- "iban": "string",
- "bic": "string",
- "metadata": {
- "property1": null,
- "property2": null
}
}
{- "status": "string",
- "data": {
- "id": 0,
- "name": "string",
- "number": "string",
- "type": "string",
- "beneficiary_type": "individual",
- "clabe": "string",
- "owner": {
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "phone_number": "string",
- "email_address": "user@example.com",
- "company_name": "string",
- "ein_tin": "string",
- "address": {
- "line_1": "string",
- "line_2": "string",
- "city": "string",
- "state_province": "string",
- "country": "AF",
- "postal_code": "string",
- "state_code": "string"
}, - "cpf_cpnj": "string"
}, - "bank_name": "string",
- "bank_code": "string",
- "branch_code": "string",
- "branch_address": {
- "line_1": "string",
- "line_2": "string",
- "city": "string",
- "state_province": "string",
- "country": "AF",
- "postal_code": "string",
- "state_code": "string"
}, - "routing_number": "string",
- "swift": "string",
- "iban": "string",
- "bic": "string",
- "code": "string",
- "metadata": {
- "property1": null,
- "property2": null
}, - "status": "obsolete",
- "currencies": [
- {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}
], - "account_currencies": [
- {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "account": {
- "reference": "string",
- "name": "string",
- "label": "string",
- "primary": true
}, - "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "active": true
}
], - "action": "withdraw",
- "created": 0,
- "updated": 0
}
}
rehive.user.bank_accounts.delete(bankId).then(function(res){ ... }, function(err){ ... })
{- "status": "string"
}
{- "status": "string",
- "data": [
- {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "account": {
- "reference": "string",
- "name": "string",
- "label": "string",
- "primary": true
}, - "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "active": true
}
]
}
{- "account_currency": "string"
}
{- "status": "string",
- "data": {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "account": {
- "reference": "string",
- "name": "string",
- "label": "string",
- "primary": true
}, - "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "active": true
}
}
{- "status": "string",
- "data": {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "account": {
- "reference": "string",
- "name": "string",
- "label": "string",
- "primary": true
}, - "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "active": true,
- "created": 0,
- "updated": 0
}
}
{- "status": "string",
- "data": [
- {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
- "created": 0,
- "updated": 0
}
]
}
{- "currency": "string"
}
{- "status": "string",
- "data": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
- "created": 0,
- "updated": 0
}
}
{- "status": "string",
- "data": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
- "created": 0,
- "updated": 0
}
}
rehive.user.cryptoAccounts.get().then(function (res) { ... }, function (err) { ... });
{- "status": "string",
- "data": [
- {
- "id": 0,
- "address": "string",
- "name": "string",
- "code": "string",
- "crypto_type": "bitcoin",
- "network": "testnet",
- "metadata": {
- "property1": null,
- "property2": null
}, - "currencies": [
- {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}
], - "account_currencies": [
- {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "account": {
- "reference": "string",
- "name": "string",
- "label": "string",
- "primary": true
}, - "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "active": true
}
], - "status": "obsolete",
- "action": "withdraw",
- "created": 0,
- "updated": 0
}
]
}
{- "address": "string",
- "name": "string",
- "crypto_type": "bitcoin",
- "network": "testnet",
- "metadata": {
- "property1": null,
- "property2": null
}, - "action": "withdraw"
}
{- "status": "string",
- "data": {
- "id": 0,
- "address": "string",
- "name": "string",
- "code": "string",
- "crypto_type": "bitcoin",
- "network": "testnet",
- "metadata": {
- "property1": null,
- "property2": null
}, - "currencies": [
- {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}
], - "account_currencies": [
- {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "account": {
- "reference": "string",
- "name": "string",
- "label": "string",
- "primary": true
}, - "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "active": true
}
], - "status": "obsolete",
- "action": "withdraw",
- "created": 0,
- "updated": 0
}
}
rehive.user.cryptoAccounts.get(accountId).then(function (res) { ... }, function (err) { ... });
{- "status": "string",
- "data": {
- "id": 0,
- "address": "string",
- "name": "string",
- "code": "string",
- "crypto_type": "bitcoin",
- "network": "testnet",
- "metadata": {
- "property1": null,
- "property2": null
}, - "currencies": [
- {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}
], - "account_currencies": [
- {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "account": {
- "reference": "string",
- "name": "string",
- "label": "string",
- "primary": true
}, - "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "active": true
}
], - "status": "obsolete",
- "action": "withdraw",
- "created": 0,
- "updated": 0
}
}
{- "address": "string",
- "name": "string",
- "crypto_type": "bitcoin",
- "network": "testnet",
- "metadata": {
- "property1": null,
- "property2": null
}
}
{- "status": "string",
- "data": {
- "id": 0,
- "address": "string",
- "name": "string",
- "code": "string",
- "crypto_type": "bitcoin",
- "network": "testnet",
- "metadata": {
- "property1": null,
- "property2": null
}, - "currencies": [
- {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}
], - "account_currencies": [
- {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "account": {
- "reference": "string",
- "name": "string",
- "label": "string",
- "primary": true
}, - "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "active": true
}
], - "status": "obsolete",
- "action": "withdraw",
- "created": 0,
- "updated": 0
}
}
{- "address": "string",
- "name": "string",
- "crypto_type": "bitcoin",
- "network": "testnet",
- "metadata": {
- "property1": null,
- "property2": null
}
}
{- "status": "string",
- "data": {
- "id": 0,
- "address": "string",
- "name": "string",
- "code": "string",
- "crypto_type": "bitcoin",
- "network": "testnet",
- "metadata": {
- "property1": null,
- "property2": null
}, - "currencies": [
- {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}
], - "account_currencies": [
- {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "account": {
- "reference": "string",
- "name": "string",
- "label": "string",
- "primary": true
}, - "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "active": true
}
], - "status": "obsolete",
- "action": "withdraw",
- "created": 0,
- "updated": 0
}
}
rehive.user.crypto_accounts.delete(accountId).then(function(res){ ... }, function(err){ ... })
{- "status": "string"
}
{- "status": "string",
- "data": [
- {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "account": {
- "reference": "string",
- "name": "string",
- "label": "string",
- "primary": true
}, - "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "active": true
}
]
}
{- "account_currency": "string"
}
{- "status": "string",
- "data": {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "account": {
- "reference": "string",
- "name": "string",
- "label": "string",
- "primary": true
}, - "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "active": true
}
}
{- "status": "string",
- "data": {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "account": {
- "reference": "string",
- "name": "string",
- "label": "string",
- "primary": true
}, - "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "active": true,
- "created": 0,
- "updated": 0
}
}
{- "status": "string",
- "data": [
- {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
- "created": 0,
- "updated": 0
}
]
}
{- "currency": "string"
}
{- "status": "string",
- "data": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
- "created": 0,
- "updated": 0
}
}
{- "status": "string",
- "data": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
- "created": 0,
- "updated": 0
}
}
{- "status": "string",
- "data": [
- {
- "id": 0,
- "imei": "string",
- "name": "string",
- "apps": [
- {
- "id": 0,
- "name": "string",
- "type": "expo",
- "token": "string"
}
], - "metadata": {
- "property1": null,
- "property2": null
}, - "created": 0,
- "updated": 0
}
]
}
{- "imei": "string",
- "name": "string",
- "metadata": {
- "property1": null,
- "property2": null
}
}
{- "status": "string",
- "data": {
- "id": 0,
- "imei": "string",
- "name": "string",
- "apps": [
- {
- "id": 0,
- "name": "string",
- "type": "expo",
- "token": "string"
}
], - "metadata": {
- "property1": null,
- "property2": null
}, - "created": 0,
- "updated": 0
}
}
{- "name": "string",
- "type": "expo"
}
{- "status": "string",
- "data": {
- "id": 0,
- "name": "string",
- "type": "expo",
- "token": "string",
- "created": 0,
- "updated": 0
}
}
{- "name": "string",
- "type": "expo"
}
{- "status": "string",
- "data": {
- "id": 0,
- "name": "string",
- "type": "expo",
- "token": "string",
- "created": 0,
- "updated": 0
}
}
{- "status": "string",
- "data": {
- "id": 0,
- "imei": "string",
- "name": "string",
- "apps": [
- {
- "id": 0,
- "name": "string",
- "type": "expo",
- "token": "string"
}
], - "metadata": {
- "property1": null,
- "property2": null
}, - "created": 0,
- "updated": 0
}
}
{- "name": "string",
- "metadata": {
- "property1": null,
- "property2": null
}
}
{- "status": "string",
- "data": {
- "id": 0,
- "imei": "string",
- "name": "string",
- "apps": [
- {
- "id": 0,
- "name": "string",
- "type": "expo",
- "token": "string"
}
], - "metadata": {
- "property1": null,
- "property2": null
}, - "created": 0,
- "updated": 0
}
}
{- "name": "string",
- "metadata": {
- "property1": null,
- "property2": null
}
}
{- "status": "string",
- "data": {
- "id": 0,
- "imei": "string",
- "name": "string",
- "apps": [
- {
- "id": 0,
- "name": "string",
- "type": "expo",
- "token": "string"
}
], - "metadata": {
- "property1": null,
- "property2": null
}, - "created": 0,
- "updated": 0
}
}
{- "name": "string",
- "type": "expo",
- "token": "string"
}
{- "status": "string",
- "data": {
- "id": 0,
- "name": "string",
- "type": "expo",
- "token": "string",
- "created": 0,
- "updated": 0
}
}
rehive.user.documents.get().then(function (res) { ... }, function (err) { ... });
{- "status": "string",
- "data": {
- "count": 123,
- "results": [
- {
- "id": 0,
- "type": {
- "id": 0,
- "name": "string",
- "description": "string"
}, - "status": "obsolete",
- "metadata": {
- "property1": null,
- "property2": null
}, - "note": "string",
- "expires": 0,
- "created": 0,
- "updated": 0
}
]
}
}
{- "type": 0,
- "metadata": {
- "property1": null,
- "property2": null
}, - "expires": 0
}
{- "status": "string",
- "data": {
- "id": 0,
- "type": {
- "id": 0,
- "name": "string",
- "description": "string"
}, - "status": "obsolete",
- "metadata": {
- "property1": null,
- "property2": null
}, - "note": "string",
- "expires": 0,
- "created": 0,
- "updated": 0
}
}
rehive.user.documents.get({id: documentId).then(function (res) { ... }, function (err) { ... });
{- "status": "string",
- "data": {
- "id": 0,
- "type": {
- "id": 0,
- "name": "string",
- "description": "string"
}, - "status": "obsolete",
- "metadata": {
- "property1": null,
- "property2": null
}, - "note": "string",
- "expires": 0,
- "created": 0,
- "updated": 0
}
}
rehive.user.emails.get().then(function (res) { ... }, function (err) { ... });
{- "status": "string",
- "data": [
- {
- "id": 0,
- "email": "user@example.com",
- "primary": true,
- "verified": true,
- "created": 0,
- "updated": 0
}
]
}
{- "email": "user@example.com",
- "primary": true
}
{- "status": "string",
- "data": {
- "id": 0,
- "email": "user@example.com",
- "primary": true,
- "verified": true,
- "created": 0,
- "updated": 0
}
}
rehive.user.emails.get(emailId).then(function (res) { ... }, function (err) { ... });
{- "status": "string",
- "data": {
- "id": 0,
- "email": "user@example.com",
- "primary": true,
- "verified": true,
- "created": 0,
- "updated": 0
}
}
{- "primary": true
}
{- "status": "string",
- "data": {
- "id": 0,
- "email": "user@example.com",
- "primary": true,
- "verified": true,
- "created": 0,
- "updated": 0
}
}
rehive.user.legal_terms.get()
{- "status": "string",
- "data": {
- "count": 123,
- "results": [
- {
- "id": 0,
- "type": "system",
- "name": "string",
- "description": "string",
- "versions": [
- {
- "id": 0,
- "version": 0,
- "accepted": true,
- "created": 0,
- "updated": 0
}
], - "created": 0,
- "updated": 0
}
]
}
}
rehive.user.legal_terms.get(legal_terms_id)
{- "status": "string",
- "data": {
- "id": 0,
- "type": "system",
- "name": "string",
- "description": "string",
- "versions": [
- {
- "id": 0,
- "version": 0,
- "accepted": true,
- "created": 0,
- "updated": 0
}
], - "created": 0,
- "updated": 0
}
}
rehive.user.legal_terms.obj(legal_terms_id).versions.get()
{- "status": "string",
- "data": {
- "count": 123,
- "results": [
- {
- "id": 0,
- "version": 0,
- "accepted": true,
- "accepted_date": 0,
- "note": "string",
- "content": "string",
- "created": 0,
- "updated": 0
}
]
}
}
rehive.user.legal_terms.obj(legal_terms_id).versions.get( version_id )
{- "status": "string",
- "data": {
- "id": 0,
- "version": 0,
- "accepted": true,
- "accepted_date": 0,
- "note": "string",
- "content": "string",
- "created": 0,
- "updated": 0
}
}
{- "accepted": true
}
{- "status": "string",
- "data": {
- "id": 0,
- "version": 0,
- "accepted": true,
- "accepted_date": 0,
- "note": "string",
- "content": "string",
- "created": 0,
- "updated": 0
}
}
{- "accepted": true
}
{- "status": "string",
- "data": {
- "id": 0,
- "version": 0,
- "accepted": true,
- "accepted_date": 0,
- "note": "string",
- "content": "string",
- "created": 0,
- "updated": 0
}
}
rehive.user.mobiles.get().then(function (res) { ... }, function (err) { ... });
{- "status": "string",
- "data": [
- {
- "id": 0,
- "number": "string",
- "primary": true,
- "verified": true,
- "created": 0,
- "updated": 0
}
]
}
rehive.user.mobiles.get(mobileId).then(function (res) { ... }, function (err) { ... });
{- "status": "string",
- "data": {
- "id": 0,
- "number": "string",
- "primary": true,
- "verified": true,
- "created": 0,
- "updated": 0
}
}
rehive.user.mobiles.delete(mobileId).then(function (res) { ... }, function (err) { ... });
{- "status": "string"
}
rehive.user.wallet_accounts.get()
{- "status": "string",
- "data": [
- {
- "id": 0,
- "username": "string",
- "email": "user@example.com",
- "mobile": "string",
- "name": "string",
- "code": "string",
- "type": "paypal",
- "metadata": {
- "property1": null,
- "property2": null
}, - "status": "obsolete",
- "currencies": [
- {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}
], - "account_currencies": [
- {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "account": {
- "reference": "string",
- "name": "string",
- "label": "string",
- "primary": true
}, - "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "active": true
}
], - "action": "withdraw",
- "created": 0,
- "updated": 0
}
]
}
{- "username": "string",
- "email": "user@example.com",
- "mobile": "string",
- "name": "string",
- "type": "paypal",
- "metadata": {
- "property1": null,
- "property2": null
}, - "action": "withdraw"
}
{- "status": "string",
- "data": {
- "id": 0,
- "username": "string",
- "email": "user@example.com",
- "mobile": "string",
- "name": "string",
- "code": "string",
- "type": "paypal",
- "metadata": {
- "property1": null,
- "property2": null
}, - "status": "obsolete",
- "currencies": [
- {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}
], - "account_currencies": [
- {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "account": {
- "reference": "string",
- "name": "string",
- "label": "string",
- "primary": true
}, - "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "active": true
}
], - "action": "withdraw",
- "created": 0,
- "updated": 0
}
}
{- "status": "string",
- "data": {
- "id": 0,
- "username": "string",
- "email": "user@example.com",
- "mobile": "string",
- "name": "string",
- "code": "string",
- "type": "paypal",
- "metadata": {
- "property1": null,
- "property2": null
}, - "status": "obsolete",
- "currencies": [
- {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}
], - "account_currencies": [
- {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "account": {
- "reference": "string",
- "name": "string",
- "label": "string",
- "primary": true
}, - "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "active": true
}
], - "action": "withdraw",
- "created": 0,
- "updated": 0
}
}
{- "username": "string",
- "email": "user@example.com",
- "mobile": "string",
- "name": "string",
- "type": "paypal",
- "metadata": {
- "property1": null,
- "property2": null
}
}
{- "status": "string",
- "data": {
- "id": 0,
- "username": "string",
- "email": "user@example.com",
- "mobile": "string",
- "name": "string",
- "code": "string",
- "type": "paypal",
- "metadata": {
- "property1": null,
- "property2": null
}, - "status": "obsolete",
- "currencies": [
- {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}
], - "account_currencies": [
- {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "account": {
- "reference": "string",
- "name": "string",
- "label": "string",
- "primary": true
}, - "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "active": true
}
], - "action": "withdraw",
- "created": 0,
- "updated": 0
}
}
{- "username": "string",
- "email": "user@example.com",
- "mobile": "string",
- "name": "string",
- "type": "paypal",
- "metadata": {
- "property1": null,
- "property2": null
}
}
{- "status": "string",
- "data": {
- "id": 0,
- "username": "string",
- "email": "user@example.com",
- "mobile": "string",
- "name": "string",
- "code": "string",
- "type": "paypal",
- "metadata": {
- "property1": null,
- "property2": null
}, - "status": "obsolete",
- "currencies": [
- {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}
], - "account_currencies": [
- {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "account": {
- "reference": "string",
- "name": "string",
- "label": "string",
- "primary": true
}, - "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "active": true
}
], - "action": "withdraw",
- "created": 0,
- "updated": 0
}
}
{- "status": "string",
- "data": [
- {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "account": {
- "reference": "string",
- "name": "string",
- "label": "string",
- "primary": true
}, - "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "active": true
}
]
}
{- "account_currency": "string"
}
{- "status": "string",
- "data": {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "account": {
- "reference": "string",
- "name": "string",
- "label": "string",
- "primary": true
}, - "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "active": true
}
}
{- "status": "string",
- "data": {
- "id": "string",
- "balance": 0,
- "available_balance": 0,
- "account": {
- "reference": "string",
- "name": "string",
- "label": "string",
- "primary": true
}, - "currency": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}, - "active": true,
- "created": 0,
- "updated": 0
}
}
rehive.user.wallet_accounts.obj( wallet_account_id ).currencies.get()
{- "status": "string",
- "data": {
- "count": 123,
- "results": [
- {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
- "created": 0,
- "updated": 0
}
]
}
}
{- "currency": "string"
}
{- "status": "string",
- "data": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
- "created": 0,
- "updated": 0
}
}
rehive.user.wallet_accounts.obj( wallet_account_id ).currencies.get(currency_code)
{- "status": "string",
- "data": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
- "created": 0,
- "updated": 0
}
}