Skip to main content
POST
Create Card Present Session

Authorizations

Authorization
string
header
required

An Account API key, an App API key, an account access token, an account-scoped user token, or a user OAuth token. Prepend the key or token with Bearer, for example Bearer ***************************. See Auth & API keys for how to get each one.

Headers

Idempotency-Key
string

A unique key that makes this request safe to retry. See Idempotent requests.

Maximum string length: 255
Example:

"d9105228-4a08-46b1-8b91-42fed586d383"

Api-Version-Date
string

Pins the request to a dated API version.

Example:

"2026-12-01"

Body

application/json
account_id
string
required

The account (biz_) the device collects for. The caller must hold payment:charge on it.

Example:

"biz_xxxxxxxxxxxxxx"

platform
enum<string>
required

The platform the reader runs on. Tap to Pay is offered in different countries on each platform, so Whop checks the account against the named one.

Available options:
ios,
android
Example:

"ios"

Response

card present connection token for Android

A short-lived provider grant for collecting one payment method type.

object
enum<string>
required
Available options:
payment_method_type_session
Example:

"payment_method_type_session"

session
Reader · object
required

The credentials a reader connects with.

type
enum<string>
required
Available options:
card_present
Example:

"card_present"