• Features
  • Shop
  • Pricing
  • User Guide
  • Support
 0 Kč
Login / Registration
  • CS
  • RO
  • DE
  • SK
  • HU
  • PL
  • EL
  • Features
  • Shop
  • Pricing
  • User Guide
  • Support
  • CS
  • RO
  • DE
  • SK
  • HU
  • PL
  • EL
BUY

Introduction

  • Before you begin
  • Receipt visual
  • Download
  • Legal Disclaimer
  • Integration support
  • Certification & Test Scenarios

app2app API

  • Introduction to app2app API
  • 1. Transaction registration
  • 2. Payment Request [transactionRequestV2]
  • 3. Get the status of the transaction
  • 4. Get transaction details
  • Code examples
  • Return codes
  • Check the installed application
  • Client ID
  • Settings in Android
  • Release notes
  • Get status method

Cloud API

  • Introduction to Cloud API
  • Transaction flow
  • Transaction sale
  • Transaction cancellation
  • Close batch
  • Master API account

iOS API

  • Transaction Sales (iOS)
  • Transaction Cancellation (iOS)
  • Day close execution (iOS)
  • Introduction to iOS API
View Categories
  • Main page
  • User Guide
  • API
  • app2app API
  • 1. Transaction registration

1. Transaction registration

The third-party application invokes the registration process in the payment application. GP tom performs the following checks:

  • whether the user is logged in GP tom
  • whether the value "cliendID" (optional) is filled in, the application checks whether the logged in user matches the clientID
  • current usage of GP tom, whether the transaction can be initiated

The payment application generates a transaction ID upon receipt of the request. This transaction ID will be stored locally and returned to the third-party application. Your application should save it and use it for the transaction request.

Exception

Transaction registration has one exception – the Inquiry function, which does not require you to perform a registration step. In any case, a transaction ID is required for Inquiry.

Request [RegisterEntity]:

All *JsonStrings entities used must be serialized into a string parameter, as shown in the example below. Example:

String registerEntityJsonString = new Gson().toJson(registerEntity)

Title /Name
clientID
PaymentMethod (from version 1.64.5)
Type
String
enum
Optional
yes / yes
yes / yes
Examples / Examples
aedaa81f-7ab1-45b6-866c-ea8e3b4cd2d8
CASH
CARD
ACCOUNT_PAYMENT

Example:

void transactionRegisterV2(String registerEntityJsonString, ITransactionRegisterListener listener) throws RemoteException

Response [RegisterResultV2Entity]:

In response, we will return the Json string, which should be deserialized. Example:

RegisterResultV2Entity resultEntity = new Gson().fromJson(result, RegisterResultV2Entity.class);
Název / Name
resultCode
transactionId
clientID
responseMessage
error
Type
Integer
String
String
String
ErrorResultEntity
Volitelné / Optional
ne
ano
ano
ano
ano
How do you like this tutorial?
Introduction to app2app API2. Payment Request [transactionRequestV2]

About the product

  • Features
  • Install the app
  • Releases
  • Support
  • Blog

For developers

  • Introduction to integration
  • app2app API
  • Cloud API
  • Integration according to the type of terminal
  • Integrated companies
  • Download

About the company

  • Contact
  • Information Protection Statement
  • Site Terms of Use
  • General Terms and Conditions
  • GDPR

User Guide

  • Install the app
  • Run the application for the first time
  • Payment by card
  • Cancellation of payment
  • Biometrics
  • In-app support