# PUT /api/payment-tokenization/apple-pay/domain-association-file

Upload the domain association file (admin).

Writes the file content to the
`PaymentTokenization.ApplePay.DomainAssociationFileContent` global setting.
Permission gating (`PaymentTokenizations.Update`) is enforced on the AppService
method.

**Operation ID:** `PUT_api_payment-tokenization_apple-pay_domain-association-file`

## Authorization

No permission required.

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| suppressNulls | query | no | boolean | If true, omit properties with null values. |

## Request Body

**Content type:** `application/json`

Schema: `WinkPGPaymentTokenizationWalletProviderRegistrationsSetApplePayDomainAssociationFileInput`

**Content type:** `text/json`

Schema: `WinkPGPaymentTokenizationWalletProviderRegistrationsSetApplePayDomainAssociationFileInput`

**Content type:** `application/*+json`

Schema: `WinkPGPaymentTokenizationWalletProviderRegistrationsSetApplePayDomainAssociationFileInput`

## Responses

### 200

OK

### default

The request failed. The body carries the standard error envelope: a machine-readable `error.code`, a human-readable `error.message`, and `error.validationErrors` when the failure was a validation rejection. See the error-code reference in this document's description for the values `error.code` can take.

**Content type:** `application/json`

Schema: `WinkPGHttpRemoteServiceErrorResponse`

## See also

- [All documentation](https://docs.winkpg.io/llms.txt): the machine-readable index of every public page on this site.
