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>" }
Provisions a card for Apple Wallet by passing required client device and wallet parameters.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Unique identifier for the card.
The identifier for the client device.
The wallet provider code.
The wallet account identifier.
Card provisioned to Apple successfully.
The prefix of the primary account number.
The activation data provided by Apple.
The authentication data provided by Apple.