Skip to main content
POST
Create a payment link

Authorizations

Authorization
string
header
required

An access token (sat_...) from POST /token.

Path Parameters

id
string
required

The sessionId from POST /bookings/session.

Body

application/json
callbackUrl
string<uri>

HTTPS URL to return the user to after paying.

Response

The payment link.

test
boolean
paymentId
string
url
string<uri>
amount
number
currency
string
expiresAt
string<date-time>