Get Order
curl --request GET \
--url https://quickei.io/pay/sandbox/api/v1/orders/{order_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://quickei.io/pay/sandbox/api/v1/orders/{order_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://quickei.io/pay/sandbox/api/v1/orders/{order_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://quickei.io/pay/sandbox/api/v1/orders/{order_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://quickei.io/pay/sandbox/api/v1/orders/{order_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://quickei.io/pay/sandbox/api/v1/orders/{order_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://quickei.io/pay/sandbox/api/v1/orders/{order_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyPOS API
Get Order
Get details of a specific order
GET
/
orders
/
{order_id}
Get Order
curl --request GET \
--url https://quickei.io/pay/sandbox/api/v1/orders/{order_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://quickei.io/pay/sandbox/api/v1/orders/{order_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://quickei.io/pay/sandbox/api/v1/orders/{order_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://quickei.io/pay/sandbox/api/v1/orders/{order_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://quickei.io/pay/sandbox/api/v1/orders/{order_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://quickei.io/pay/sandbox/api/v1/orders/{order_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://quickei.io/pay/sandbox/api/v1/orders/{order_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyRetrieve the full details and current status of a specific POS order.
Success Response
Error Response
Endpoint
GET https://quickei.io/pay/sandbox/api/v1/orders/{order_id}
Path Parameters
string
required
The POS order ID (e.g.
POS-20240115-A1B2C3)
Auto-expiry: If the order is still PENDING and past its expires_at, the API will automatically mark it as EXPIRED before returning.
Response Fields
| Field | Description |
|---|---|
order_id | Unique POS order identifier |
amount | Formatted amount with currency (e.g. 25.00 EUR) |
raw_amount | Numeric amount value |
status | PENDING, PAID, EXPIRED, CANCELLED, REFUNDED, REFUND_PENDING |
qr_data | QR code data string (when payment_method includes qr) |
payment_url | Hosted payment page URL (when payment_method includes page) |
trx_id | Quickei transaction ID (null until paid) |
paid_at | ISO 8601 timestamp of payment (null until paid) |
Example Request
GET /merchant-api/pos/v1/orders/POS-20240115-A1B2C3
Authorization: Basic {base64_credentials}
Success Response 200
{
"message": {
"success": ["Order status retrieved"]
},
"data": {
"order_id": "POS-20240115-A1B2C3",
"amount": "25.00 EUR",
"raw_amount": 25.00,
"currency": "EUR",
"payment_method": "both",
"reference": "INV-2024-001",
"description": "Table 5 - Lunch",
"terminal_id": "terminal-01",
"status": "PAID",
"qr_data": "quickei://pay?order=POS-20240115-A1B2C3&a=25.00&c=EUR",
"payment_url": "https://quickei.io/pay/pos/POS-20240115-A1B2C3",
"trx_id": "TRX-98765",
"paid_at": "2024-01-15T14:02:30+00:00",
"expires_at": "2024-01-15T14:05:00+00:00",
"created_at": "2024-01-15T14:00:00+00:00"
}
}
Error Response 404
{
"message": {
"error": ["Order not found"]
}
}

