Skip to content

Scope of this API

This API can be used to integrate Magicline operations into third party clients like websites or apps.

Following operations are supported

  • Online contract conclusion
  • Trial session slot booking
  • Lead creation
Download OpenAPI description
Languages
Servers
Generated server url

https://connectdemo.api.magicline.com/

Mock server

https://redocly.sportalliance.com/_mock/apis/magicline/connectapi/connectapi/

Campaigns

List your marketing campaigns

Operations
Operations

TrialSessions

Allow prospects to book a trial session

Operations
Operations

Referral

Additional referral information for member creation

Operations

Image

Allow prospect to upload image

Operations

Promotions

Getting information about external promotion participation

Operations
Operations
Operations
Operations
Operations

CreditCard Tokenization

Store credit cards for new members

Operations

Payments

Payment session management

Operations

Create a user payment session for collecting payment instruments

Request

Bodyapplication/jsonrequired
rateBundleIdinteger(int64)required

The Id of the rate bundle

Example: 42
studioIdinteger(int64)required

The Id of the studio

Example: 1
curl -i -X POST \
  https://connectdemo.api.magicline.com/connect/v1/payment/user-payment-session \
  -H 'Content-Type: application/json' \
  -d '{
    "rateBundleId": 42,
    "studioId": 1
  }'

Responses

OK

Body*/*
finionPayCustomerIdstring(uuid)

Unique identifier for the pre-registered FinionPay customer

tokenstring

Session token for the payment UI

tokenValidUntilstring(date-time)

Token expiration timestamp

Operations
Operations
Operations
Operations
Operations
Operations