# ApplePayCertificate

An Apple Pay certificate for iOS app integration.

**id**stringrequired

Unique identifier of the certificate.

**Example:<!-- -->&#x20;**`a6ea0c67-d061-4f7c-9e3b-4a96a6e1e8b1`

**accountId**stringrequired

The account ID this certificate belongs to.

**Example:<!-- -->&#x20;**`acct_12345`

**csr**string

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

**Example:<!-- -->&#x20;**`MIIBEjCBuQIBADBOMRMwE...`

**cert**string

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

**Example:<!-- -->&#x20;**`MIIEpDCCA4ygAwIBAgIIU...`

**active**booleanrequired

Whether the certificate is active for payment processing.

**Example:<!-- -->&#x20;**`true`

**expireAt**date-time

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

**Example:<!-- -->&#x20;**`2026-01-15T12:00:00.000Z`

**createdAt**date-timerequired

The certificate creation date in ISO 8601 format.

**Example:<!-- -->&#x20;**`2024-01-15T12:00:00.000Z`

ApplePayCertificate

```
{

  "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"

}
```
