rehive.admin.company.get().then(function (res) { ... }, function (err) { ... });
{- "status": "success",
- "data": {
- "id": "string",
- "name": "string",
- "description": "string",
- "support_email": "user@example.com",
- "contact_email": "user@example.com",
- "country": "AF",
- "address": {
- "line_1": "string",
- "line_2": "string",
- "city": "string",
- "state_province": "string",
- "country": "string",
- "postal_code": "string"
}, - "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,
}
}
], - "require_transaction_subtypes": true,
- "require_verification": true,
- "allow_registrations": true,
- "allow_overdrafts": true,
- "allow_session_durations": true,
- "require_registration": true,
- "default_session_duration": 300,
- "default_transaction_lifespan": 300,
- "require_terms_and_conditions": true,
- "require_privacy_policy": true,
- "account_reference_length": -2147483648,
- "nationalities": [
- "AF"
], - "residencies": [
- "AF"
]
}, - "services": [
- {
- "id": 0,
- "slug": "string",
- "name": "string",
- "url": "string",
- "type": "system"
}
], - "public": true,
- "metadata": {
- "property1": null,
- "property2": null
}, - "mode": "test",
- "status": "pending",
- "created": 0,
- "updated": 0,
- "system_email": "user@example.com",
- "owner": {
- "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
}
}
}
{- "name": "string",
- "description": "string",
- "support_email": "user@example.com",
- "contact_email": "user@example.com",
- "country": "AF",
- "public": true,
- "metadata": {
- "property1": null,
- "property2": null
}, - "status": "pending",
- "system_email": "user@example.com"
}
{- "status": "success",
- "data": {
- "id": "string",
- "name": "string",
- "description": "string",
- "support_email": "user@example.com",
- "contact_email": "user@example.com",
- "country": "AF",
- "address": {
- "line_1": "string",
- "line_2": "string",
- "city": "string",
- "state_province": "string",
- "country": "string",
- "postal_code": "string"
}, - "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,
}
}
], - "require_transaction_subtypes": true,
- "require_verification": true,
- "allow_registrations": true,
- "allow_overdrafts": true,
- "allow_session_durations": true,
- "require_registration": true,
- "default_session_duration": 300,
- "default_transaction_lifespan": 300,
- "require_terms_and_conditions": true,
- "require_privacy_policy": true,
- "account_reference_length": -2147483648,
- "nationalities": [
- "AF"
], - "residencies": [
- "AF"
]
}, - "services": [
- {
- "id": 0,
- "slug": "string",
- "name": "string",
- "url": "string",
- "type": "system"
}
], - "public": true,
- "metadata": {
- "property1": null,
- "property2": null
}, - "mode": "test",
- "status": "pending",
- "created": 0,
- "updated": 0,
- "system_email": "user@example.com",
- "owner": {
- "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
}
}
}
{- "name": "string",
- "description": "string",
- "support_email": "user@example.com",
- "contact_email": "user@example.com",
- "country": "AF",
- "public": true,
- "metadata": {
- "property1": null,
- "property2": null
}, - "status": "pending",
- "system_email": "user@example.com"
}
{- "status": "success",
- "data": {
- "id": "string",
- "name": "string",
- "description": "string",
- "support_email": "user@example.com",
- "contact_email": "user@example.com",
- "country": "AF",
- "address": {
- "line_1": "string",
- "line_2": "string",
- "city": "string",
- "state_province": "string",
- "country": "string",
- "postal_code": "string"
}, - "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,
}
}
], - "require_transaction_subtypes": true,
- "require_verification": true,
- "allow_registrations": true,
- "allow_overdrafts": true,
- "allow_session_durations": true,
- "require_registration": true,
- "default_session_duration": 300,
- "default_transaction_lifespan": 300,
- "require_terms_and_conditions": true,
- "require_privacy_policy": true,
- "account_reference_length": -2147483648,
- "nationalities": [
- "AF"
], - "residencies": [
- "AF"
]
}, - "services": [
- {
- "id": 0,
- "slug": "string",
- "name": "string",
- "url": "string",
- "type": "system"
}
], - "public": true,
- "metadata": {
- "property1": null,
- "property2": null
}, - "mode": "test",
- "status": "pending",
- "created": 0,
- "updated": 0,
- "system_email": "user@example.com",
- "owner": {
- "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
}
}
}
rehive.admin.company.address.get().then(function (res) { ... }, function (err) { ... });
{- "status": "success",
- "data": {
- "line_1": "string",
- "line_2": "string",
- "city": "string",
- "state_province": "string",
- "country": "string",
- "postal_code": "string"
}
}
{- "line_1": "string",
- "line_2": "string",
- "city": "string",
- "state_province": "string",
- "country": "string",
- "postal_code": "string"
}
{- "status": "success",
- "data": {
- "line_1": "string",
- "line_2": "string",
- "city": "string",
- "state_province": "string",
- "country": "string",
- "postal_code": "string"
}
}
{- "line_1": "string",
- "line_2": "string",
- "city": "string",
- "state_province": "string",
- "country": "string",
- "postal_code": "string"
}
{- "status": "success",
- "data": {
- "line_1": "string",
- "line_2": "string",
- "city": "string",
- "state_province": "string",
- "country": "string",
- "postal_code": "string"
}
}
rehive.admin.company.links.get()
{- "status": "success",
- "data": {
- "count": 123,
- "results": [
- {
- "id": 0,
- "key": "string",
- "counterparty": {
- "status": "pending"
}, - "status": "pending",
- "created": 0,
- "updated": 0
}
]
}
}
{- "key": "string",
- "company": "string"
}
{- "status": "success",
- "data": {
- "id": 0,
- "key": "string",
- "counterparty": {
- "status": "pending"
}, - "status": "pending",
- "created": 0,
- "updated": 0
}
}
rehive.admin.company.links.get( link_id )
{- "status": "success",
- "data": {
- "id": 0,
- "key": "string",
- "counterparty": {
- "status": "pending"
}, - "status": "pending",
- "created": 0,
- "updated": 0
}
}
{- "status": "complete"
}
{- "status": "success",
- "data": {
- "id": 0,
- "key": "string",
- "counterparty": {
- "status": "pending"
}, - "status": "pending",
- "created": 0,
- "updated": 0
}
}
{- "status": "complete"
}
{- "status": "success",
- "data": {
- "id": 0,
- "key": "string",
- "counterparty": {
- "status": "pending"
}, - "status": "pending",
- "created": 0,
- "updated": 0
}
}
rehive.admin.company.settings.get().then(function (res) { ... }, function (err) { ... });
{- "status": "success",
- "data": {
- "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,
}
}
], - "require_transaction_subtypes": true,
- "require_verification": true,
- "allow_registrations": true,
- "allow_overdrafts": true,
- "allow_session_durations": true,
- "require_registration": true,
- "default_session_duration": 300,
- "default_transaction_lifespan": 300,
- "require_terms_and_conditions": true,
- "require_privacy_policy": true,
- "account_reference_length": -2147483648,
- "nationalities": [
- "AF"
], - "residencies": [
- "AF"
]
}
}
{- "allow_transactions": true,
- "allow_debit_transactions": true,
- "allow_credit_transactions": true,
- "disallowed_transaction_subtypes": [
- {
- "subtype": 0,
- "currency": "string"
}
], - "require_transaction_subtypes": true,
- "require_verification": true,
- "allow_registrations": true,
- "allow_overdrafts": true,
- "allow_session_durations": true,
- "require_registration": true,
- "default_session_duration": 300,
- "default_transaction_lifespan": 300,
- "require_terms_and_conditions": true,
- "require_privacy_policy": true,
- "account_reference_length": -2147483648,
- "nationalities": [
- "AF"
], - "residencies": [
- "AF"
]
}
{- "status": "success",
- "data": {
- "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,
}
}
], - "require_transaction_subtypes": true,
- "require_verification": true,
- "allow_registrations": true,
- "allow_overdrafts": true,
- "allow_session_durations": true,
- "require_registration": true,
- "default_session_duration": 300,
- "default_transaction_lifespan": 300,
- "require_terms_and_conditions": true,
- "require_privacy_policy": true,
- "account_reference_length": -2147483648,
- "nationalities": [
- "AF"
], - "residencies": [
- "AF"
]
}
}
{- "allow_transactions": true,
- "allow_debit_transactions": true,
- "allow_credit_transactions": true,
- "disallowed_transaction_subtypes": [
- {
- "subtype": 0,
- "currency": "string"
}
], - "require_transaction_subtypes": true,
- "require_verification": true,
- "allow_registrations": true,
- "allow_overdrafts": true,
- "allow_session_durations": true,
- "require_registration": true,
- "default_session_duration": 300,
- "default_transaction_lifespan": 300,
- "require_terms_and_conditions": true,
- "require_privacy_policy": true,
- "account_reference_length": -2147483648,
- "nationalities": [
- "AF"
], - "residencies": [
- "AF"
]
}
{- "status": "success",
- "data": {
- "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,
}
}
], - "require_transaction_subtypes": true,
- "require_verification": true,
- "allow_registrations": true,
- "allow_overdrafts": true,
- "allow_session_durations": true,
- "require_registration": true,
- "default_session_duration": 300,
- "default_transaction_lifespan": 300,
- "require_terms_and_conditions": true,
- "require_privacy_policy": true,
- "account_reference_length": -2147483648,
- "nationalities": [
- "AF"
], - "residencies": [
- "AF"
]
}
}