Skip to main content
POST
/
v1
/
cards
/
{cardId}
/
provision
/
google
JavaScript
import Chron from '@chron/sdk';

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

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

console.log(response.encryptedPaymentInstrument);
{
  "encryptedPaymentInstrument": "<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
clientDeviceID
string
required

The identifier for the client device.

clientWalletProvider
string
required

The wallet provider code.

clientWalletAccountID
string
required

The wallet account identifier.

Response

Card provisioned to Google successfully.

encryptedPaymentInstrument
string
required

The encrypted payment instrument data returned by Google.

I