Google Pay Alternative
MF Integration option
Payment
Payment flow
- The customer initiates the payment on the merchant's website.
- The merchant sends a payment request to MerchantPay with
method.typeset togoogle_pay_alt. - MerchantPay responds with the payment page URL in
redirect_url. - The merchant redirects the customer to that URL. The customer selects Google Pay and confirms the payment.
- MerchantPay sends a webhook notification with the final payment status. The merchant may also use the status query.
Info
Available currencies depend on the gateway configuration. The default settings include EUR, GBP, and PLN.
Request
Send a payment request with the following data:
|
|||||||||||||||||||||||||||||||||||||||||||||||||
Request example
{
"request": {
"amount": 1000,
"currency": "EUR",
"description": "Order 1234",
"return_url": "https://example.com/return",
"ip": "203.0.113.10",
"language": "en",
"method": {
"type": "google_pay_alt"
},
"customer": {
"first_name": "Joan",
"last_name": "Collins",
"email": "joan@example.com",
"external_id": "customer-1234",
"birth_date": "1990-05-14",
"phone": "+447700900123",
"country": "GB",
"address": "10 Downing Street",
"city": "London",
"zip": "SW1A 1AA"
}
}
}
Response
Redirect the customer to the URL in redirect_url. A redirect to the merchant's site does not confirm the payment status; use the webhook notification or status query for the result.
Response example
{
"transaction": {
"uid": "de09a541-6c8c-4253-933e-7798e78d89ed",
"type": "payment",
"status": "pending",
"amount": 1000,
"currency": "EUR",
"description": "Order 1234",
"created_at": "2026-10-21T13:22:27Z",
"updated_at": "2026-10-21T13:22:27Z",
"method_type": "google_pay_alt",
"receipt_url": "https://backoffice.universepay.eu/customer/transactions/de09a541-6c8c-4253-933e-7798e78d89ed/01343a880f083fc77bc74e99d7f771dc28b867750fc0846d1057c35f32eeef3b?language=en",
"payment": {
"status": "pending",
"gateway_id": 6749,
"ref_id": "978330e811024f44b75780d5834b46be",
"message": "Transaction was initialized."
},
"google_pay_alt": {
"type": "google_pay_alt"
},
"customer": {
"zip": "SW1A 1AA",
"city": "London",
"email": "joan@example.com",
"phone": "+447700900123",
"address": "10 Downing Street",
"country": "GB",
"last_name": "Collins",
"birth_date": "1990-05-14",
"first_name": "Joan",
"external_id": "customer-1234",
"ip": "203.0.113.10"
},
"manually_corrected_at": null,
"version": 2,
"message": "Transaction was initialized.",
"test": false,
"language": "en",
"billing_address": {
"zip": "SW1A 1AA",
"city": "London",
"email": "joan@example.com",
"phone": "+447700900123",
"address": "10 Downing Street",
"country": "GB",
"last_name": "Collins",
"birth_date": "1990-05-14",
"first_name": "Joan"
},
"additional_data": {
"payment_method": {
"type": "alternative"
}
},
"smart_routing_verification": {
"status": "successful"
},
"gateway": {
"iframe": false
},
"form": {
"action": "link-to-payment-page",
"fields": [],
"method": "GET"
}
}
}
Refund
Request
Send a standard refund request. The amount value must equal the amount of the corresponding payment transaction. Only one full refund is supported for each payment transaction.