> ## Documentation Index
> Fetch the complete documentation index at: https://help.lobyco.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Register member at payment location - v2

> Register a member at the payment location using either their member ID, loyalty card, phone number, or check-in code. Requested by POS.



## OpenAPI

````yaml openapi/payment-v1.json POST /v2/checkin/{paymentLocation}
openapi: 3.0.4
info:
  title: PaymentCoordinator.Api
  version: v1
servers:
  - url: https://{host}/payment
    description: Your Lobyco environment
    variables:
      host:
        default: your-environment.lobyco.net
        description: >-
          The API host for your Lobyco environment. Replace it with the host you
          were given — this placeholder does not resolve.
security:
  - Bearer: []
paths:
  /v2/checkin/{paymentLocation}:
    post:
      tags:
        - Service2Service
      summary: Register member at payment location - v2
      description: >-
        Register a member at the payment location using either their member ID,
        loyalty card, phone number, or check-in code. Requested by POS.
      parameters:
        - name: paymentLocation
          in: path
          description: Unique identifier of POS in payment service
          required: true
          schema:
            maxLength: 128
            type: string
      requestBody:
        description: The check in method used
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/PaymentCoordinator.Api.Controllers.Service2Service.CheckInController.CheckInRequestV2
          text/json:
            schema:
              $ref: >-
                #/components/schemas/PaymentCoordinator.Api.Controllers.Service2Service.CheckInController.CheckInRequestV2
          application/*+json:
            schema:
              $ref: >-
                #/components/schemas/PaymentCoordinator.Api.Controllers.Service2Service.CheckInController.CheckInRequestV2
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/PaymentCoordinator.Api.CQRS.CheckIn.Dto.CheckInMemberResponse
        '404':
          description: Not Found
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/LoopFoundation.Commons.Contracts.WebServiceError
components:
  schemas:
    PaymentCoordinator.Api.Controllers.Service2Service.CheckInController.CheckInRequestV2:
      type: object
      properties:
        memberId:
          maxLength: 36
          type: string
          description: The member identifier
          nullable: true
        loyaltyCardId:
          type: string
          description: The loyalty card identifier
          nullable: true
        phone:
          type: string
          description: The member phone number
          nullable: true
        code:
          type: string
          description: THe generated check in code
          nullable: true
      additionalProperties: false
    PaymentCoordinator.Api.CQRS.CheckIn.Dto.CheckInMemberResponse:
      type: object
      properties:
        memberId:
          type: string
          description: The id of member.
          nullable: true
        paymentAmountLimit:
          type: number
          description: The daily amount limit of payment.
          format: double
        paymentMethods:
          type: array
          items:
            $ref: >-
              #/components/schemas/PaymentCoordinator.Api.CQRS.CheckIn.Dto.CheckInMemberResponse.PaymentMethod
          description: Available methods of payment.
          nullable: true
        coupons:
          type: array
          items:
            $ref: '#/components/schemas/PaymentCoordinator.Api.CQRS.Coupon'
          description: Available member coupons.
          nullable: true
        isEmployee:
          type: boolean
          description: >-
            Indicates whether the member is an employee.

            Populated only when the CheckInMember_IncludeIsEmployee feature flag
            is enabled.
          nullable: true
      additionalProperties: false
    LoopFoundation.Commons.Contracts.WebServiceError:
      required:
        - message
        - name
      type: object
      properties:
        name:
          minLength: 1
          type: string
        message:
          minLength: 1
          type: string
        details:
          nullable: true
      additionalProperties: false
    PaymentCoordinator.Api.CQRS.CheckIn.Dto.CheckInMemberResponse.PaymentMethod:
      type: object
      properties:
        id:
          type: string
          description: The payment method identifier
          nullable: true
        type:
          $ref: >-
            #/components/schemas/PaymentCoordinator.Domain.Entities.TransactionEntryType
        availableBalance:
          type: number
          description: The available balance for the respective payment method
          format: double
          nullable: true
      additionalProperties: false
    PaymentCoordinator.Api.CQRS.Coupon:
      type: object
      properties:
        couponId:
          type: string
          description: The id of coupon.
          nullable: true
        campaignId:
          type: string
          description: The id of coupon campaign.
          nullable: true
      additionalProperties: false
    PaymentCoordinator.Domain.Entities.TransactionEntryType:
      enum:
        - Bonus
        - Card
        - ExternalCard
        - LoyaltySubscription
      type: string
  securitySchemes:
    Bearer:
      type: apiKey
      description: >-
        JWT Authorization header using the Bearer scheme. Example:
        "Authorization: Bearer {token}"
      name: Authorization
      in: header

````