POST
/
v1
/
cards
/
{cardId}
/
provision
/
apple
JavaScript
import Chron from '@chron/sdk';

const client = new Chron({
  apiKey: 'My API Key',
});

const response = await client.cards.provision.apple('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', {
  clientDeviceID: 'clientDeviceID',
  clientWalletAccountID: 'clientWalletAccountID',
  clientWalletProvider: 'clientWalletProvider',
});

console.log(response.activationData);
{
  "primaryAccountNumberPrefix": "<string>",
  "activationData": "<string>",
  "authenticationData": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

cardId
string<uuid>
required

Unique identifier for the card.

Body

application/json

Response

200
application/json

Card provisioned to Apple successfully.

The response is of type object.