# Activate Certificate

```
POST 
/apple-pay/certificates/:id/activate
```

Activates an Apple Pay certificate by uploading the signed certificate from Apple.

After creating a certificate in the Apple Developer Portal using your CSR, download the signed certificate and upload it here to activate payment processing.

## Activation process[​](#activation-process "Direct link to Activation process")

1. Ensure you have downloaded the signed certificate (`.cer` file) from Apple Developer Portal.

2. Convert the certificate to base64:

   ```
   base64 -i apple_pay.cer
   ```

3. Call this endpoint with the base64-encoded certificate in the `cert` field.

## Validation[​](#validation "Direct link to Validation")

The certificate is validated to ensure:

* It matches the private key generated when creating the CSR
* It has a valid expiration date

Once activated, the certificate becomes available for decrypting Apple Pay payment tokens in your iOS app.

## Notes[​](#notes "Direct link to Notes")

* A certificate can only be activated once.
* After successful activation, the CSR is no longer returned in responses.
* The certificate's expiration date is returned in the `expireAt` field once activated.

## Request[​](#request "Direct link to request")

## Responses[​](#responses "Direct link to Responses")

* 200
* 400
* 401
* 404
* 422
* 500
* 503

A certificate object

The request is incorrect or could not be processed

Unauthorized error. Please check your auth credentials

The specified resource was not found

The request was well-formed but could not be processed due to semantic errors

Unexpected server error

The service is temporarily unavailable
