Skip to main content
POST
Confirm a contact code

Authorizations

x-api-key
string
header
required

Your ps_ API key

Path Parameters

channel
enum<string>
required

The contact channel, lowercase: whatsapp or email. It must be in verification.contact.requiredChannels (there in upper case). Anything else → 400 INVALID_CONTACT_CHANNEL.

Available options:
whatsapp,
email

Body

application/json
code
string
required

The 6-digit code received on that channel.

Example:

"482913"

Response

Code confirmed; the verification state (with the decision when it was the last code)

status
enum<string>

NONE (never started), PENDING_CONTACT (waiting for the contact codes and, if document.status says so, a better document), IN_REVIEW (finished, waiting for a person — purchase allowed), APPROVED (verified — purchase allowed), NEEDS_DOCUMENT (the reviewer asked for another document) or REJECTED (final — talk to support). The phone_line.verification_updated webhook uses the same values for the last four.

Available options:
NONE,
PENDING_CONTACT,
IN_REVIEW,
APPROVED,
NEEDS_DOCUMENT,
REJECTED
canPurchase
boolean

Whether POST /v1/phone-lines is allowed now: true for APPROVED and IN_REVIEW.

verification
object | null

null for NONE.