1. Online Payments
  • Developer Docs Ecuador 🇪🇨
  • Online Payments
    • Release Notes
    • Card Payments
      • Request a card token
      • Make a charge or deferred charge
      • Refund a transaction
      • Void a transaction
      • Request deferred options
      • Validate OTP
      • Bin Info V2
      • Bin Info
    • One Click and Scheduled Payments
      • Request a recurring charge token
      • Create a recurring charge
      • Update recurring charge card data
      • Make an One-click payment
      • Cancel a recurring charge
      • Update a recurring charge
      • Add a temporary charge or discount
      • Get recurring charge Info
    • Chargebacks
      • Query chargebacks
      • Request chargeback export
    • Subscription Transactions
      • Get subscription transactions
    • Transfer in
      • Request a Transfer In token
      • Init Transaction
      • Get Status
    • Cash in
      • Request a cash in token
      • Init Transaction
      • Update a cash in transaction
      • Transaction Status
      • Delete a cash in transaction
    • Smartlinks
      • Create a Smartlink
      • Update a Smartlink
      • Get a Smartlink
      • Delete a smartlink
    • Analytics
      • Get transactions list v1
      • Get transactions list v2
    • Status
      • Get gateway status
      • Get platform status
    • Commissions
      • Get Commission Configuration
    • Payment Credentials
      • Create a credential
      • Search credentials
      • Activate or deactivate
      • Delete credential
      • Update credential
      • Regenerate a credential
      • Advanced search
    • Payment Button
      • Create a payment button
    • Settlement
      • Query settlement
  • Appian - Submerchant Register
    • Submerchant Validation in Batch
    • Query submerchant status by requestId/submerchantId
    • Get submerchantIds
    • Get credentials for submerchants
  • Schemas
    • threeDomainSecure
    • webhooks
    • Card-old
    • Channel
    • Amount-cash-in
    • ChargebackListResponse
    • StatusComponent
    • SettlementDateRangeRequest
    • SubscriptionTransactionsResponse
    • Card
    • currency
    • networkToken
    • ChargebackItem
    • ErrorResponse
    • SettlementTicketRequest
    • SubscriptionTransaction
    • Subscription
    • Amount
    • ErrorResponse400
    • SettlementResponse
    • extraTaxes
    • Country
    • ErrorResponse401
    • SettlementRecord
    • Language
    • Deferred
    • ErrorResponse403
    • Metadata
    • payment_method
    • ErrorResponse500
    • ContactDetails
    • documentType
    • orderDetails
    • Shipping Address
    • Billing-Address
    • payment_submethod
    • SubscriptionUpdate
    • product
    • SubscriptionAdjustmentRequest
    • threeDomainSecure
    • webhooks
    • headers
    • webhooksChargeback
    • citMit
    • network
    • binInfo
    • messageFields
    • UnexpectedErrorResponse
    • ExternalReferenceId
    • transactionType
BienvenidaPerú 🇵🇪México 🇲🇽Ecuador 🇪🇨
Colombia 🇨🇴Chile 🇨🇱
BienvenidaPerú 🇵🇪México 🇲🇽Ecuador 🇪🇨
Colombia 🇨🇴Chile 🇨🇱
  1. Online Payments

Settlement

Query merchant settlement records on demand in JSON format, replacing the need to wait for a daily CSV file delivery.
Keep in mind!
This endpoint requires your Private Key (private-merchant-id) for authentication. Never expose it in client-side code.

Query Modes#

The same POST /merchant-settlement/v1/settlement endpoint supports two modes:
By Date Range
Send startDate and endDate to retrieve a paginated list of settlement records for a specific period. Default: page 1, limit 100.
By Ticket Number
Send a ticketNumber to retrieve the settlement record for a specific transaction. Returns a single record. Requires the switch query parameter.

Request#

By date range
By ticket number
{
  "startDate": "2026-01-01",
  "endDate": "2026-01-31",
  "page": 1,
  "limit": 50
}
FieldRequiredDefaultDescription
startDate✅—Start of the period. Format: YYYY-MM-DD
endDate✅—End of the period. Format: YYYY-MM-DD
page❌1Page number to retrieve
limit❌100Max records per page

Response#

{
  "data": [ { ...settlement record... } ],
  "pagination": {
    "page": 1,
    "limit": 50,
    "total": 101335,
    "totalPages": 2027
  }
}
When querying by ticketNumber, data always contains exactly one record.

Settlement Record Fields#

Transaction
Amounts & Fees
Card
FieldDescription
ticket_numberKushki ticket number for this transaction
sale_ticket_numberOriginal sale ticket. Populated for voids and refunds; empty for sales
transaction_typeSALE, VOID, REFUND, PREAUTHORIZATION, CAPTURE
transaction_statusAPPROVED, DECLINED, VOIDED, REFUNDED
payment_methodPayment method used (e.g., CARD)
createdTransaction creation date (YYYY-MM-DD)
payment_dateDate the settlement was paid to the merchant (YYYY-MM-DD)
credential_aliasAlias of the credential used
recapReconciliation code
buy_orderMerchant-provided order reference
document_numberCustomer document number, if applicable
processor_typeProcessing model (e.g., AGGREGATOR_FORMAL, ACQUIRER)
observationAdditional note, if any

Error Codes#

HTTPCodeMessageCause
400K001El cuerpo de la petición es inválidoMalformed or missing required fields
401K004Id de comercio no válidoInvalid or missing private-merchant-id
404K037Registro de liquidación no encontradoNo settlement record found for the given ticketNumber
500K002Ha ocurrido un error inesperadoUnexpected server-side error

Using the API#

🟢 Production
🧪 Sandbox (UAT)
https://api.kushkipagos.com/

Available Endpoints#

Query Settlement
Retrieves settlement records by date range or by ticket number. Requires Private Merchant ID.

Got a suggestion on this documentation? Contact us.
Modified at 2026-07-11 00:04:27
Previous
Create a payment button
Next
Query settlement
Built with