1. Kushki One
English
  • English
  • Español
  • API Docs Colombia 🇨🇴
  • Online Payments
    • Release Notes
    • Kushki API errors
    • ISO errors
    • Card Payments
      • Request a card token
      • Make a charge or deferred charge
      • Create payment (tokenless)
      • Void a transaction
      • Refund a transaction
      • Request deferred options
      • Authorize payments
      • Preauthorization (tokenless)
      • Reauthorize payments
      • Capture an authorized payment
      • Verify Account
      • Validate OTP
      • Bin Info
      • BIN info V2
    • One-Click & Scheduled Payments
      • Request a recurring charge token
      • Create a recurring charge
      • Make an One-click payment
      • Update recurring charge card data
      • Cancel a recurring charge
      • Update a recurring charge
      • Add a temporary charge or discount
      • Authorize payments
      • Capture an authorized payment
      • Get recurring charge Info
    • Chargebacks
      • Query Chargebacks
      • Request Chargeback Export
    • Transfer in
      • Get Bank List
      • Request a Transfer In token
      • Init Transaction
      • Get Status
      • Cancel Transaction
    • Transfer out
      • Get Bank List
      • Get Bank List V2
      • Request a Transfer Out token
      • Init Transaction
      • Get Status
      • Balance for Payouts
    • Cash in
      • Request a cash in token
      • Init Transaction
      • Transaction Status
      • Delete a cash in transaction
      • Update a cash in transaction
    • Cash-out
      • Request a cash out token
      • Init Transaction
      • Transaction Status
      • Update a cash out transaction
      • Delete a cash out transaction
    • Smartlinks-v2
      • Create a Smartlink
      • Get a Smartlink
      • Update a Smartlink
      • Delete a smartlink
    • Analytics
      • Get transactions list v2
    • Gateway-status
      • Get gateway status
      • Get platform status
    • Payment Credentials
      • Create a credential
      • Search credentials
      • Advanced search
      • Delete credential
      • Regenerate a credential
      • Activate or deactivate
      • Update credential
    • Payment Button
      • Create a payment button
    • Settlement
      • Query settlement
    • Subscription Transactions
      • Get subscription transactions
    • Fraud Report
      • Query fraud alerts
  • Kushki One
    • Release notes
    • Transaction Examples
    • Webhooks
    • Error Catalog
    • Cloud Services
      • Payment
        • Sync
          • Charge
          • Authorization (Pre-auth)
          • Capture
          • Re-authorization
          • Post-tip
          • Void
          • Abort
        • Async
          • Charge (Async)
          • Authorization — Pre-auth (Async)
          • Capture (Async)
          • Re-authorization (Async)
          • Post-tip (Async)
          • Void (Async)
        • Search
          • Transaction Search
      • Print
        • Create Print Job
        • Get Print Job Status
      • Diagnostics
        • Terminal info
        • Connection test
    • Local Services
      • Payment
        • Sync
          • Charge
          • Authorization (Pre-auth)
          • Capture
          • Re-authorization
          • Post-tip
          • Void
          • Abort
        • Async
          • Charge (Async)
          • Authorization — Pre-auth (Async)
          • Capture (Async)
          • Re-authorization (Async)
          • Post-tip (Async)
          • Void (Async)
          • Abort (Async)
        • Search
          • Transaction Search — Online
          • Transaction Search — Local
      • Print
        • Create Print Job
        • Get Print Job Status
        • Print Job Webhook (inbound — implemented by your POS)
      • Diagnostics
        • Terminal info
        • Connection test
  • API Raw Card Present Payments
    • Release Notes
    • Error Catalog
    • The Amount Object
    • Key Exchange Process
    • Test data
    • One-time Payments
      • Single payment
    • Two-step Payments
      • Authorization and capture
    • Card Information
      • Get BIN Info
      • BIN info V2
      • Request deferred options
    • Voids & Refunds
      • Void & Reverse
      • Refund a transaction
    • Query Transactions
      • Transaction Search
    • Webhooks
      • Introduction
      • Good Practices
      • Webhooks-Card Payments
      • Webhooks-Refunds
      • Check your webhooks
    • Chargebacks
      • Query Chargebacks
      • Request Chargeback Export
    • Fraud Report
      • Query fraud alerts
  • Appian - Submerchant Register
    • Release Notes
    • Submerchant Validation in Batch
    • Query submerchant status by requestId/submerchantId
    • Get submerchantIds
    • Get credentials for submerchants
  • Schemas
    • RequestBodies
      • one-and-two-step-payment
    • SubscriptionTransactionsResponse
    • Card
    • Channel
    • Amount-cash-in
    • ChargebackListResponse
    • SettlementDateRangeRequest
    • PrintJobRequest
    • card
    • amount
    • one-and-two-step-payment-3
    • Card Present (CP)
    • one-and-two-step-payment-3
    • FraudAlertRequest
    • TransactionResponse
    • SubscriptionTransaction
    • networkToken
    • ChargebackItem
    • SettlementRecord
    • CommandText
    • Card Not Present (CNP)
    • FraudAlertResponse
    • RawResponse
    • ErrorResponse
    • currency
    • Deferred
    • webhooksItem
    • ErrorResponse400
    • SettlementResponse
    • CommandColumns
    • extra_taxes
    • FraudAlertRecord
    • CardData
    • Amount
    • ErrorResponse401
    • ColumnItem
    • pos_details
    • ValidationError
    • LinkFailure
    • extraTaxes
    • ErrorResponse403
    • CommandDivider
    • card_details
    • enc_tlv
    • TransactionEvent
    • Country
    • payment_method
    • ErrorResponse500
    • CommandFeed
    • deferred
    • TransactionStatus
    • CommandSpace
    • contact_details
    • ReadingType
    • ContactDetails
    • CommandCut
    • sub_merchant
    • FailureReason
    • documentType
    • Subscription
    • CommandImage
    • metadata
    • EventTerminal
    • orderDetails
    • Language
    • TransactionSearchRequest
    • CommandQR
    • EventOperation
    • Shipping Address
    • payment_submethod
    • CommandBarcode
    • EventAmount
    • Billing-Address
    • EventExtraTaxes
    • PrintJobAccepted
    • SubscriptionUpdate
    • EventMetadata
    • PrinterError
    • threeDomainSecure
    • SubscriptionAdjustmentRequest
    • AmountWithTaxes
    • PrintJobStatus
    • PrintJobStatusRequest
    • product
    • webhooks
    • AmountCore
    • headers
    • ExtraTaxes
    • PrintWebhookPayload
    • Metadata
    • webhooksChargeback
    • citMit
    • AmountWithTip
    • TransactionSearchOnlineBody
    • TransactionSearchBody
    • binInfo
    • AmountWithOptionalTip
    • TransactionSearchLocalBody
    • messageFields
    • TransactionEvent_2
    • UnexpectedErrorResponse
    • FailureReason_2
    • transactionType
    • ExternalReferenceId
    • EventTerminal_2
    • ExternalSubscriptionId
    • EventOperation_2
    • EventAmount_2
    • EventExtraTaxes_2
    • EventMetadata_2
    • SettlementTicketRequest
    • network
    • ErrorResponse
    • TransactionEvent_23
    • TransactionStatus4
    • ReadingType5
    • FailureReason_26
    • EventTerminal_27
    • EventOperation_28
    • EventAmount_29
    • EventMetadata_210
    • EventExtraTaxes_211
    • PrintWebhookPayload12
    • TransactionEvent13
    • FailureReason14
    • EventTerminal15
    • EventOperation16
    • EventAmount17
    • EventMetadata18
    • EventExtraTaxes19
HomePerú 🇵🇪México 🇲🇽Ecuador 🇪🇨Colombia 🇨🇴
Chile 🇨🇱
HomePerú 🇵🇪México 🇲🇽Ecuador 🇪🇨Colombia 🇨🇴
Chile 🇨🇱
Status
Soporte / Support
English
  • English
  • Español
  1. Kushki One

Local Services

In Local Network mode, your POS sends HTTP requests directly to the terminal's local IP address over your LAN or Wi-Fi. Use this mode when your POS and terminal share the same network and you want the lowest latency with no cloud dependency.
Beta — Early Access
Kushki ONE Local Network is currently in Beta for Colombia 🇨🇴. Do not deploy to production without coordinating with the Kushki integration team.

Base URL#

The terminal exposes an HTTP server on its local IP, on two ports:
http://{terminalIp}:6868/terminal/v1     ← HTTP
https://{terminalIp}:6869/terminal/v1    ← HTTPS
VariableDefaultDescription
terminalIp192.168.1.50Static IP or DHCP reservation of the terminal. The integration team gives you the terminal's addressing during onboarding
port6868 HTTP · 6869 HTTPSBoth are open on the terminal
Payment operations live under /sync/ and /async/, so a charge is POST http://192.168.1.50:6868/terminal/v1/sync/charge. Print keeps its own paths — see below.
WARNING
Your internal firewall must allow bidirectional traffic on both TCP ports of the terminal: 6868 for HTTP and 6869 for HTTPS. A network that only opens 6868 blocks HTTPS access to the terminal.
INFO
Select the Kushki ONE Local environment at the top right, then override terminalIp and port with your own terminal's values. The default UAT Testing Env points at api-uat.kushkipagos.com, which is the Online Payments host — a local terminal does not answer there.
There is no UAT/production split in Local mode: you always call the same device on your network. Whether it settles against the UAT or the production acquirer is decided by how the terminal itself was provisioned, not by the URL.
WARNING
On port 6868 the transport is plain HTTP, though the payload itself always travels encrypted (see Authentication). Use 6869 when you need TLS on the wire as well, and keep the terminal on a trusted, segmented network either way. The terminal still needs port 443 egress to reach Kushki's authorization servers.

Authentication#

Kushki ONE uses one authentication mechanism, and it is the same in local network, Cloud and localhost: hash + encryption. Your terminal ships with encryption enabled, so this is the only path. Both headers are required on every endpoint, print included.
{ "data": "<iv_hex>:<cipher_hex>" }
ElementRule
AuthorizationBasic prefix followed by the SHA512 hash. The Basic prefix is required
timestampUnix timestamp in seconds (10 digits) — must be within ±5 minutes of server time
BodyAlways the encrypted envelope {"data":"<iv_hex>:<cipher_hex>"}. The payloads documented below are the plaintext you encrypt, not what travels on the wire
WARNING
Two cases that return UNAUTHORIZED with no further hint:
GET operations — /sync/abort, /async/abort and GET /terminal/v1/print_job. The encrypted value travels as the data query parameter, and no other parameter may be sent.
Operations with no payload — on abort you sign the literal {}, not an empty string.
Full details are on the Authentication page.

Sync vs Async#

Every payment operation ships in two variants under two path prefixes.
VariantPrefixHTTP responseWhere the outcome arrives
Sync/sync/Blocks until the acquirer answers, then returns the full resultIn the HTTP response
Async/async/Returns immediately with a TERMINAL_ACKNOWLEDGED eventWebhook only
Async exists because card-present flows wait on a human and routinely exceed the ~15 second timeout budget of most POS architectures. Supply events_webhook_url in the body to receive events; it is accepted on /async/ endpoints only.
Both transaction searches are sync-only. Everything else, abort included, exists in both variants.

Reading the HTTP status#

DANGER
On payment endpoints the HTTP status is always 200, whatever happened. It confirms that the terminal processed your request — not that the operation succeeded. Always evaluate the response body.
A POS that branches on response.ok treats a busy terminal, an expired PIN and a cardholder cancellation as successes. The print endpoints are the exception: they return real HTTP codes (404 when the job does not exist, 409 while the printer is busy).
Error bodies are flat — {type, code, param, message, object}, with no wrapper. See the Error Catalog.

Amount format#

Every amount field is an integer. The currency is always COP, which has zero decimal places. Send the value as-is, never padded:
To chargeSend
$ 1.2441244
$ 12.00012000
This applies to subtotal_iva0, subtotal_iva, iva, tip, cashback_amount and every member of extra_taxes. There is no currency field — the terminal resolves the currency from its own configuration, and the integration team confirms which one your terminal uses during onboarding.
WARNING
Requests take integers, but event and webhook payloads echo amounts back as decimals (12000.0). Never re-send an echoed value as an amount.

Payment operations#

OperationSyncAsync
ChargePOST /sync/chargePOST /async/charge
AuthorizationPOST /sync/authorizationPOST /async/authorization
CapturePOST /sync/capturePOST /async/capture
Re-authorizationPOST /sync/re_authorizationPOST /async/re_authorization
Post-tipPOST /sync/pos_tipPOST /async/pos_tip
ReversalPOST /sync/voidPOST /async/void
AbortGET /sync/abortGET /async/abort
Transaction Search — OnlinePOST /sync/transaction_search_online—
Transaction Search — LocalPOST /sync/transaction_search_local—
Connection testGET /sync/local/test—
Terminal infoGET /sync/config/terminal_info—

Optional fields, by operation#

These are the only optional fields, and they are the same in sync and async:
FieldApplies to
amount.tip/charge and /authorization — the tip can be set at pre-authorization time, not only when charging
cashback_amount/charge
deferred/charge — installments
omit_card/capture, /re_authorization and /void
metadata/charge, /authorization and /pos_tip. Subfields: reference, customer_email, device
On /pos_tip, amount.tip is not an optional field — it is the amount of the operation.
omit_card decides whether the terminal asks the cardholder for the card. With true the operation runs without it — which is what makes the hotel case work: extending or capturing a pre-authorization after the guest has left the desk.
In Colombia, installments travel in the deferred object — {"deferred": {"months": 24}}. Your POS sends the number of months, up to 48; Colombia does not use credit_type, which exists only in Chile. query_deferred is Mexico only and must not be sent from Colombia; the two fields are mutually exclusive.
If a capability is not enabled for your terminal, the terminal ignores the field instead of rejecting the request. To have it enabled, write to soporte@kushkipagos.com.
INFO
Beta coverage. Only /charge has been exercised end-to-end with these fields, in sync and async. amount.tip on /authorization and omit_card on its six combinations are defined but not yet exercised.

Charge#

{
  "amount": {
    "subtotal_iva0": 10000,
    "subtotal_iva": 0,
    "iva": 0,
    "tip": 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", "device": "SUNMI-P3" }
}
⚠️ Save rawResponse.transaction_reference from the response — required for capture, re-authorization and void.

Two-step flow#

authorization ──→ re_authorization (0..n) ──→ capture
      │                                          │
      └──────────────→ void ←───────────────────┘
RuleDetail
Pre-auth validityDebit 7 days, credit 28 days. Visa and Mastercard only
Capture ceiling≤ 110% of the authorization plus all non-canceled re-authorizations
Captures per cycleExactly one
Reversal windowThe same calendar day as the original transaction, cutoff 23:59 local

Reversal (/void)#

There is one reversal endpoint, and the system decides what the operation becomes based on when you call it. Within the same calendar day the reversal is a cancellation; from midnight onwards it enters the refund cycle and takes business days. Wait at least 1 minute after the original transaction before reversing it.
The type returned by transaction search tells you what actually happened: VOID for a same-day cancellation, REFUND for one that entered the refund cycle, and REVERSE for one you did not ask for — the platform generates it on its own when communication with the terminal fails. A POS can find a REVERSE in search that it never requested; it is not an error.

Transaction Search#

Two endpoints, different backends: _online queries the Kushki acquirer and needs internet; _local reads what the terminal itself stored and works offline.
{
  "page": 1,
  "size": 10,
  "filters": { "last_four_digits": "9130", "start_date": 0, "end_date": 0 }
}
Filters shared by both: bin, last_four_digits, client_transaction_id, transaction_reference, start_date and end_date. Beyond those, _online filters by transaction_type and _local by status.
Dates are 13-digit millisecond timestamps. Send 0 in both to disable date filtering.
DANGER
A 10-digit value in seconds lands in January 1970. If only start_date is wrong, the request succeeds and returns your entire history instead of the range you asked for — check the digit count before you reconcile.
WARNING
The two endpoints do not return the same shape. They share no envelope, no casing and no field names:
_online returns {"items": [...]} in snake_case, with no pagination metadata — it accepts page and size but does not tell you whether more pages exist.
_local returns {"rawResponse": {"data": [...], "totalElements": 2, "totalPages": 1}} in camelCase.
The same field changes name between them: client_transaction_id / clientTransactionId, transaction_status / eventStatus, transaction_type / type, payment_brand / franchise, created / date. Write one parser per endpoint.

Print operations#

OperationEndpoint
Create Print JobPOST /terminal/v1/print
Get Print Job StatusGET /terminal/v1/print_job?data=…
Printing is asynchronous — create returns 202 Accepted with PENDING. Track the outcome by polling the status endpoint, or by supplying a webhookUrl and implementing that endpoint on your side — it is a callback you receive, not an endpoint Kushki exposes.
Write type in lowercase; every other enum (align, dividerType, algorithm, errorLevel) is UPPERCASE.
{
  "printJobId": "RECEIPT-20240317-001",
  "webhookUrl": "https://pos.micomercio.com.co/webhooks/print",
  "commands": [
    { "type": "text", "text": "MI COMERCIO COLOMBIA\n", "align": "CENTER", "size": 28, "bold": true },
    { "type": "divider", "dividerType": "SOLID", "offset": 8 },
    { "type": "columns", "columns": [
        { "text": "2x Combo Hamburguesa", "weight": 2, "align": "LEFT" },
        { "text": "$ 300.000", "weight": 1, "align": "RIGHT" }
    ]},
    { "type": "feed", "lines": 3 },
    { "type": "cut" }
  ]
}
StatusDescription
PENDINGQueued, not yet printed
IN_PROGRESSThe driver is sending commands to the printer
COMPLETEDPrinted and cut successfully
FAILEDHardware error — see errorCode
INFO
A TER-004 on the print endpoints means the printer is busy and the job can be retried in a few seconds. The same code on a payment endpoint means the cardholder canceled on the terminal, which must not be retried.

Key differences from Cloud mode#

FeatureLocal NetworkCloud
Base URLhttp://{terminalIp}:6868/terminal/v1 or https://{terminalIp}:6869/terminal/v1https://cloudt.kushkipagos.com
Terminal addressingThe terminal's IPterminalSerial in the path
Abort methodGET /sync/abort, GET /async/abortPOST /sync/abort, sync only
Async abort✅❌
Transaction searchTwo endpoints: _online and _local_online only
Print createPOST /terminal/v1/printPOST /{terminalSerial}/sync/print
Print statusGET /terminal/v1/print_job?data=POST /{terminalSerial}/sync/print_job with the ID in the body
Recommended HTTP timeout15 s90 s (relay latency)
Network requirementTerminal and POS on the same LAN/Wi-FiInternet access
Payloads and headers are identical between the two modes. The routes are not.

Folders#

Payment
16 card operations, sync and async.
Print
Receipt printing on the terminal's thermal printer.

Got a suggestion on this documentation? Contact us.
Modified at 2026-09-09 22:27:22
Previous
Connection test
Next
Payment
Built with