---
title: "(Deprecated) Add a card to an Apple Pay wallet"
method: POST
path: "/v1/cards/{card_id}/push_provision/apple_encrypted"
tags: ["Push provisioning"]
deprecated: true
---

# (Deprecated) Add a card to an Apple Pay wallet

`POST /v1/cards/{card_id}/push_provision/apple_encrypted`

> **Deprecated.**

This endpoint is deprecated; please use `POST /v1/cards/{card_id}/sca_push_provision/apple_encrypted` instead.

## Path parameters

- `card_id` string, required

## Request body

- PayloadApiRequest
  - `certificates` string[] — An array of leaf and sub-CA certificates provided by Apple. Each object contains a DER-encoded X.509 certificate, starting with the leaf and followed by the sub-CA. You must encode this value in Base64 format before providing it to the API.
  - `nonce` string — A single-use nonce provided by Apple. You must hex-encode this value before providing it to the API.
  - `nonce_signature` string — Nonce signature provided by Apple. You must hex-encode this value before providing it to the API.

## Response `201`

Successful result of the operation.

- EncryptionResponse
  - `wallet_payload` WalletPayload
    - `activation_data` string — The request's activation data.
    - `encrypted_pass_data` string — An encrypted JSON file containing the sensitive information needed to add the card to the customer's Apple Pay wallet.
    - `ephemeral_public_key` string — The ephemeral public key used by elliptic curve cryptography (ECC).

## Other responses

- `401` — Unauthorized. Authentication is missing or invalid.
- `403` — Forbidden
- `404` — The card could not be found.
- `500` — Internal server error.

---

[API](https://skmtc.net/solarisgroup/apis/cards-tokenization.md) · [All operations](https://skmtc.net/solarisgroup/apis/cards-tokenization/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/solarisgroup/cards-tokenization/revisions/15f03804be72/schema)
