Introduction
Account
- Account
- Account Documents
- Business
- Enhanced FDIC Insurance
- Person
- Reserve Account
- Transaction
Account Opening
- Account Product
- Account Application
- Additional Person
- Business Application
- Deposit
- KYC
- KYC Product
- Person Application
Cards
- Card
- Digital Wallet Tokens
- MarqetaJS
- Card Auth Loop Endpoint
- Card Event
- Card Product
Payments
- ACH
- Book Transfer
- Check Issuing
- Check Deposit
- Counterparty
- FedNow
- Manual Hold
- Incoming ACH
- Incoming Wire
- Invoice Account Number
- Network Transfer
- Wire
Testing
- Simulation Endpoint
Utilities
- Document
- File
- Routing Number
- Search
- Webhook
Digital Wallet Tokens
Provision with Google Pay
POST
/
card
/
{card_id}
/
digital_wallet_token
/
google_pay
Copy
Ask AI
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": "card_291u96075mva",
"device_id": "W85OGhjZTk2dsr452dgsr51j",
"device_type": "mobile_phone",
"provisioning_app_version": "2.13.3",
"wallet_account_id": "ae25OGhjZTk2dsr452dgsr51"
}'
Copy
Ask AI
{
"card_id": "card_291u96075mva",
"device_type": "mobile_phone",
"provisioning_app_version": "2.0",
"push_tokenize_request_data": {
"display_name": "Visa Card",
"last_digits": "1234",
"network": "Visa",
"opaque_payment_card": "eyJraWQiOiIxVjMwT1ZCUTNUMjRZMVFBVFRRUza",
"token_service_provider": "TOKEN_PROVIDER_VISA",
"user_address": {
"address1": "1 Market St",
"address2": "Suite 42",
"city": "San Francisco",
"country": "US",
"name": "George Washington",
"phone": "4154845555",
"postal_code": "94104",
"state": "CA"
}
}
}
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Path Parameters
The ID card being added to the wallet
Body
application/json
The google-pay-token-request to create
The body is of type object
.
Response
200 - application/json
The google-pay-token-request created
The response is of type object
.
Was this page helpful?
Copy
Ask AI
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": "card_291u96075mva",
"device_id": "W85OGhjZTk2dsr452dgsr51j",
"device_type": "mobile_phone",
"provisioning_app_version": "2.13.3",
"wallet_account_id": "ae25OGhjZTk2dsr452dgsr51"
}'
Copy
Ask AI
{
"card_id": "card_291u96075mva",
"device_type": "mobile_phone",
"provisioning_app_version": "2.0",
"push_tokenize_request_data": {
"display_name": "Visa Card",
"last_digits": "1234",
"network": "Visa",
"opaque_payment_card": "eyJraWQiOiIxVjMwT1ZCUTNUMjRZMVFBVFRRUza",
"token_service_provider": "TOKEN_PROVIDER_VISA",
"user_address": {
"address1": "1 Market St",
"address2": "Suite 42",
"city": "San Francisco",
"country": "US",
"name": "George Washington",
"phone": "4154845555",
"postal_code": "94104",
"state": "CA"
}
}
}
Assistant
Responses are generated using AI and may contain mistakes.