POST
/
card
/
{card_id}
/
digital_wallet_token
/
apple_pay
curl --request POST \
  --url https://api.treasuryprime.com/card/{card_id}/digital_wallet_token/apple_pay \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "card_id": "card_291u96075mva",
  "certificates": [
    "MIIEPDCCA+KgAwIBAgICEAAwCQYHKoZIzj...",
    "MIIDZjCCAw2gAwIBAgIJAJx22AGaEPSgMA..."
  ],
  "device_type": "mobile_phone",
  "nonce": "vXWJaBidcTLaJJCF",
  "nonce_signature": "jD4Aphu+93N2wbBn",
  "provisioning_app_version": "2.13.3"
}'
{
  "activation_data": "TUJQQUMtMS1GSy03NDgwNTIuMS0tVERF",
  "card_id": "card_291u96075mva",
  "encrypted_pass_data": "w9NGKYa3OkPGeQ+FmAKGga",
  "ephemeral_public_key": "BMop3NufgKwy/r0GX1muvomvw"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

card_id
string
required

The ID card being added to the wallet

Body

application/json
The apple-pay-token-request to create

The body is of type object.

Response

200 - application/json
The apple-pay-token-request created

The response is of type object.