Skip to main content
POST

Authorizations

Authorization
string
header
required

Enter your API key as: Bearer your-api-key

Body

application/json
customerId
string
required
priceId
string
required
storeId
string
required
currency
string
required
quantity
integer
default:1
Required range: x > 0
metadata
object
initiatePayment
boolean
default:false
billingCycleAnchor

Unix timestamp in milliseconds of the first charge, as a number or a string of digits. A value below 100000000000 is read as Unix seconds. Date strings are rejected.

trialSettings
object
defaultPaymentInstrumentId
string
paymentId
string

Response

Successful response