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

# Get association file

> Serve the Apple-issued domain-association file for this instance. This endpoint is public and unauthenticated: Apple fetches it while verifying a registered domain. Host it from every domain that presents the Apple Pay button. The same file is also served without the `.txt` extension, at `/.well-known/apple-developer-merchantid-domain-association`.

If no domain-association content is configured yet, the request returns `400` with the classifier `APPLE_PAY_NOT_CONFIGURED`.




## OpenAPI

````yaml /products/guardian/openapi.yaml get /.well-known/apple-developer-merchantid-domain-association.txt
openapi: 3.1.0
info:
  title: Guardian API
  version: '1.0'
  contact:
    name: Starfish GmbH & Co. KG
    email: hello@starfish.team
    url: https://hellgate.io/cpa/guardian
  license:
    name: Hellgate API Terms
    url: https://hellgate.io/terms-and-conditions
servers:
  - url: https://{cluster_id}.on-hellgate.cloud
    description: Guardian service instance
    variables:
      cluster_id:
        default: my-cluster-id
        description: |
          Guardian is a service of the Hellgate Cloud Platform.
          The unique cluster-id is used to connect to your instance.
security: []
tags:
  - name: pci
    description: Management of card payment credentials under the ruling of PCI DSS.
  - name: network
    description: Management of network tokens and cryptograms for secure transactions.
  - name: generic
    description: Management of generic tokens and their schemas for various use cases.
  - name: metadata
    description: Inquiries for card metadata based on PAN, PCI tokens, or network tokens.
  - name: wallet
    description: >-
      Management of wallet tokens ingested from device wallets such as Google
      Pay.
  - name: apikey
    description: Management of API keys for service access.
  - name: webhook
    description: Management of webhooks for event notifications.
  - name: types
    description: Management of types for generic token schemas.
paths:
  /.well-known/apple-developer-merchantid-domain-association.txt:
    get:
      tags:
        - wallet
      summary: Get association file
      description: >
        Serve the Apple-issued domain-association file for this instance. This
        endpoint is public and unauthenticated: Apple fetches it while verifying
        a registered domain. Host it from every domain that presents the Apple
        Pay button. The same file is also served without the `.txt` extension,
        at `/.well-known/apple-developer-merchantid-domain-association`.


        If no domain-association content is configured yet, the request returns
        `400` with the classifier `APPLE_PAY_NOT_CONFIGURED`.
      operationId: wallet_apple_pay_domain_association
      responses:
        '200':
          description: The domain-association file.
          content:
            text/plain:
              schema:
                type: string
        '400':
          $ref: '#/components/responses/400_BadRequestError'
components:
  responses:
    400_BadRequestError:
      description: Error response
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorGeneric'
          example:
            code: 400
            message: The request could not be handle due to invalid data
            classifier: BAD_REQUEST
  schemas:
    ErrorGeneric:
      type: object
      properties:
        code:
          $ref: '#/components/schemas/ErrorStatusCode'
        classifier:
          $ref: '#/components/schemas/ErrorClassifier'
        message:
          $ref: '#/components/schemas/ErrorMessage'
    ErrorStatusCode:
      type: integer
      description: The corresponding HTTP status code for the error
    ErrorClassifier:
      type: string
      description: Technical code that helps to identify the error
    ErrorMessage:
      type: string
      description: Human readable representation of the error

````