# MicroSMS SMS

{% hint style="danger" %}
MicroSMS class is deprecated since MicroSMS does not exist anymore. It will be removed in future release.
{% endhint %}

Base:

```php
$microsms = $payments->sms(new MicrosmsSms('userId as int', 'serviceId as int'));
```

Check SMS code:

```php
$microsms->check('smsCode', 'number as int');
```
