Skip to main content
POST
Sign up

Authorizations

X-Channel-Id
string
header
required

Merchant storefront identifier. Provided during onboarding.

X-Session-Id
string
header
required

Diner session identifier from the Storefront API's GET /channel. Log in returns a new one.

Body

application/json
name
string
required
email
string<email>
required
mobile_number
string
required

International format.

date_of_birth
string<date>
title
string
Example:

"Ms"

Whether the diner agrees to marketing from this merchant.

use_error_code
boolean

Set to true to get EMAIL_TAKEN or MOBILE_NUMBER_TAKEN when the email or number already belongs to an account.

Response

Diner created and code sent

Who the code went to, with the email and number masked.

is_mobile_verified
boolean
last_otp_delivery_mode
enum<string>

How the code was sent. Tell the diner where to look.

Available options:
whatsapp,
email
masked_email
string
masked_mobile_number
string