---
title: "Connect a payment gateway"
description: "Connect your own payment gateway account so Two Minute Billing can collect payments, and route each currency to the account that should handle it. Step-by-step guides for each gateway."
canonical_url: "https://twominutebilling.com/help/guides/connect-a-payment-gateway"
---
# Connect a payment gateway

> Connect your own payment gateway account so Two Minute Billing can collect payments, and route each currency to the account that should handle it. Step-by-step guides for each gateway.

Two Minute Billing collects through **your** payment accounts, at your rates, paying into your
bank. Until you connect one, it can raise invoices but cannot charge anything.

Open **Settings → Payment gateways**.

<screenshot alt="The Payment gateways settings screen, listing each gateway account connected to the business with its mode, currencies and status" caption="Each business connects its own gateway accounts. Test mode starts with the built-in test gateway." src="gateways">



</screenshot>

## Connect an account

Add the account and paste in its credentials. Two Minute Billing stores them encrypted and uses
them only to charge, refund and save cards on your behalf.

Tell it which **currencies** and which **payment methods** that account handles.

<warning>

**Test keys in test mode, live keys in live mode.** Connect your gateway's test (sandbox) keys to a test business and its live keys to a live
business. Test mode also has a built-in test gateway, so you can try everything before you
connect an account.

</warning>

## Set up your gateway

Two Minute Billing connects to 12 payment gateways. Each guide shows where to find the keys in the
gateway, which **permissions** the keys need, how to connect them, and what to do about webhooks.
Select your gateway:

<gateway-cards>



</gateway-cards>

Coming soon: [CyberSource](https://twominutebilling.com/help/guides/connect-a-payment-gateway/cybersource). You cannot
connect it yet.

## Select a gateway

The payment methods and wallets below are the ones you can use today. For what each one asks of
your customers, see [Payment methods your customers can use](https://twominutebilling.com/help/guides/payment-methods).

### Payment methods and wallets

<table>
<thead>
  <tr>
    <th>
      Gateway
    </th>
    
    <th>
      Payment methods
    </th>
    
    <th>
      Wallets on pay now
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/stripe">
        Stripe
      </a>
    </td>
    
    <td>
      Cards, Direct Debit (ACH), Direct Debit (SEPA)
    </td>
    
    <td>
      Apple Pay, Google Pay
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/paypal">
        PayPal
      </a>
    </td>
    
    <td>
      PayPal wallet
    </td>
    
    <td>
      —
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/razorpay">
        Razorpay
      </a>
    </td>
    
    <td>
      Cards, UPI Autopay, Netbanking (eMandate)
    </td>
    
    <td>
      —
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/square">
        Square
      </a>
    </td>
    
    <td>
      Cards, Afterpay (pay now), ACH (pay now)
    </td>
    
    <td>
      Google Pay, Cash App Pay
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/braintree">
        Braintree
      </a>
    </td>
    
    <td>
      Cards, PayPal, Venmo
    </td>
    
    <td>
      —
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/checkoutcom">
        Checkout.com
      </a>
    </td>
    
    <td>
      Cards
    </td>
    
    <td>
      Google Pay
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/adyen">
        Adyen
      </a>
    </td>
    
    <td>
      Cards
    </td>
    
    <td>
      Apple Pay, Google Pay
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/mollie">
        Mollie
      </a>
    </td>
    
    <td>
      Cards, Direct Debit (SEPA), PayPal, Other methods that you activate in Mollie (pay now)
    </td>
    
    <td>
      Apple Pay, Google Pay
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/authorizenet">
        Authorize.net
      </a>
    </td>
    
    <td>
      Cards, eCheck (ACH)
    </td>
    
    <td>
      —
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/gocardless">
        GoCardless
      </a>
    </td>
    
    <td>
      Direct Debit (Bacs), Direct Debit (SEPA), Direct Debit (ACH), Direct Debit (BECS), Direct Debit (BECS NZ), Pre-authorized debit (PAD), Direct Debit (Autogiro), Direct Debit (Betalingsservice), PayTo
    </td>
    
    <td>
      —
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/cashfree">
        Cashfree
      </a>
    </td>
    
    <td>
      Cards, UPI Autopay, eNACH
    </td>
    
    <td>
      —
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/payu">
        PayU
      </a>
    </td>
    
    <td>
      Cards, UPI Autopay
    </td>
    
    <td>
      —
    </td>
  </tr>
</tbody>
</table>

### Regions and currencies

<table>
<thead>
  <tr>
    <th>
      Gateway
    </th>
    
    <th>
      Regions
    </th>
    
    <th>
      Currencies
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/stripe">
        Stripe
      </a>
    </td>
    
    <td>
      Where Stripe serves your business. ACH in the US, SEPA in the EU
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/stripe#currencies">
        132 currencies
      </a>
      
      . Direct Debit (ACH): USD. Direct Debit (SEPA): EUR
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/paypal">
        PayPal
      </a>
    </td>
    
    <td>
      Where PayPal serves your business
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/paypal#currencies">
        25 currencies
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/razorpay">
        Razorpay
      </a>
    </td>
    
    <td>
      India
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/razorpay#currencies">
        124 currencies
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/square">
        Square
      </a>
    </td>
    
    <td>
      The country of each Square location
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/square#currencies">
        AUD, CAD, EUR, GBP, JPY, USD
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/braintree">
        Braintree
      </a>
    </td>
    
    <td>
      Where Braintree serves your business. Venmo in the US
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/braintree#currencies">
        126 currencies
      </a>
      
      . Venmo: USD
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/checkoutcom">
        Checkout.com
      </a>
    </td>
    
    <td>
      Where Checkout.com serves your business
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/checkoutcom#currencies">
        141 currencies
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/adyen">
        Adyen
      </a>
    </td>
    
    <td>
      Where Adyen serves your business
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/adyen#currencies">
        135 currencies
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/mollie">
        Mollie
      </a>
    </td>
    
    <td>
      Where Mollie serves your business
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/mollie#currencies">
        27 currencies
      </a>
      
      . Direct Debit (SEPA): EUR
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/authorizenet">
        Authorize.net
      </a>
    </td>
    
    <td>
      Where Authorize.net serves your business. eCheck for US bank accounts
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/authorizenet#currencies">
        AUD, CAD, EUR, GBP, NZD, USD
      </a>
      
      . eCheck (ACH): USD
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/gocardless">
        GoCardless
      </a>
    </td>
    
    <td>
      UK, euro area, US, Australia, New Zealand, Canada, Sweden and Denmark
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/gocardless#currencies">
        GBP, EUR, USD, AUD, NZD, CAD, SEK, DKK
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/cashfree">
        Cashfree
      </a>
    </td>
    
    <td>
      India
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/cashfree#currencies">
        AED, EUR, GBP, INR, JPY, USD
      </a>
      
      . Saved payment methods: INR, USD, EUR. UPI Autopay: INR. eNACH: INR
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/payu">
        PayU
      </a>
    </td>
    
    <td>
      India
    </td>
    
    <td>
      <a href="https://twominutebilling.com/help/guides/connect-a-payment-gateway/payu#currencies">
        INR
      </a>
    </td>
  </tr>
</tbody>
</table>

<warning>

**Check the permissions before you go live.** Connecting checks only that the gateway accepts the
key. A key without a permission it needs still connects, and fails later: on a refund, a saved
card or the webhook. Read the **Permissions** section of your gateway's guide.

</warning>

## Use more than one

You can connect several accounts to one business. Two Minute Billing selects which to use from the
currency, the payment method and what the customer does: pay now, or save a payment method.

That is how you run one gateway for rupee payments and another for everything else — without
your customers or your catalog knowing anything about it.

**Pay now uses an account that can take a payment now.** An account on [GoCardless](https://twominutebilling.com/help/guides/connect-a-payment-gateway/gocardless) only saves payment methods (it sets up a mandate), so Two Minute Billing does not use it when a customer pays an invoice now.

**Renewals stay on the account that saved the payment method.** Only that account can charge it,
so a renewal never moves to another account. If you disable that account, its renewals fail until
you enable it again or the customer saves a new payment method.

**When more than one account matches,** Two Minute Billing uses the business's default gateway
account. If no matching account is the default, the payment is refused with a message to set a
default.

<note>

**An unmapped currency is refused, not guessed.** If you sell in a currency no connected account handles, the charge is refused at the point of
attempt. It is never quietly routed through an account that happens to be configured — you would
only discover that weeks later in a reconciliation.

</note>

## Check it works

Create a customer in test mode, save a payment method with the test details in your gateway's
guide (under **Test it**), and collect an invoice. **Logs** shows the actual call to the provider and what came back.

## When a payment provider tells you something later

Providers sometimes confirm or reverse a payment hours after the fact. Two Minute Billing listens
for those and keeps your records straight: a payment that settles late is marked paid, and one
that reverses reopens the invoice so it goes back into your retry queue.

You do not have to reconcile that by hand.

If Two Minute Billing cannot process a message from your gateway, it tries again on its own for
about four days, also after the gateway stops sending it. If the last try fails, **Gateway
Webhooks** shows the message with the reason, and you can select **Replay** to try again.

## Related

- [Multi-gateway recurring payments](https://twominutebilling.com/product/payments)
- [Payments and gateways in the API](https://twominutebilling.com/help/developers/concepts/payments)
- [Recurring INR with Razorpay mandates](https://twominutebilling.com/help/developers/recipes/india-mandates)


## Sitemap

See the full [sitemap](https://twominutebilling.com/sitemap.md) for all pages.
