Parameters
string
required
The price point identifier.
string
required
The customer’s external ID (your user ID).
string
Customer’s email address.
string
Organization ID, if not configured globally. Not needed if you already
called
configure().string
ISO country code of the customer.
object
Custom metadata attached to the order.
object
Per-call API settings:
baseUrl and region. These override the values
from configure().Returns
APromise resolving to { clientToken, orderId, type }:
clientToken: The token to use with Primer’s Headless Checkout.orderId: The order identifier in FunnelFox Payments.type: Always'session_created'.
