Customer
Get customer documents by customer id
Home
Token
Merchant API
Customer
- 2FA
- AccessControl
- Active Session
- Credentials
- Customer
- POSTCreate a list of customers
- POSTAdd secret question
- POSTCreate customer address
- POSTCreate customer documents
- POSTCreate customer
- POSTGet all customers by tenant id
- GETGet customer details by customer id
- POSTGet customer details by email
- GETGet customer documents by customer id
- POSTGet customers by customer status
- POSTGet customers by customer type
- POSTGet customers by organization id
- GETGet customers document by purpose
- GETGet organization get customers
- GETGet SEPA id by customerId
- GETGet SEPA id by customerId and communicationChannel
- POSTPost update kycConfirmation
- POSTPost update pepCheckStatus
- POSTPost update revisions
- POSTUpdate customer status
- PUTUpdate customer
- POST
- Organization
- Profile Picture
Open Banking API
- Introduction
- POSTToken
- Account
- TPP
Customer
Get customer documents by customer id
GET
/
getDocuments
/
{customerId}
curl --request GET \
--url https://gateway.cyrexa.com/customer/1.0.0/getDocuments/{customerId} \
--header 'Authorization: Bearer <token>' \
--header 'tenantId: <tenantid>' \
--header 'token: <token>'
{
"tenantId": "<string>",
"documents": [
{
"purpose": "KYB",
"name": "<string>",
"documentType": "ID front side",
"location": "<string>",
"verificationResponse": "<string>",
"status": "underverification",
"metadata": [
{
"name": "<string>",
"type": "Number",
"value": "<string>"
}
]
}
]
}
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Customer Id
Response
200
application/json
Get customer document by purpose response
Available options:
KYB
, KYC
, PEP&SANCTION
Available options:
ID front side
, ID back side
, Passport
, accountAuthority
, shareholderStructure
, operationAddress
, registeredAddress
, selfie
, livelinessDetection
Available options:
underverification
, verified
, declined
, incomplete
, expired
curl --request GET \
--url https://gateway.cyrexa.com/customer/1.0.0/getDocuments/{customerId} \
--header 'Authorization: Bearer <token>' \
--header 'tenantId: <tenantid>' \
--header 'token: <token>'
{
"tenantId": "<string>",
"documents": [
{
"purpose": "KYB",
"name": "<string>",
"documentType": "ID front side",
"location": "<string>",
"verificationResponse": "<string>",
"status": "underverification",
"metadata": [
{
"name": "<string>",
"type": "Number",
"value": "<string>"
}
]
}
]
}