GET Remote Reader API
  1. POS
GET Remote Reader API
  • Basic Information
  • General
    • Get the configuration of the device
      GET
    • Cancel an active job
      GET
  • Status
    • Get the status of an asynchronous display operation on the device's screen (UI related)
      GET
    • Get the status of an asynchronous NFC tag interaction (NFC related)
      GET
  • POS
    • Start a job for a purchase
      POST
    • Initiate a refund job for a specific purchase
      POST
  • Ticketing
    • Start a job to swap a ticket to a NFC-tag
      POST
  • Display
    • Start a job to show information and interactive buttons on the device's UI
      POST
  • TagInfo
    • Start a job that prompts the end-user to scan an NFC tag
      POST
  1. POS

Start a job for a purchase

POST
/api/purchase/v5/{id}
Start a job for a purchase. The job will be processed asynchronously. The response will contain URLs that can be used to retrieve the job status and cancel the job. This request will display "Tap to Pay" along with the amount on the display of the xGate.

Request

Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:
Authorization: Basic *****************
Path Params

Body Params application/json

Examples

Responses

🟢200OK
application/json
Job successfully created
Body

🟠400Bad Request
🟠401Unauthorized
🟠404Record Not Found
🟠405405
🟠409409
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://192-168-1-1.xip.get.systems:9443/api/purchase/v5/12345678-abcd-4bcf-9bcd-123456789012' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "paymentType": "cashless",
    "cartItems": [
        {
            "count": 1,
            "productKey": "mySuperDuperProductKey",
            "variantKey": "mySuperDuperVariantKey",
            "name": "My Super Duper Product",
            "priceInCredits": 1.23,
            "accountingCategoryKey": "common.service",
            "taxRate": 0.19,
            "ean": "1234567890123",
            "reference": {
                "link": "string",
                "text": "string",
                "reference": "string"
            }
        }
    ],
    "requiredChip": "string",
    "reference": {
        "link": "string",
        "text": "string",
        "reference": "string"
    },
    "allowUserCancel": true
}'
Response Response Example
200 - Example 1
{
    "data": {
        "statusUrl": "string",
        "cancellationUrl": "string"
    }
}
Modified at 2025-04-02 13:28:50
Previous
Get the status of an asynchronous NFC tag interaction (NFC related)
Next
Initiate a refund job for a specific purchase
Built with