Digital wallets
New Google Pay session
Initiates a new session with Google Pay. This can be used when implementing Google Pay without our SDK.
POST
This endpoint requires the digital-wallets.write
or embed
scope.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Initiates a new session with Google Pay.
Fully qualified domain name of the merchant.
Response
200
application/json
Returns a JWT used for Google Pay authentication.
Your merchant ID.
Example:
"app.gr4vy.sandbox.spider.default"
The JWT for the current Google Pay session.
Example:
"eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZXJjaGFudElkIjoiQkNSMkRONFQ3QzNLWDZEWSIsIm1lcmNoYW50T3JpZ2luIjoiZW1iZWQuc2FuZGJveC5zcGlkZXIuZ3I0dnkuYXBwIiwiaWF0IjoxNjgzMjExMzk5fQ.Qk99p_j96aSxGmxUyyb06rNxIY7nh9-BvHJGWBrLBSFb3HkSbYRgq9YQzscWJtLHVvIJifkzSc8BgtllfAzh9A"
Was this page helpful?