Skip to main content

Validate Client Id

GET /v1/api/betting/{providerSlug}/validate/{clientId}

This endpoint is used to validate the client id of the betting wallet

Parameters

FieldMandatoryParameter TypeData TypeDescription
api-keyYesHeaderStringThe client’s API key
secretYesHeaderStringThe client's secret key for the environment to which the request is being made
providerSlugYesPathStringThe slug of the betting provider
clientIdYesPathStringThe 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"
}