API Reference
Log In
API Reference

Rootline enables you to accept Google Pay™ on the web using Rootline's checkout.

Google Pay offers customer a seamless checkout using a credit or debit card stored on their Google account or Android device.
When the customer clicks Google Pay, Google Pay will present the payment sheet. The customer is able to select their preferred card and confirm the payment.

Rootline supports Mastercard, Maestro, Visa and Vpay on Google Pay.

Payment method details

CurrencyEUR
CountriesGlobal
Minimum transaction value0.01
Maximum transaction valueN/A
CaptureYes
CancelYes
RefundYes, full and partial refunds supported
DisputesYes
Statement descriptorMastercard supports 22 characters and Visa 25 Characters

The statement descriptor starts with “RTL*” followed by your merchant name and the statement descriptor you can provide with the payment request.
Characters exceeding the character limit will not be shown on the customer's statement.

Accepting Google Pay

Accepting Google Pay on Rootline's Checkout does not require additional code implementation.

To enable Google Pay reach out to your contact at Rootline. By accepting Google Pay you must adhere to the Google Pay APIs Acceptable Use Policy and accept the terms defined in the Google Pay API Terms of Service.

Creating a Google Pay payment with the Payments API

In The Payment API section we explain how the Payments API can be leveraged to create an payment.

Let Rootline handle the payment method selection. You initiate the payment by simply sending a payment request with the below details.

{
  "account_id": "acc_12347Sifdo36cdycbsw4Pum",
  "amount": {
    "currency": "EUR",
    "quantity": "20.00"
  },
  "reference": "test_reference",
  "statement_descriptor":"Order 123",
  "return_url":"https://www.my_return_url.com"
}

The API will return a next_action object with a checkout_url. This url leads your customer to the Rootline checkout page, where they can select their payment method and further payment details.

{
    "payment_id": "pmt_UXRFkdU6kdAtO6ceGdxmW",
    "created_at": "2023-09-12T08:22:25.864452Z",
    "account_id": "acc_12347Sifdo36cdycbsw4Pum",
    "reference": "test_reference",
    "amount": {
        "currency": "EUR",
        "quantity": "20.00"
    },
    "checkout_status": "open",
    "authorizations": [],
    "authentications": [],
    "next_action": {
        "checkout_url": "http://checkout.rootline.com/payments/pmt_UXRFkdU6kdAtO6ceGdxmW/checkout"
    },
	  "statement_descriptor":"Order 123",  
    "return_url": "https://www.my_return_url.com"
}

Strong customer authentication

Google Pay supports cards saved with Google or cards stored on an Android device as a Device Primary Account Number (DPAN).

Cards that are stored on an Android device are considered strongly customer authentication and offer a liability shift.

Cards that are saved with Google (FPAN) will go through 3D Secure with Rootline, offering a liability shift.