Google Pay
Decrypted Google Pay tokens
Some merchants and platforms may have the option to decrypt a Google Pay token themselves. For this scenario, we support direct pass through of these decrypted Google Pay tokens to our API.
Create a transaction
curl -X POST http://api.sandbox.example.gr4vy.app/transactions \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIi..." \
-H "Content-Type: application/json" \
-d "{
"amount": 1299,
"currency": "AUD",
"country": "AU",
"payment_method": {
"method": "network-token",
"token": "4111111111111111,
"expiration_date": "02/30",
"cryptogram": "AAEBAwQjSQAAXX...",
"eci": "05",
"card_suffix": "1234",
"card_scheme": "visa",
"card_source": "google-pay",
"cardholder_name": "John Lunn"
}
}"
Was this page helpful?