Home
Token
Merchant API
Customer
- 2FA
- AccessControl
- Active Session
- Credentials
- Customer
- Organization
- Profile Picture
Open Banking API
- Introduction
- POSTToken
- Account
- TPP
Credentials
Post get credentials
POST
/
getCredentials
curl --request POST \
--url https://gateway.cyrexa.com/customer/1.0.0/getCredentials \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'tenantId: <tenantid>' \
--data '{
"credential": {
"credentialType": "email",
"value": "<string>",
"code": "<string>",
"communicationChannel": {
"name": "<string>",
"type": "phone",
"addressUrl": "<string>"
}
}
}'
[
{
"userId": "<string>",
"customerId": "<string>",
"personId": "<string>",
"tenantId": "<string>",
"organizationId": "<string>",
"credentials": [
{
"sessionId": "<string>",
"value": "<string>",
"token": "<string>"
}
],
"twoFaInfo": [
{
"id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"tenantId": "<string>",
"login": true,
"trading": true,
"funding": true,
"userId": "<string>"
}
]
}
]
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Headers
Tenant/Owner id
Body
application/json
Available options:
email
, intenal_user_id
, single_token
, one_time_password
, username
, passport
, person_id_card
, personal_identification_number
, biometrics
, secret_question
, sms
Response
200
application/json
Get credentials response
curl --request POST \
--url https://gateway.cyrexa.com/customer/1.0.0/getCredentials \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'tenantId: <tenantid>' \
--data '{
"credential": {
"credentialType": "email",
"value": "<string>",
"code": "<string>",
"communicationChannel": {
"name": "<string>",
"type": "phone",
"addressUrl": "<string>"
}
}
}'
[
{
"userId": "<string>",
"customerId": "<string>",
"personId": "<string>",
"tenantId": "<string>",
"organizationId": "<string>",
"credentials": [
{
"sessionId": "<string>",
"value": "<string>",
"token": "<string>"
}
],
"twoFaInfo": [
{
"id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"tenantId": "<string>",
"login": true,
"trading": true,
"funding": true,
"userId": "<string>"
}
]
}
]