Skip to main content
GET
https://enterprise.spacemedia.uk
/
api
/
v1
/
addons
/
checkout
/
{intent}
/
status
View Add-On Checkout Status
curl --request GET \
  --url https://enterprise.spacemedia.uk/api/v1/addons/checkout/{intent}/status \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "cancel_url": "https://demo-label.example.test/billing/cancel",
  "success_url": "https://demo-label.example.test/billing/success"
}
'
{
  "success": true,
  "data": {
    "payment_intent_id": "b2abec7d-3098-43fa-9d2f-2d0ffb2b9c52",
    "status": "succeeded",
    "addon_slug": "advanced-analytics",
    "version": "1.0.0",
    "installed": true
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.spacemedia.uk/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Headers

Accept
string

Use application/json for API responses.

Authorization
string

Bearer access token. Use Bearer <YOUR_ACCESS_TOKEN>.

Path Parameters

intent
string
required

Route identifier for intent.

Body

application/json

The body is of type object.

Response

Success

The response is of type object.