Sample Applications using Triangle APIs
This repository contains sample applications that leverage the Triangle API to interact with payment cards. Triangle allows you to scan MasterCard PayPass, Visa PayWave, Interac Flash and American Express ExpressPay cards with your NFC enabled device.
Setup instructions for your own applications
Triangle uses latest security standards to encrypt cardholder information and also allows the APIs only to be used within registered applications. To use the APIs in your own applications, follow these steps:
- Sign up for your account at http://www.triangle.io
- Register your application by visiting the Keys page
- Add the .jar files to your project
For more information on setup instructions, check out the blog post.
Initializing the Triangle APIs
Before you can utilize the classes defined in the APIs, you need to initialize the APIs. This step is done to exchange your private keys between the Triangle server and your application so that information scanned by your application is provided in an encrypted format.
You can defer the initialization to the first time you make use of the functions, or you can do so at the application's startup as shown in the Reader sample application.
To initialize the API, you need to provide your Access Key, Secret Key and the Application ID in which you are using the APIs. This information can be obtained from the keys page.
The Triangle API runs on NFC enabled Android devices running OS version 14 and above. The API can of course be used in the same application running on both NFC enabled and non-NFC enabled devices. For exact set of permissions required by the APIs, please see the blog post.
There are a variety of ways to get a hold of us:
- E: firstname.lastname@example.org
- P: 1-866-533-5122
- StackOverflow (please tag your questions as triangle)