Check verification
check_verificationCheck a verification code submitted by a user, by the phone or email it went to. Returns {verified, status, channel, charged}. Billed only when verified is true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The code last sent | |
| No | The address the code was emailed to. After a fallback, check by `email`: the code proves the address, not the phone, and a check by `phone` answers 409 `invalid_state`. | ||
| phone | No | The number the code was texted to. Send this or `email`. |