VerifyVerify V2 Verification Check

Create Verification Check

POST
/v2/Services/{ServiceSid}/VerificationCheck

challenge a specific Verification Check.

Authorization

accountSid_authToken
AuthorizationBasic <token>

In: header

Path Parameters

ServiceSid*string

The SID of the verification Service to create the resource under.

Match^VA[0-9a-fA-F]{32}$
Length34 <= length <= 34

Request Body

application/x-www-form-urlencoded

Code?string

The 4-10 character string being verified.

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.

Match^VE[0-9a-fA-F]{32}$
Length34 <= length <= 34
Amount?string

The amount of the associated PSD2 compliant transaction. Requires the PSD2 Service flag enabled.

Payee?string

The payee of the associated PSD2 compliant transaction. Requires the PSD2 Service flag enabled.

SnaClientToken?string

A sna client token received in sna url invocation response needs to be passed in Verification Check request and should match to get successful response.

Response Body

application/json

application/json

curl -X POST "https://example.com/v2/Services/stringstringstringstringstringstri/VerificationCheck" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d 'To=%2B15017122661&VerificationSid=VEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&Code=1234&Amount=%E2%82%AC39.99&Payee=Acme+Inc.'
{  "sid": "VEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",  "service_sid": "VAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",  "account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",  "to": "+15017122661",  "channel": "sms",  "status": "approved",  "valid": true,  "amount": null,  "payee": null,  "sna_attempts_error_codes": [],  "date_created": "2015-07-30T20:00:00Z",  "date_updated": "2015-07-30T20:00:00Z"}