Contact Details Verification
PCI Booking allows you to verify that the email address and phone number you have on file for a property are valid and reachable.
There are two common use cases for this feature:
- Validating newly submitted details — When a property submits contact details directly (for example, via a self-service portal), you can trigger a verification to confirm the details are correct before storing them.
- Periodic re-verification — Contact details can go stale without notice. By periodically re-verifying stored details, you can proactively detect outdated information and prompt the property to update their records.
How It Works
Contact Details Verification is a two-party process. You initiate it via the API; the property completes it through a hosted verification page that PCI Booking provides.
- You call Create a Verification with the property's email address and phone number.
- PCI Booking emails the property a link to a hosted verification page.
- The property opens the page, where they can see the last four digits of the phone number on file.
- The property requests a one-time passcode (OTP), which PCI Booking sends to their phone via SMS or voice call.
- The property enters the OTP on the verification page.
- The session reaches a terminal state:
Verifiedif the OTP was correct,Failedif it was not, orExpiredif the session timed out before the property acted. - If you provided a
callbackUrl, PCI Booking POSTs the result to your endpoint. You can also poll for the outcome using Get Verification Status.
Both email and phone are used
The email address is how the property receives the verification link. The phone number is what gets confirmed via OTP. To run a complete verification, provide both.
Session Lifecycle
A verification session progresses through the following statuses:
| Status | Description |
|---|---|
Pending | The session was created and the verification email has been sent. Waiting for the property to act. |
OtpSent | The property opened the verification page and requested an OTP. |
Verified | The property entered the correct OTP. The phone number is confirmed. Terminal state. |
Failed | The OTP was incorrect or the maximum number of attempts was exceeded. Terminal state. |
Expired | The session TTL elapsed before the property completed the verification. Terminal state. |
Use a callback instead of polling
We recommend supplying a
callbackUrlwhen creating a verification. PCI Booking will POST the result to your endpoint the moment the session reaches a terminal state, so you do not need to repeatedly call Get Verification Status.
API Methods
| Method | Description |
|---|---|
| Create a Verification | Initiate a new verification session and send the verification email to the property. |
| Get Verification Status | Poll the current status of a verification session. |
| Get Verification Results | Retrieve the full outcome once the session has reached a terminal state. |
| Receive Result Notification | Receive a callback POST when a session completes. |
Updated about 2 hours ago
