Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Staff session or API token issued by your Voyant app.

Body

application/json
id
string
required
Example:

"psess_01HZX..."

status
enum<string>
required
Available options:
open,
requires_redirect,
completed,
failed,
cancelled,
expired
Example:

"open"

amountCents
integer
required
Example:

119000

currency
string
required
Required string length: 3
Example:

"EUR"

bookingId
string | null
invoiceId
string | null
provider
string | null
Example:

"netopia"

redirectUrl
string | null
payerEmail
string | null
payerName
string | null
createdAt
string<date-time>

Response

Created payment session

data
object