CorebanqCorebanq Developer Docs
Usersv1Credentials

Validate credential

Validate credential with OTP

POST/v1/users/credentials/validate

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v1/users/credentials/validate" \  -H "Content-Type: application/json" \  -d '{    "credential_id": "13c40afa-2996-4a0c-b2e9-68fba9462242",    "otp": "string"  }'
Empty
{
  "code": "users_m.invalid_user_input",
  "message": "Invalid user input data"
}