Skip to main content

Getting Started

Welcome to the Request To Pay Android SDK documentation. Whether you're new to Android development or an experienced developer, this SDK is designed to provide a seamless experience. For a full guide to walk you through the process of integrating Request To Pay services into your Android application, please, refer to the mobile recipe.

Prerequisites

  • Android Studio: Make sure you have Android Studio installed. It's the official IDE for Android development and will offer you the best support for our SDK.
  • JDK: The Java Development Kit is essential for Android development. Ensure you've got a recent version installed.
  • Gini Account: Ensure you have registered for an account and have the necessary credentials at hand. If not, please, go to the getting started section
  • Android Device or Emulator: You can test your integration on an actual device or an emulator provided by Android Studio.

Installation

You should begin by adding the SDK to your build.gradle file:

dependencies {
implementation 'com.requesttopay.android:sdk:latest_version'
}

After the dependency is added, sync your project with the Gradle files to download the SDK.

Note

Make sure you replace latest_version with the most recent version of the SDK.

In order to be able to connect to our Gini Servers, if you did not ask the Internet permission to your user yet, its time to do it in your AndroidManifest.xml file:

<uses-permission android:name="android.permission.INTERNET" />