1. Search
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
            POST
          • Transaction Search — Local
            POST
      • 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. Search

Transaction Search — Local

Testing
UAT Testing Env
https://api-uat.kushkipagos.com
UAT Testing Env
https://api-uat.kushkipagos.com
POST
/terminal/v1/sync/transaction_search_local
Queries transaction history stored locally on the terminal.
Does not require internet connectivity — useful for offline reconciliation
or when the acquirer backend is temporarily unreachable.
Results are sorted by date descending.

🚧 Beta — Early Access#

This API is in early access. Endpoints, parameters, and response structures
may change without prior notice. Do not deploy to production without
coordinating with the Kushki integration team.
Local search does not support filtering by transaction_type, and only returns what that
specific terminal stored. Use Transaction Search — Online
when you need to filter by operation type or to see the merchant's full history.

Date filtering#

start_date and end_date are Unix timestamps in milliseconds (13 digits).
A 10-digit value in seconds is a thousand times smaller than intended, so it lands in January
1970
. The symptom depends on which field you got wrong:
What you sentResulting rangeSymptom
Both fields in secondsEntirely within January 1970Empty result set
Only start_date in secondsJanuary 1970 → your end dateReturns the full history, not the range you meant
Only end_date in secondsYour start date → January 1970Validation error 2021, start_date must be before end_date
The second case is the dangerous one: the request succeeds and returns data, just far more than
you asked for. Check the digit count before you reconcile.
Both fields are optional. Send 0 in both to disable date filtering and page through the full
history.
The value is an absolute instant on the Unix epoch, so it has no timezone of its own. To search a
local calendar day, convert that day's local boundaries in America/Bogota to epoch
milliseconds:
Local date and timeUTC offsetValue to send
2026-08-01 00:00:00UTC-51785560400000
2026-08-31 23:59:59UTC-51788238799000
Colombia does not observe daylight saving time, so America/Bogota stays on UTC-5 all year.
Resolve it with a timezone library anyway — hardcoding offsets is how these bugs start.
Required vs optional. Only page and size are required. The filters object and every
property inside it are optional.

What you encrypt#

The body you send is the encrypted envelope. This is the plaintext object you encrypt — the field contract, not what travels on the wire:
{
    "page": 1,
    "size": 10,
    "filters": {
        "last_four_digits": "9130",
        "status": "APPROVAL",
        "start_date": 1785560400000,
        "end_date": 1788238799000
    }
}
See Authentication and request encryption for the derivation chain and the seven steps.

Request

Header Params

Body Params application/jsonRequired

Examples

Responses

🟢200OK
application/json
Local search results returned.
Bodyapplication/json

🟠400Bad Request
🟠401Unauthorized
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api-uat.kushkipagos.com/terminal/v1/sync/transaction_search_local' \
--header 'Authorization: Basic 9f2c4e1b7a63d8f05c2e9b41a7d3086fbe15c4d29a7e0b38f6c1d52a94e7b3c0' \
--header 'timestamp: 1748476800' \
--header 'encrypted_http_communication: true' \
--header 'Content-Type: application/json' \
--data '{
    "data": "a3f14c7e9b02d85fbc1e46a9d370f28b:9e0d7f21c4a8b653e17d902fac48b5d6e83c1704a9f26db8"
}'
Response Response Example
200 - default
{
    "rawResponse": {
        "data": [
            {
                "transactionReference": "094d2789-9033-4dc3-98f1-4c2ea3b6d7de",
                "clientTransactionId": "f475786a-a19d-425c-a973-96beb797c060",
                "ticketNumber": "113408571580923373",
                "type": "CHARGE",
                "eventStatus": "APPROVAL",
                "date": "1788894297411",
                "currency": "COP",
                "totalAmount": 100000,
                "kushkiAmount": {
                    "iva": 0,
                    "subtotalIva": 0,
                    "subtotalIva0": 100000,
                    "tip": 0,
                    "currency": "COP",
                    "extraTaxes": {
                        "airportTax": 0,
                        "iac": 0,
                        "ice": 0,
                        "travelAgency": 0
                    }
                },
                "tax": 0,
                "tip": 0,
                "cashBack": 0,
                "discount": 0,
                "cardType": "credit",
                "franchise": "MASTERCARD",
                "cardData": {
                    "pan": "**** **** **** 3743",
                    "bin": "54914575",
                    "cardHolderName": "",
                    "bank": "MERCADO LENDING",
                    "aid": "A0000000041010",
                    "arqc": "729594E7904DA3D9",
                    "tc": "",
                    "entryMode": "NFC",
                    "cvm": "none",
                    "expirationMonth": "",
                    "expirationYear": "",
                    "serviceCode": "",
                    "postalCode": "",
                    "tagMap": {}
                },
                "note": "",
                "captured": false,
                "voided": false,
                "refunded": false,
                "amountCaptured": 0,
                "amountVoided": 0,
                "amountRefunded": 0,
                "isPartial": false,
                "authExpirationDate": "",
                "authSearchReference": "",
                "originalAuthReference": "",
                "cancelledReAuth": false,
                "needReversal": false,
                "productList": null,
                "rawBody": {
                    "transaction_reference": "094d2789-9033-4dc3-98f1-4c2ea3b6d7de",
                    "transaction_status": "APPROVAL",
                    "transaction_type": "charge",
                    "authorized_amount": 100000,
                    "ticket_number": "113408571580923373",
                    "franchise": "MASTERCARD",
                    "card_type": "credit",
                    "cvm_type": "none",
                    "F11": "108085",
                    "kushki_response": {
                        "code": "000",
                        "message": "Approved or completed successfully."
                    },
                    "message_fields": {
                        "F38": "123456",
                        "F39": "00"
                    },
                    "additional_amounts": {
                        "account_type": "",
                        "amount": 0,
                        "amount_type": "",
                        "card_type": "",
                        "currency_code": ""
                    }
                }
            }
        ],
        "totalElements": 35,
        "totalPages": 4
    }
}
Modified at 2026-10-07 15:32:42
Previous
Transaction Search — Online
Next
Print
Built with