Appointment, bookable appointment and slots operations
PerfectGym Next API (1.20.0)
- Appointment, bookable appointment and slots operations
- Redeem checkin vouchers
- Class and slots operations
- Cross studio operations
- Get customers and contracts
- Retrieve customer accounting details
- Retrieve customer communication details
- Retrieve customer transaction details
- Get device information
- Employee operations
- Debt collection operations
- Leads operations
- Get member lists
- Manage membership contracts
- Membership operations
- Online offer operations
- Payment operations
- Get studio information
- Get trial offers information
https://open-api-demo.open-api.perfectgym.com/
https://redocly.sportalliance.com/_mock/apis/perfectgym/openapi/openapi/
- Demo tenant
https://open-api-demo.open-api.perfectgym.com/v1/customers/{customerId}/transactions
- Mock server
https://redocly.sportalliance.com/_mock/apis/perfectgym/openapi/openapi/v1/customers/{customerId}/transactions
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://open-api-demo.open-api.perfectgym.com/v1/customers/{customerId}/transactions?startDate=2019-08-24&endDate=2019-08-24&sliceSize=10&offset=0' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'OK
List of booking entries
Whether or not the booking was transferred into an installment plan
Represents the classification of the charge
| Enum Value | Description |
|---|---|
| IDLE_PERIOD_CHARGE | Charge for a freeze period |
| CREDIT | Credit from a freeze period |
| STARTER_PACKAGE | Initial package or starter kit charge |
| FLAT_FEE | One-time or recurring flat fee for additional services or products |
| CHARGED_BACK_FEE | Fee for chargeback processing |
| DEBT_CLAIM_REDUCTION | Reduction of an existing debt claim |
| DAMAGE_COMPENSATION | Compensation for damages or losses |
| CANCELATION_FEE | Fee for canceling a service or contract |
| MODULE_FEE | One-time or recurring module fee for additional services or products |
| SALES_DIRECT_DEBIT | Sale transaction via direct debit payment |
Start date of the service period (if applicable)
End date of the service period (if applicable)
Total amount of the booking entry after price adjustments, including taxes
Original amount before any price adjustments (e.g. discounts) were applied
List of price adjustments applied to the booking entry
Payment transaction associated with the booking entry, if a payment has been made
ID of the main contract associated with the booking entry, if the booking is linked to any contract
{ "result": [ { … } ], "hasNext": true, "offset": "1234567890" }
- Demo tenant
https://open-api-demo.open-api.perfectgym.com/v1/customers/{customerId}/transactions/{contractId}/preview
- Mock server
https://redocly.sportalliance.com/_mock/apis/perfectgym/openapi/openapi/v1/customers/{customerId}/transactions/{contractId}/preview
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://open-api-demo.open-api.perfectgym.com/v1/customers/{customerId}/transactions/{contractId}/preview' \
-H 'X-API-KEY: YOUR_API_KEY_HERE'{ "contractId": 12345, "customerAccountBalance": { "amount": 20, "currency": "EUR" }, "items": [ { … } ] }