Check an OTP code
sendkuy_check_verificationValidates a user-entered OTP or verification code against a SendKuy verification ID, returning approved when correct and consuming a check when invalid.
Instructions
Check the code a user typed against a verification from sendkuy_send_verification. status approved means the code was right. A wrong code answers verification_code_invalid and uses up one of checks_remaining.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The verification id, vrf_... | |
| code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| verification | Yes |