The goal of this API is to run tasks from any app, installed on the same device, in the GP tom app. This is a very simple API that can be installed by a moderately advanced coder in no time.
Why don't Android and iOS have the same APIs?
Unfortunately, each operating system works a bit differently and so it was not possible to completely transfer app2app from Android to iOS. That's why the two interfaces are currently different, on the other hand for existing integrators the same fields are used and the interface is significantly easier to integrate.
Simple and fast integration
Zde najdete naši knihovnu, kterou si můžete implementovat přímo do svého projektu: https://github.com/GP-tom/tom-ios-sdk. Tahle knihovna Vám zjednoduší proces integrace, jelikož zde najdete přímo jednotlivé deeplinks requesty do aplikace GP tom.
Pro simulaci integrace si můžete zkompilovat naši aplikaci pomocí tohoto kódu: https://github.com/GP-tom/tom-ios-sdk-example/tree/main.
What types of transactions do we support?
We support the following tasks in our API. We believe they will be sufficient for your needs. We recommend implementing all three of these types.

Sales
A sale transaction is used when you want to immediately charge the cardholder's card for goods or services purchased. The amount is immediately debited from the payer's account.

Cancellation of transaction
This function is used to cancel an existing sales transaction. You can cancel any card transaction within 93 days of the original date.

Batch
The purpose of the batch is to consolidate transaction volume into a single package. Closing a batch verifies that the terminal and the authorization center have the same transaction total. When you run a closure, the authorization center closes the existing batch and opens a new batch.
