verify_otp
Verify a customer's OTP code by phone number and 6-digit code, returning whether it is valid.
Instructions
Check an OTP code the customer received. Returns whether the code is valid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| phone | Yes | Phone number in international format without + (e.g. 6281234567890) — the number the OTP was sent to | |
| otp_code | Yes | The 6 digit code the customer entered |