---
title: "Provision with Apple Pay"
method: POST
path: "/card/{card_id}/digital_wallet_token/apple_pay"
tags: ["Digital Wallet Tokens"]
---

# Provision with Apple Pay

`POST /card/{card_id}/digital_wallet_token/apple_pay`

## Request

- Base URL: `https://api.treasuryprime.com`
- URL: `https://api.treasuryprime.com/card/{card_id}/digital_wallet_token/apple_pay`
- Auth: one of:
  - HTTP basic
  - HTTP bearer
- TypeScript: <https://skmtc.dev/treasuryprime/apis/account/docs/card/:card_id/digital_wallet_token/apple_pay/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `card_id` string, required: The ID card being added to the wallet

## Request body

- object
  - `card_id` string, required: The ID card being added to the wallet
  - `certificates` string[], required: Leaf and sub-CA certificates provided by Apple
  - `device_type` string, required: One of `mobile_phone`, `watch`, or `tablet`
  - `nonce` string, required: One-time-use nonce provided by Apple for security purposes
  - `nonce_signature` string, required: Apple-provided signature to the nonce
  - `provisioning_app_version` string, required: Version of the application making the provisioning request

## Response `200`

The apple-pay-token-request created

- object
  - `card_id` string: The ID card being added to the wallet
  - `certificates` string[]: Leaf and sub-CA certificates provided by Apple
  - `device_type` string: One of `mobile_phone`, `watch`, or `tablet`
  - `nonce` string: One-time-use nonce provided by Apple for security purposes
  - `nonce_signature` string: Apple-provided signature to the nonce
  - `provisioning_app_version` string: Version of the application making the provisioning request

---

[API](https://skmtc.dev/treasuryprime/apis/account.md) - [All operations](https://skmtc.dev/treasuryprime/apis/account/llms.txt) - [OpenAPI document](https://skmtc.dev/treasuryprime/apis/account/revisions/95a3c69c14e8?raw)
