New Google Pay session
Get google pay session
POST
New Google Pay session
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
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"