Credit Card Validation
This API validate credit card details.
Request (POST)
/gateway/financials/:brand_id/:version/deposit/validation/:method_id
{
"cc_number": "4111111111111111"
}Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| version | path | string | true | The API version to use. |
| brand_id | path | string | true | The ID of the casino. |
| method_id | path | string | true | ID of method to validate the credit card in front of. |
| cc_number | body | string | true | credit card number to validate, only numbers. |
| x-auth-token | header | string | true | Player login session. |
Response
Status 200
{
"status": "Success",
"message": "CC_VALID"
}400 Response
{
"status": "Failure",
"message": "BAD_REQUEST"
}{
"status": "Failure",
"message": "CC_EMPTY"
}401 Response
{
"errMsg": "invalid input - invalid token"
}Status 422
{
"status": "Failure",
"message": "CC_INVALID"
}Status 500
{
"status": "Error",
"message": "INTERNAL_SERVER_ERROR"
}