---
title: "Update Certificate"
method: POST
path: "/apple-pay/certificates/{id}"
tags: ["Apple Pay Certificate"]
---

# Update Certificate

`POST /apple-pay/certificates/{id}`

Updates an Apple Pay certificate's active status.

Use this endpoint to enable or disable a certificate. Disabling a certificate
prevents it from being used for payment token decryption while keeping it available
for future use.

## Path parameters

- `id` string, required

## Request body

- UpdateApplePayCertificateRequest
  - `active` boolean, required — Set to true to enable or false to disable the certificate.

## Response `200`

A certificate object

- ApplePayCertificate — An Apple Pay certificate for iOS app integration.
  - `id` string, required — Unique identifier of the certificate.
  - `accountId` string, required — The account ID this certificate belongs to.
  - `csr` string — The Certificate Signing Request in base64 format. Only present before activation. Use this to create a certificate in Apple Developer Portal.
  - `cert` string — The certificate body in base64 format. Only present after activation.
  - `active` boolean, required — Whether the certificate is active for payment processing.
  - `expireAt` string, date-time — The certificate expiration date in ISO 8601 format. Only present after activation.
  - `createdAt` string, date-time, required — The certificate creation date in ISO 8601 format.

## Other responses

- `400` — The request is incorrect or could not be processed
- `401` — Unauthorized error. Please check your auth credentials
- `404` — The specified resource was not found
- `422` — The request was well-formed but could not be processed due to semantic errors
- `500` — Unexpected server error
- `503` — The service is temporarily unavailable

---

[API](https://skmtc.net/monei/apis/monei-api-v1.md) · [All operations](https://skmtc.net/monei/apis/monei-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/monei/monei-api-v1/versions/23554d4fb9e5/schema)
