Create a Google Pay Payment Method
POST/v1/confirmation-tokens
Turns a Google Pay PaymentData response into an ONVO card payment method, ready to confirm a payment intent. It does not charge the buyer.
Google Pay must be enabled for the account and turned on, together with card payments, in the key's mode. ONVO verifies the Google credential's signature and validity, and that it was issued for your account ID (gatewayMerchantId).
On accounts that support it, a device token (CRYPTOGRAM_3DS) creates a single-use payment method. See Google Pay.
Request
Responses
- 201
- 400
- 401
Payment method created.
Bad Request - payment_methods.google_pay_not_enabled, payment_methods.invalid_google_pay_token, payment_methods.google_pay_unavailable, or a validation error.
Unauthorized