# Type of credit card

Use this method to determine the type of credit card (Visa, Mastercard, etc.).

## Example

Call the `ChargeOver.CreditCard.type(...)` method to determine the type of credit card provided.

```javascript
var my_data = {
	number: '4111 1111 1111 1111'
};

function my_callback_function(code, message, response)
{
	alert('Credit card type: ' + response);
}

ChargeOver.CreditCard.type(my_data, my_callback_function);
```
