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

Response

200
application/json

Card provisioned to Google successfully.

The response is of type object.