Create Google Pay token

Exchanges a Google Pay payment token for a single-use token you can charge.

When a customer authorises a Google Pay payment, Google returns a tokenizationData.token payload. Send that payload here as token_data; Mamo returns a single-use token.

To complete the payment, call Initiate payment (POST /payments) with the payment link's ID as payment_link_id and the returned token as google_pay_token.

Gateway configuration

When you build the Google Pay request on your side, use:

SettingValue
gatewaycheckoutltd
gatewayMerchantIdMamo's Checkout.com Google Pay public key. It's the same value for every merchant; get it from [email protected]
merchantId (Google-assigned)12345678901234567890 in sandbox; for production, the Google Pay merchant ID assigned to your account (contact [email protected])
📘

Enable wallets on the link

Wallets are on by default: a payment link created without payment_methods, in a wallet-supported currency, accepts card and wallet. A link created with payment_methods: ["card"] doesn't offer wallets.

Recipes
📱
Add Apple Pay and Google Pay
Open Recipe
Body Params
token_data
object
required

The parsed Google Pay tokenizationData.token object.

Headers
string

A unique key, such as a UUID, that makes it safe to retry this request. Reuse the same key when you retry. See Idempotency.

Responses

429

Too many requests. You sent more than 100 requests in 30 seconds from one IP address. This response has no JSON body. See Rate limits.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json