Challenge a specific Verification Check
TODO: Resource-level docs
challenge a specific Verification Check.
Path parameters
-
The SID of the verification Service to create the resource under.
Body
-
Amount string
The amount of the associated PSD2 compliant transaction. Requires the PSD2 Service flag enabled.
-
The 4-10 character string being verified.
-
Payee string
The payee of the associated PSD2 compliant transaction. Requires the PSD2 Service flag enabled.
-
To string
The phone number or email to verify. Either this parameter or the
verification_sid
must be specified. Phone numbers must be in E.164 format. -
VerificationSid string
A SID that uniquely identifies the Verification Check. Either this parameter or the
to
phone number/email must be specified.Minimum length is
34
, maximum length is34
. Format should match the following pattern:^VE[0-9a-fA-F]{32}$
.
POST /v2/Services/{ServiceSid}/VerificationCheck
curl \
-X POST https://verify.twilio.com/v2/Services/{ServiceSid}/VerificationCheck \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'Amount=string&Code=string&Payee=string&To=string&VerificationSid=string'
Request example
{
"Amount": "string",
"Code": "string",
"Payee": "string",
"To": "string",
"VerificationSid": "string"
}
Request examples
{
"Amount": "string",
"Code": "string",
"Payee": "string",
"To": "string",
"VerificationSid": "string"
}
Response examples (201)
{
"account_sid": "string",
"amount": "string",
"channel": "sms",
"date_created": "2023-05-04T09:42:00+00:00",
"date_updated": "2023-05-04T09:42:00+00:00",
"payee": "string",
"service_sid": "string",
"sid": "string",
"status": "string",
"to": "string",
"valid": true
}
Response examples (201)
{
"account_sid": "string",
"amount": "string",
"channel": "sms",
"date_created": "2024-05-04T09:42:00+00:00",
"date_updated": "2024-05-04T09:42:00+00:00",
"payee": "string",
"service_sid": "string",
"sid": "string",
"status": "string",
"to": "string",
"valid": true
}