Skip to main content
POST
https://enterprise.spacemedia.uk
/
api
/
v1
/
subscriptions
/
subscribe
/
{package}
/
checkout
/
airwallex
Create Airwallex Subscription Checkout
curl --request POST \
  --url https://enterprise.spacemedia.uk/api/v1/subscriptions/subscribe/{package}/checkout/airwallex \
  --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,
  "payment-intent-id": "80a6bb2d-1f32-4a4d-915f-fb0f8ec43f59",
  "redirection-url": "https://checkout.example.test/80a6bb2d-1f32-4a4d-915f-fb0f8ec43f59"
}

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

package
string
required

Route identifier for package.

Body

application/json

The body is of type object.

Response

Success

The response is of type object.