API

GET STARTED

API - Admin API - How To

This outlines the information and steps that are needed when wanting to make use of the swiftpos Admin API.

The content is targeted at Resellers and swiftpos Venue Administrators who have a sound knowledge of and experience with swiftpos. For further information or assistance, please contact your swiftpos Reseller or swiftpos Support.

 


Steps To Follow      

 


What To Consider?      

 

URLs      

The URLs for the swiftpos Admin API are:

The URLs to test swiftpos Admin API using Swagger are:

Refer HERE for more information.

 

Http Header Change      

If previously the Local WebAPI was being used the the following will need to be considered:

  • The HTTP Header Key name will need to be changed from ApiKey to AuthorizationToken.

 

API Call Change      

An API call must now include the URL above. For example:

  • A current API call using the local WebAPI may look something like this:
    http://127.0.0.1/WebAPI/api/Product
  • Based on the above, the same call using the swiftpos Admin API will then look like this:
    https://api.swiftpos.com.au/api/Product

 

End of article.