Skip to main content
POST
/
credentials
/
validate
Validate credentials
curl --request POST \
  --url https://api.example.com/credentials/validate \
  --header 'Authorization: <api-key>'
{
  "status": "VALID"
}
{
"status": "INVALID"
}
{
"message": "Unexpected error during processing the request."
}
{
"status": "DOWN",
"version": "1.0.0",
"description": "The service is unhealthy. Several components are down.",
"components": [
{
"id": "app-db-memory",
"name": "Application Database Memory Usage",
"type": "DATABASE",
"status": "UP"
},
{
"id": "adapter-server",
"name": "Adapter API Server",
"type": "ADAPTER",
"status": "DOWN"
},
{
"id": "service-server",
"name": "API Server",
"type": "API",
"status": "DOWN"
}
],
"time": "2022-11-01T05:12:08.131Z"
}

Authorizations

Authorization
string
header
required

Headers

merchant_id
string

Merchant's domain name will be sent by Chargebee

trace_id
string

Unique id of the request will be sent by Chargebee

Response

Authentication succeeded.

status
enum<string>
required

The status of the credentials used for authentication.

Available options:
VALID,
INVALID