Digital wallets - Sessions
Create a Google Pay session
Account updater
Buyers - Payment methods
Payment methods
Payment methods - Payment service tokens
Payment methods - Network tokens
Buyers - Gift cards
Buyers - Shipping details
Card scheme definitions
Digital wallets - Setup
Digital wallets - Sessions
Transactions
Refunds
Payment options
Payment service definitions
Payment services
Audit logs
Checkout sessions
Merchant accounts
Digital wallets - Sessions
Create a Google Pay session
Create a session for use with Google Pay.
POST
/
digital-wallets
/
google
/
session
curl --request POST \
--url https://api.{id}.gr4vy.app/digital-wallets/google/session \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"origin_domain": "example.com"
}'
{
"gateway_merchant_id": "app.gr4vy.sandbox.example.default",
"token": "UouQUGXehuqwQ7FI"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
The ID of the merchant account to use for this request.
Examples:
"default"
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.{id}.gr4vy.app/digital-wallets/google/session \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"origin_domain": "example.com"
}'
{
"gateway_merchant_id": "app.gr4vy.sandbox.example.default",
"token": "UouQUGXehuqwQ7FI"
}