POST
/
subscriptions

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Sellix-Merchant
string

The name of the store to perform actions on via the API

Body

application/json
customer_id
string
required

ID of the store customer

product_id
string
required

ID of the subscription product

coupon_code
string

Coupon code for this subscription

custom_fields
object

The custom fields passed by the user at checkout. The type is map<string, string>

gateway
enum<string>

If null, the customer will be asked automatically to choose a gateway on the Sellix hosted /payment page

Available options:
PAYPAL,
STRIPE,
SKRILL,
PERFECT_MONEY,
CASH_APP,
BINANCE,
BITCOIN,
LITECOIN,
ETHEREUM,
BITCOIN_CASH,
NANO,
MONERO,
SOLANA,
RIPPLE,
BINANCE_COIN,
USDC,
USDT,
TRON,
BITCOIN_LN,
CONCORDIUM,
POLYGON,
PEPE,
DAI,
WETH,
APE,
SHIB,
USDC_NATIVE,
DOGECOIN,
PYTH,
BONK,
JUP,
JITO,
WEN,
RENDER,
MOBILE,
HNT

Response

200 - application/json
data
object
env
string
error
string
log
object
message
string
status
integer

Was this page helpful?