The goal of this API is to run tasks from any application, installed on the same device, in the GP tom application. This is a very simple API, which can be installed by a moderately advanced coder in no time.
Why don't Android and iOS have the same API interface?
Unfortunately, each operating system works a little differently and so it was not possible to transfer completely 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
Here you can find our library that you can implement directly in your project: https://github.com/GP-tom/tom-ios-sdk. This library will simplify the integration process for you, as you will find individual deeplinks requests directly into the application GP tom.
To simulate the integration, you can compile our application using this code: https://github.com/GP-tom/tom-ios-sdk-example/tree/main.
What types of transactions do we support?
At API we support the following tasks. We believe they will be sufficient for your needs. We recommend implementing all three of these types.
Sale
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.
Transaction cancellation
Use this feature to cancel a sales transaction that has already been made. You can cancel any card transaction within 93 days of the original date. This method is not applicable to cryptocurrencies.
Close 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.