company

Retrieve company

SecurityapiAuth
Responses
200
get/3/company/
Request samples
rehive.company.get().then(function(company){
    ...
}, function(err){
    ...
})
Response samples
application/json
{
  • "status": "success",
  • "data": {
    }
}

List bank accounts

SecurityapiAuth
Request
query Parameters
created
string <date-time>
created__gt
string <date-time>
created__gte
string <date-time>
created__lt
string <date-time>
created__lte
string <date-time>
currency
string
id
string
name
string
name__contains
string
number
string
page
integer

A page number within the paginated result set.

page_size
integer

Number of results to return per page.

Responses
200
get/3/company/bank-accounts/
Response samples
application/json
{
  • "status": "success",
  • "data": {
    }
}

List currencies

SecurityapiAuth
Request
query Parameters
code
string
code__in
string
display_code
string
orderby
Array of strings

Ordering

  • created - Created
  • -created - Created (descending)
  • code - Code
  • -code - Code (descending)
  • display_code - Display code
  • -display_code - Display code (descending)
Items Enum: "-code" "-created" "-display_code" "code" "created" "display_code"
page
integer

A page number within the paginated result set.

page_size
integer

Number of results to return per page.

unit
string
Responses
200
get/3/company/currencies/
Request samples
rehive.company.currencies.get().then(function(res){
    ...
}, function(err){
    ...
})
Response samples
application/json
{}

Retrieve currency

SecurityapiAuth
Request
path Parameters
code
required
string^\w+$
Responses
200
get/3/company/currencies/{code}/
Request samples
rehive.company.currencies.get({code: code}).then(function(res){
    ...
}, function(err){
    ...
})
Response samples
application/json
{
  • "status": "success",
  • "data": {
    }
}

List wallet accounts

SecurityapiAuth
Request
query Parameters
created
string <date-time>
created__gt
string <date-time>
created__gte
string <date-time>
created__lt
string <date-time>
created__lte
string <date-time>
currency
string
id
string
name
string
name__contains
string
page
integer

A page number within the paginated result set.

page_size
integer

Number of results to return per page.

Responses
200
get/3/company/wallet-accounts/
Response samples
application/json
{
  • "status": "success",
  • "data": {
    }
}