Create Subscription
Changed onCreate a new subscription with items, coupons, and payment methods.
Important: For most use cases, use the Checkout/Payment Link API (/v2/payment_links) instead. It generates a payment link that you can embed in your own web page or redirect to.
Use Cases:
- Create a subscription and manually marking it as paid for reference
- Automated subscription creation
Request
- Base URLhttps://stream-app-service.streampay.sa
- Auth
- HTTP bearer
- or API key in header x-api-key
Request body
Response
Successful Response
Changes
- info
request property
deprecated
- info
- warning
removed the optional property
///from the response with the status - warning
removed the optional property
/from the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
the response optional property
//became read-only for the status
- warning