Skip to main content
POST
Create session

Authorizations

Authorization
string
header
required

API key passed as a Bearer token

Body

application/json
destination
object
required
display
object
required
metadata
object

Key-value string pairs for your own use. For fiat sessions, set email to start at email OTP, or phone as an E.164 phone hint for Apple Pay.

Example:
refundAddress
string

Address to receive funds if a contract call reverts

Pattern: ^0x[0-9a-fA-F]{40}$

Response

Session created

session
object
required