rehive.admin.bankAccounts.get().then(function (res) { ... }, function (err) { ... });
{- "status": "success",
- "data": {
- "count": 123,
- "results": [
- {
- "id": 0,
- "name": "string",
- "number": "string",
- "type": "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
}, - "currencies": [
- {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}
], - "archived": false,
- "action": "deposit",
- "created": 0,
- "updated": 0
}
]
}
}
{- "name": "string",
- "number": "string",
- "type": "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
}, - "archived": false,
- "action": "deposit"
}
{- "status": "success",
- "data": {
- "id": 0,
- "name": "string",
- "number": "string",
- "type": "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
}, - "currencies": [
- {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}
], - "archived": false,
- "action": "deposit",
- "created": 0,
- "updated": 0
}
}
rehive.admin.bank_accounts.get( {"id": bankAccountsId} ).then(function (res) { ... }, function (err) { ... });
{- "status": "success",
- "data": {
- "id": 0,
- "name": "string",
- "number": "string",
- "type": "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
}, - "currencies": [
- {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}
], - "archived": false,
- "action": "deposit",
- "created": 0,
- "updated": 0
}
}
{- "name": "string",
- "number": "string",
- "type": "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
}, - "archived": false,
- "action": "deposit"
}
{- "status": "success",
- "data": {
- "id": 0,
- "name": "string",
- "number": "string",
- "type": "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
}, - "currencies": [
- {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}
], - "archived": false,
- "action": "deposit",
- "created": 0,
- "updated": 0
}
}
{- "name": "string",
- "number": "string",
- "type": "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
}, - "archived": false,
- "action": "deposit"
}
{- "status": "success",
- "data": {
- "id": 0,
- "name": "string",
- "number": "string",
- "type": "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
}, - "currencies": [
- {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
}
], - "archived": false,
- "action": "deposit",
- "created": 0,
- "updated": 0
}
}
rehive.admin.bankAccounts.currencies.get(bankAccountsId) .then(function (res) { ... }, function (err) { ... });
{- "status": "success",
- "data": {
- "count": 123,
- "results": [
- {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
- "archived": false,
- "created": 0,
- "updated": 0
}
]
}
}
{- "currency": "string"
}
{- "status": "success",
- "data": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
- "archived": false,
- "created": 0,
- "updated": 0
}
}
rehive.admin.bankAccounts.currencies.get(bankAccountsId, currencyCode) .then(function (res) { ... }, function (err) { ... });
{- "status": "success",
- "data": {
- "code": "string",
- "display_code": "string",
- "description": "string",
- "symbol": "string",
- "unit": "string",
- "divisibility": -2147483648,
- "archived": false,
- "created": 0,
- "updated": 0
}
}
rehive.admin.bankAccounts.currencies.delete( bankAccountsId, currencyCode ) .then(function (res) { ... }, function (err) { ... });
{- "status": "sucess"
}