Skip to main content
POST
Creates a session and returns it. Send the payer to https://pay.talescria.com/pay/s/{id}. See Hosted checkout. Requires the checkout:write scope. The payment lands in your default account for the currency.
object
required
string
required
ISO 3166-1 alpha-2 code for where the payment is taken, for example US.
string[]
Payment methods to offer. Use ["card"]. Leave it out for every method available to your account.
integer
How long the session stays open, in milliseconds. Default 1800000 (30 minutes).

Response

object
The session. See Retrieve a checkout session for its fields.

Errors