Validate Client Id
GET /v1/api/betting/{providerSlug}/validate/{clientId}
This endpoint is used to validate the client id of the betting wallet
Parameters
Field | Mandatory | Parameter Type | Data Type | Description |
---|---|---|---|---|
api-key | Yes | Header | String | The client’s API key |
secret | Yes | Header | String | The client's secret key for the environment to which the request is being made |
providerSlug | Yes | Path | String | The slug of the betting provider |
clientId | Yes | Path | String | The client id of the wallet |
Sample Request
curl --location '{BASE_URL}/v1/api/betting/{providerSlug}/validate/{clientId}' \--header 'secret: {SECRET_KEY}' \--header 'api-key: {API_KEY}'
Sample Response (200 - OK)
{
"status": "SUCCESS",
"message": "Successfully validated client ID",
"statusCode": "00",
"data": {
"username": "dbuttazzo",
"firstName": "Pelle",
"lastName": "Mattia",
"reference": "8bc7b434bad6582c6dbd08ee89cf6277"
}
}
Sample Response (404 - Not Found)
{
"status": "FAILED",
"message": "Invalid Client ID. Please verify and try again.",
"statusCode": "25"
}