| Environment | URL |
|---|---|
| Production | https://cloudt.kushkipagos.com |
| UAT | https://uat-cloudt.kushkipagos.com |
POST https://cloudt.kushkipagos.com/terminal/v1/{terminalSerial}/sync/{operation}terminalSerial is the serial number of the target SmartPOS terminal, obtained from the Device Management System (DMS).| Header | Description |
|---|---|
Authorization | HMAC-SHA256 signature of the raw JSON request body, Base64-encoded. Key = your Business-Code |
timestamp | Current Unix timestamp in milliseconds (13 digits) — must be within ±5 minutes of server time |
ℹ️ Omit Authorizationon requests with no body (e.g. Abort).
| Operation | Endpoint | Description |
|---|---|---|
| Charge | POST /sync/charge | One-step authorization + capture |
| Authorization | POST /sync/authorization | Reserve funds, capture later (Visa / Mastercard) |
| Capture | POST /sync/capture | Collect reserved funds |
| Re-authorization | POST /sync/re_authorization | Extend or increase a pre-auth |
| Post-tip | POST /sync/pos_tip | Add tip to an authorized transaction |
| Void | POST /sync/void | Cancel same-day transaction (cutoff: 23:59 local) |
| Refund | POST /sync/refund | Refund a settled transaction |
| Abort | POST /sync/abort | Cancel a transaction in progress |
| Transaction Search | POST /sync/transaction_search | Query terminal transaction history |
{
"amount": {
"subtotal_iva0": 10000,
"subtotal_iva": 0,
"iva": 0,
"extra_taxes": {
"airport_tax": 0,
"iac": 0,
"ice": 0,
"travel_agency": 0
}
},
"client_transaction_id": "c5a3f3be-9d6f-4d39-8af5-58dbb589af79",
"metadata": {
"reference": "ORD-20240317-001",
"customer_email": "user@example.com"
}
}⚠️ Save transaction_referencefrom the response — required for void or refund.
{
"amount": {
"subtotal_iva0": 10000,
"subtotal_iva": 0,
"iva": 0
},
"client_transaction_id": "auth-20240317-001"
}{
"transaction_reference": "6f16659e-b711-4995-a9ae-161aecbd6521",
"amount": {
"subtotal_iva0": 10000,
"subtotal_iva": 0,
"iva": 0
}
}{
"transaction_reference": "6f16659e-b711-4995-a9ae-161aecbd6521"
}{
"transaction_reference": "6f16659e-b711-4995-a9ae-161aecbd6521",
"amount": {
"subtotal_iva0": 10000,
"subtotal_iva": 0,
"iva": 0
}
}{
"page": 1,
"size": 10,
"filters": {
"last_four_digits": "9130",
"start_date": 0,
"end_date": 0,
"transaction_reference": "",
"transaction_type": ""
}
}| Operation | Endpoint | Description |
|---|---|---|
| Create Print Job | POST /sync/print/job | Queue a print job on the terminal printer |
| Get Print Job Status | POST /sync/print/job_status | Poll the status of a queued print job |
202 Accepted immediately. Supply a webhookUrl or poll for the result.{
"webhookUrl": "https://yoursite.com/print/notify",
"commands": [
{ "type": "TEXT", "text": "MI COMERCIO CHILE", "align": "CENTER", "size": 32, "bold": true },
{ "type": "DIVIDER", "style": "SOLID" },
{ "type": "COLUMNS", "columns": [
{ "text": "Producto Premium", "width": 3 },
{ "text": "10.000", "width": 1, "align": "RIGHT" }
]},
{ "type": "DIVIDER", "style": "DOTTED" },
{ "type": "COLUMNS", "columns": [
{ "text": "TOTAL", "width": 3, "bold": true },
{ "text": "10.000", "width": 1, "align": "RIGHT", "bold": true }
]},
{ "type": "FEED", "lines": 2 },
{ "type": "CUT" }
]
}{
"print_job_id": "pj_a1b2c3d4e5f6",
"status": "PENDING"
}{
"print_job_id": "pj_a1b2c3d4e5f6"
}| Status | Description |
|---|---|
PENDING | Job queued — not yet printed |
COMPLETED | Printed successfully |
FAILED | Printing failed |
Got a suggestion on this documentation? Contact us.