Skip to main content
POST
/
card
/
{card_id}
/
digital_wallet_token
/
google_pay
Provision with Google Pay
curl --request POST \
  --url https://api.treasuryprime.com/card/{card_id}/digital_wallet_token/google_pay \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "card_id": "<string>",
  "device_id": "<string>",
  "device_type": "<string>",
  "provisioning_app_version": "<string>",
  "wallet_account_id": "<string>"
}
'
{
  "card_id": "<string>",
  "device_id": "<string>",
  "device_type": "<string>",
  "provisioning_app_version": "<string>",
  "wallet_account_id": "<string>"
}

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 google-pay-token-request to create

card_id
string
required

The ID card being added to the wallet

device_id
string
required

The user’s Android device ID; the device’s unique identifier

device_type
string
required

One of mobile_phone, watch, or tablet

provisioning_app_version
string
required

Version of the application making the provisioning request

wallet_account_id
string
required

The user’s Google wallet account ID

Response

200 - application/json

The google-pay-token-request created

card_id
string

The ID card being added to the wallet

device_id
string

The user’s Android device ID; the device’s unique identifier

device_type
string

One of mobile_phone, watch, or tablet

provisioning_app_version
string

Version of the application making the provisioning request

wallet_account_id
string

The user’s Google wallet account ID