API explorerChangelog

Theme switcher

Identify a client and return the list of debts to pay

Header Parameters

Api-Keystring

Body Parameters

customerIdstring Required

Card code (fitness_clients.tag), access PIN, mobile app QR / barcode or single-use mobile app PIN.

providerIdstring Required

Terminal provider identifier. Accepted and ignored.

gymIdstring Required

Club the terminal stands in: platform_organizations.uuid or the numeric branch id. Must be visible to the Api-Key.

Response

200
Object

Identified client and the list of debts.

Response Attributes

customerUidstring Required

Opaque client identifier (the LuckyFit client id as a string). Must be echoed back in paymentData.

customerCodestring

Printed card number (cardnum), falling back to tag.

namestring Required

Surname, first name and patronymic.

DOBstring | null

Date of birth, YYYY-MM-DDT00:00:00.

taxNumberstring

Tax number (idcode).

payerPhonestring

Phone number (phone1).

passportDatastring

Passport as a single display string.

passportDetailsobject

Show child attributes

invoiceDataarray Required

Show child attributes

401
Object

Terminal protocol variant of 401: the Api-Key is missing or invalid.

Response Attributes

resultstring Required

Error code.

Enum values:
userNotIdentifiedgymNotFoundcustomerNotFoundinvoiceNotFoundbadRequestpaymentFailedinternalError
descriptionstring

Human readable error description.

403
Object

Terminal protocol variant of a business error (unknown gym, client, invoice, or a payment that could not be registered).

Response Attributes

resultstring Required

Error code.

Enum values:
userNotIdentifiedgymNotFoundcustomerNotFoundinvoiceNotFoundbadRequestpaymentFailedinternalError
descriptionstring

Human readable error description.

Was this section helpful?

POST

/

Select
1

Response

Was this section helpful?
View as Markdown

Ask an AI

Open in ChatGPTOpen in ClaudeOpen in Perplexity

Code with AI

Open in Copilot