Get person
GEThttps://sandbox.api.hubpay.ae/v1/account/persons/:personId
For business accounts - get details of a Shareholder, Director or Authorised Signatory
Request
Path Parameters
Unique identifier of the related person
Header Parameters
ID of account for which operation is to be performed
Responses
- 200
- 400
- 401
- 403
- 404
- 405
- 429
- 500
OK
- application/json
- Schema
- Example (auto)
Schema
- NOT_SUBMITTED: The individual’s details have not yet been submitted for review.
- UNDER_REVIEW: The individual's information and documents are currently under review.
- ACTION_REQUIRED: The individual’s submission requires additional actions, such as uploading missing or invalid documents.
- APPROVED: The individual’s information has been reviewed and approved.
Unique identifier of the related person
Status of the related person in the onboarding or review process.
Possible values: [NOT_SUBMITTED
, UNDER_REVIEW
, ACTION_REQUIRED
, APPROVED
]
Full name of the individual exactly as it appears on their official identification document (e.g., passport or national ID)
documents object[]required
Indicates whether the individual has the authority to sign documents and make official commitments on behalf of the company
Indicates whether the individual is legally responsible for managing the company's operations and decision-making
Indicates whether the individual owns more than 25% of the company's shares
Indicates whether the individual resides in the UAE
URL to the individual's LinkedIn profile, used for background and professional verification
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "NOT_SUBMITTED",
"fullNameAsPerId": "string",
"documents": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"title": "string",
"description": "string",
"status": "NOT_SUBMITTED",
"required": true,
"expiresAt": "2024-07-29T15:51:28.071Z",
"declinedReason": "NOT_CERTIFIED",
"declinedCustomerDisplayReason": "string",
"lastUpdatedBy": "string",
"lastUpdatedAt": "2024-07-29T15:51:28.071Z",
"documentUploads": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"fileName": "string",
"contentType": "string",
"createdAt": "2024-07-29T15:51:28.071Z"
}
],
"documentType": "PASSPORT"
}
],
"authorizedSignatory": true,
"director": true,
"shareholder": true,
"uaeResident": true,
"linkedInProfileUrl": "string"
}
Bad Request
- application/json
- Schema
- Example (auto)
Schema
Stable machine-readable code
Possible values: [validation_failed
, unauthorized
, forbidden
, not_found
, conflict
, internal_error
, operation_unavailable
]
validation_failed
One or more fields are missing or invalid
400
2025-06-10T10:15:31Z
/v1/collections/rates
errors object[]
{
"code": "validation_failed",
"message": "One or more fields are missing or invalid",
"status": 400,
"timestamp": "2025-06-10T10:15:31Z",
"path": "/v1/collections/rates",
"errors": [
{
"field": "sourceCurrency",
"message": "Source currency is required"
}
]
}
Unauthorized
- application/json
- Schema
- Example (auto)
Schema
Stable machine-readable code
Possible values: [validation_failed
, unauthorized
, forbidden
, not_found
, conflict
, internal_error
, operation_unavailable
]
validation_failed
One or more fields are missing or invalid
400
2025-06-10T10:15:31Z
/v1/collections/rates
errors object[]
{
"code": "validation_failed",
"message": "One or more fields are missing or invalid",
"status": 400,
"timestamp": "2025-06-10T10:15:31Z",
"path": "/v1/collections/rates",
"errors": [
{
"field": "sourceCurrency",
"message": "Source currency is required"
}
]
}
Forbidden
- application/json
- Schema
- Example (auto)
Schema
Stable machine-readable code
Possible values: [validation_failed
, unauthorized
, forbidden
, not_found
, conflict
, internal_error
, operation_unavailable
]
validation_failed
One or more fields are missing or invalid
400
2025-06-10T10:15:31Z
/v1/collections/rates
errors object[]
{
"code": "validation_failed",
"message": "One or more fields are missing or invalid",
"status": 400,
"timestamp": "2025-06-10T10:15:31Z",
"path": "/v1/collections/rates",
"errors": [
{
"field": "sourceCurrency",
"message": "Source currency is required"
}
]
}
Not Found
- application/json
- Schema
- Example (auto)
Schema
Stable machine-readable code
Possible values: [validation_failed
, unauthorized
, forbidden
, not_found
, conflict
, internal_error
, operation_unavailable
]
validation_failed
One or more fields are missing or invalid
400
2025-06-10T10:15:31Z
/v1/collections/rates
errors object[]
{
"code": "validation_failed",
"message": "One or more fields are missing or invalid",
"status": 400,
"timestamp": "2025-06-10T10:15:31Z",
"path": "/v1/collections/rates",
"errors": [
{
"field": "sourceCurrency",
"message": "Source currency is required"
}
]
}
Method Not Allowed
- application/json
- Schema
- Example (auto)
Schema
Stable machine-readable code
Possible values: [validation_failed
, unauthorized
, forbidden
, not_found
, conflict
, internal_error
, operation_unavailable
]
validation_failed
One or more fields are missing or invalid
400
2025-06-10T10:15:31Z
/v1/collections/rates
errors object[]
{
"code": "validation_failed",
"message": "One or more fields are missing or invalid",
"status": 400,
"timestamp": "2025-06-10T10:15:31Z",
"path": "/v1/collections/rates",
"errors": [
{
"field": "sourceCurrency",
"message": "Source currency is required"
}
]
}
Too Many Requests
- application/json
- Schema
- Example (auto)
Schema
Stable machine-readable code
Possible values: [validation_failed
, unauthorized
, forbidden
, not_found
, conflict
, internal_error
, operation_unavailable
]
validation_failed
One or more fields are missing or invalid
400
2025-06-10T10:15:31Z
/v1/collections/rates
errors object[]
{
"code": "validation_failed",
"message": "One or more fields are missing or invalid",
"status": 400,
"timestamp": "2025-06-10T10:15:31Z",
"path": "/v1/collections/rates",
"errors": [
{
"field": "sourceCurrency",
"message": "Source currency is required"
}
]
}
Internal Server Error
- application/json
- Schema
- Example (auto)
Schema
Stable machine-readable code
Possible values: [validation_failed
, unauthorized
, forbidden
, not_found
, conflict
, internal_error
, operation_unavailable
]
validation_failed
One or more fields are missing or invalid
400
2025-06-10T10:15:31Z
/v1/collections/rates
errors object[]
{
"code": "validation_failed",
"message": "One or more fields are missing or invalid",
"status": 400,
"timestamp": "2025-06-10T10:15:31Z",
"path": "/v1/collections/rates",
"errors": [
{
"field": "sourceCurrency",
"message": "Source currency is required"
}
]
}
Authorization: http
name: Authorizationtype: httpdescription: JWT Bearer token for authenticating API requestsscheme: bearerbearerFormat: JWT
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://sandbox.api.hubpay.ae/v1/account/persons/:personId");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());