API Reference

Welcome to Aimazing! Get familiar with Aimazing product and explore the features:

 
 

Data Collection

Use receipt data to understand anything from what your customers are buying at the store to reconciling your financial statements. This is an example receipt data event webhook payload.

{

"outlet_id" : "003" ,

"pos_id" : "00312" ,

"dReceipt_id" : "55878743" ,

"pReceipt_id" : "A10000000" ,

"transaction_time" : "1546798060" ,

"payment_method" : "Cash" ,

"amount" : "2900.00" ,

"items" : [

{

"sku" : "15-inch laptop" ,

"qty" : "2" ,

"up" : "1200.00"

},

{

"sku" : "Internal SSD" ,

"qty" : "1" ,

"up" : "500.00"

}

],

"server_timestamp" : "1546798063",

"device_timestamp" : "1546798063"

}

Remote Printing

This is the API reference to print out any message you want from the receipt printer. Use this function to print out payment confirmation receipts and more. 

{

"header" : "Congratulations!" ,
"body" : "Your payment was successful!" ,
"footer" : "We look forward to seeing you again." 

}

 

Error Codes

Aimazing uses conventional HTTP response codes to indicate the success or failure of an API request. In general:

  • Codes in the 2xx range indicate success.

  • Codes in the 4xx range indicate an error that failed given the information provided.

Status code summary as below:

AImazing logo.png
  • Grey Facebook Icon
  • Grey LinkedIn Icon

© 2019 AImazing Pte Ltd.  All Rights Reserved.