POST
/
addCredentials
curl --request POST \
  --url https://gateway.finhub.cloud/customer/addCredentials \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'tenantId: <tenantid>' \
  --data '{
  "customerId": "<string>",
  "credentials": [
    {
      "credentialType": "email",
      "value": "<string>",
      "code": "<string>",
      "communicationChannel": {
        "name": "<string>",
        "type": "phone",
        "addressUrl": "<string>"
      }
    }
  ]
}'
{
  "id": "<string>",
  "message": "<string>",
  "code": 123
}

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

tenantId
string
required

Tenant/Owner id

Body

application/json
customerId
string
credentials
object[]

Response

200 - application/json
id
string
message
string
code
integer