Skip to main content
POST
Send a phone code
Sends the user the one-time code that funding needs.

Authorizations

Authorization
string
header
required

A platform access token. Get one on the Create an access token endpoint by exchanging your client_id + client_secret, then send it as Authorization: Bearer <token>. Tokens live one hour.

Body

application/json
user_id
string
required

The connected user.

phone_number
string

The user's phone in E.164, when none is on file.

Response

Where the code went.

object
enum<string>
required

Always phone_verification.

Available options:
phone_verification
status
string
required

sent, already_verified or verified.

channel
string

How the code was sent.

phone
string

The number, masked.

expires_in_seconds
integer

How long the code works.