---
updatedAt: 2025-09-18T08:20:21.000Z
agentTools:
  projectIndex: https://developers.intandem.tech/llms.txt
---

# Payments

"app_type": ["payments"]

<br />

## Introduction

inTandem allows integrating your preferred 3rd party payment gateway in an easy and convenient way.

To integrate a payment gateway with inTandem, you’ll need to build an application that will function as a middleware between inTandem and the 3rd party payment gateway.

Payment gateway integration is built upon the following building blocks:

* **Connect/Disconnect** - The process of connecting (or disconnecting) the payment gateway
* **Checkout** - Online payment for end users ("clients")
* **Charge** - The ability to charge credit cards via the back office
* **Card on File** - Storing users' credit card information for future transactions
* **Refund** - Refunding payments

## Prerequisites

### Step 1: Register your app on inTandem

First, you need to create a payment-type app (see more details [here](https://developers.intandem.tech/docs/create-your-first-app)). After your app is ready, register it in inTandem and create its token with [Create Token API](https://developers.intandem.tech/reference/post_tokens).

> 📘 Important
>
> The app should have its redirect\_uri and api\_url properties pointing to the same URL

### Step 2: Routes

Your app needs to have specific routes that inTandem can interact with on each one of the events during the integration and payment processes:

#### Connect/Disconnect routes

* GET \{REDIRECT\_URI}/connect
* GET \{REDIRECT\_URI}/disconnect

#### Charge routes

* GET \{REDIRECT\_URI}/charge
* POST \{REDIRECT\_URI}/charge

#### Card on file routes

* POST \{REDIRECT\_URI}/customer
* POST \{REDIRECT\_URI}/customer/:token/attach
* POST \{REDIRECT\_URI}/customer/:token/detach

#### Refund routes

* POST \{REDIRECT\_URI}/refund

<br />

<HTMLBlock>{`
<link  as="style" href="https://vcita.github.io/developers-hub/styles.css" rel="stylesheet">
`}</HTMLBlock>