# PUT /api/payment-tokenization/wallet-providers/apple-pay/certificates/api-key

Upload the App Store Connect API key.

Stores the App Store Connect API `.p8` private key in Key Vault. This key signs
the JWT used for automated certificate generation.

**Operation ID:** `PUT_api_payment-tokenization_wallet-providers_apple-pay_certificates_api-key`

## Authorization

Requires: PaymentTokenization.SettingManagement, merchant scope.

Required permissions:
- `PaymentTokenization.SettingManagement`

## Parameters

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

## Request Body

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

Schema: `WinkPGPaymentTokenizationWalletProviderRegistrationsUploadAppleStoreConnectApiKeyInput`

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

Schema: `WinkPGPaymentTokenizationWalletProviderRegistrationsUploadAppleStoreConnectApiKeyInput`

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

Schema: `WinkPGPaymentTokenizationWalletProviderRegistrationsUploadAppleStoreConnectApiKeyInput`

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