Create a session
Create a session token to initialize a connection
404, see
Capability
enablement.Authorizations
Body
The customer's phone number in E.164 format. If both email and phone are provided, enables phone OTP authentication for returning customers. Send only a number you have verified belongs to the customer: when a signed-in customer with no verified phone number authorizes, MoonPay saves it as their verified phone number and the phoneNumber KYC requirement is cleared. If it can't be saved (for example, it is already verified for another customer), authorization still succeeds and phoneNumber stays outstanding.
^\+[1-9]\d{1,14}$"+14155551234"
An ISO 8601 timestamp of when the customer accepted MoonPay's Terms of Use. Send this when you capture Terms of Use acceptance in your own UI. The value can be at most 60 seconds ahead of server time, with no past limit. MoonPay records the terms version live at this timestamp and binds the acceptance to the customer when the session is authorized. Only send this field if you use the Customer API or Guest Checkout; otherwise the request fails with a 503 service_unavailable error.
"2026-05-28T14:21:00.000Z"
Customer's date of birth as an ISO 8601 timestamp. Optional. Send this for Guest Checkout when the customer is in the EEA so it can be stored on the customer record after authorize. Must represent an age between 18 and 100 years. Omitting it does not block session creation.
"1990-05-15T00:00:00.000Z"
Response
The request has succeeded.