Skip to main content
POST
/
{shopId}
/
subscriptions
Create subscription Copy
curl --request POST \
  --url http://staging.qshop.ng/apiv2/{shopId}/subscriptions/ \
  --header 'Content-Type: application/json' \
  --data '
{
  "currency": "USD",
  "description": "We are adding this for free because, why not?",
  "plan": "62f4fe1ccef5cde11f8f9913",
  "platform": "stripe",
  "recurring": false,
  "returnUrl": "https://localhost:8000/admin/shop/"
}
'

Body

application/json
currency
string
Example:

"USD"

description
string
Example:

"We are adding this for free because, why not?"

plan
string
Example:

"62f4fe1ccef5cde11f8f9913"

platform
string
Example:

"stripe"

recurring
boolean
Example:

false

returnUrl
string
Example:

"https://localhost:8000/admin/shop/"

Response

200 - undefined