v1

latestOpenAPI 3.0.02026-08-0631139237.5 KB
Apple Pay Certificate

Update Certificate

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.

post/apple-pay/certificates/{id}

Path parameters

idstring required
Example:a6ea0c67-d061-4f7c-9e3b-4a96a6e1e8b1

The unique identifier of the certificate.

Request body

activeboolean required

Set to true to enable or false to disable the certificate.

Example request

{
  "active": true
}

Response

A certificate object

idstring required

Unique identifier of the certificate.

accountIdstring required

The account ID this certificate belongs to.

csrstring

The Certificate Signing Request in base64 format. Only present before activation. Use this to create a certificate in Apple Developer Portal.

certstring

The certificate body in base64 format. Only present after activation.

activeboolean required

Whether the certificate is active for payment processing.

expireAtstring date-time

The certificate expiration date in ISO 8601 format. Only present after activation.

createdAtstring date-time required

The certificate creation date in ISO 8601 format.

Example response

{
  "id": "a6ea0c67-d061-4f7c-9e3b-4a96a6e1e8b1",
  "accountId": "acct_12345",
  "csr": "MIIBEjCBuQIBADBOMRMwE...",
  "cert": "MIIEpDCCA4ygAwIBAgIIU...",
  "active": true,
  "expireAt": "2026-01-15T12:00:00.000Z",
  "createdAt": "2024-01-15T12:00:00.000Z"
}