auth.checkPaidAuth
Checks the status of a login payment.
Checks the status of a [login payment](https://core.telegram.org/api/auth.md#paid-auth).
| Name | Type | Required | Description |
|---|---|---|---|
phone_number | string | Yes | Phone number |
phone_code_hash | string | Yes | The phone code hash obtained from [auth.sendCode](https://core.telegram.org/method/auth.sendCode.md) |
form_id | long | Yes | The payment form ID passed to [payments.sendPaymentForm](https://core.telegram.org/method/payments.sendPaymentForm.md). |
Responses
auth.SentCode
MTProto RPC
- 400 · PHONE_NUMBER_INVALID — The phone number is invalid.