> ## 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.

# Get payment location details

> Get payment location details based on id.



## OpenAPI

````yaml openapi/payment-v1.json GET /v1/payment-locations/{paymentLocationId}
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:
  /v1/payment-locations/{paymentLocationId}:
    get:
      tags:
        - Service2Service
      summary: Get payment location details
      description: Get payment location details based on id.
      parameters:
        - name: paymentLocationId
          in: path
          description: The payment location identifier
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/PaymentCoordinator.Api.Controllers.Service2Service.PaymentLocationController.GetPaymentLocationResponse
        '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.PaymentLocationController.GetPaymentLocationResponse:
      required:
        - createdAt
        - id
        - qrCodes
        - state
        - storeId
        - type
      type: object
      properties:
        id:
          minLength: 1
          type: string
          description: The payment location identifier
        storeId:
          minLength: 1
          type: string
          description: The store identifier
        createdAt:
          type: string
          description: Indicates when the payment location was created
          format: date-time
        state:
          $ref: >-
            #/components/schemas/PaymentCoordinator.Domain.Entities.PaymentLocationState
        type:
          $ref: >-
            #/components/schemas/PaymentCoordinator.Domain.Entities.PaymentLocationType
        qrCodes:
          type: array
          items:
            $ref: >-
              #/components/schemas/PaymentCoordinator.Api.Controllers.Service2Service.PaymentLocationController.GetPaymentLocationResponse.GetPaymentLocationQrCodesResponse
          description: The collection of qr codes assigned to the current payment location
      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.Domain.Entities.PaymentLocationState:
      enum:
        - NotCheckedIn
        - WaitingPosRegistration
        - WaitingAmount
        - WaitingMemberConfirmation
      type: string
    PaymentCoordinator.Domain.Entities.PaymentLocationType:
      enum:
        - Cashier
        - SelfCheckout
      type: string
    PaymentCoordinator.Api.Controllers.Service2Service.PaymentLocationController.GetPaymentLocationResponse.GetPaymentLocationQrCodesResponse:
      required:
        - creationDate
        - qrCode
      type: object
      properties:
        qrCode:
          minLength: 1
          type: string
          description: The qr code assigned to the payment location
        creationDate:
          type: string
          description: Indicates when the qr code was created
          format: date-time
      additionalProperties: false
  securitySchemes:
    Bearer:
      type: apiKey
      description: >-
        JWT Authorization header using the Bearer scheme. Example:
        "Authorization: Bearer {token}"
      name: Authorization
      in: header

````