1. API Raw Card Present
  • API Docs Mexico 🇲🇽
  • Online Payments
    • Release Notes
    • Card Payments
      • Request a card token
      • Make a charge or deferred charge
      • Create payment (tokenless)
      • Request deferred options
      • Refund a transaction
      • Authorize payments
      • Preauthorization (tokenless)
      • Void a transaction
      • Reauthorize payments
      • Capture an authorized payment
      • Bin Info V2
      • Bin Info
      • Validate OTP
      • Verify Account
    • One-Click and 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
    • Transfer in
      • Get Bank List
      • Request a Transfer In token
      • Init Transaction
      • Get Status
    • Transfer Out
      • Get Bank List
      • Get Bank List V2
      • Request a Transfer Out token
      • Init Transaction
      • Get Status
      • Balance for Payouts
    • Smartlinks
      • Create a Smartlink
      • Get a Smartlink
      • Delete a smartlink
      • Update a Smartlink
    • Payment Button
      • Create a payment button
    • Analytics
      • Get transactions list v1
      • Get transactions list v2
    • Chargebacks
      • Query chargebacks
      • Request chargeback export
    • Commissions
      • Get Commission Configuration
    • Payment Credentials
      • Create a credential
      • Activate or deactivate
      • Delete credential
      • Regenerate a credential
      • Update credential
      • Advanced search
      • Search credentials
    • Platform Status
      • Get platform status
      • Get gateway status
    • Settlement
      • Query settlement
    • Subscription Transactions
      • Get subscription transactions
  • Card Present Billpocket
    • Get Started
      • Create Account
      • User Token
      • API Keys
    • Webhooks
      • Webhooks — Transfer Funds (v1)
      • Webhooks — Transfer Funds to Your Bank Account
      • Transfer Funds Errors
    • Terminals
      • App Review
      • Splash Screen
    • Card Present Payment Services
      • Cloud Terminal API
        • Collect card payments
        • Print Ticket
        • Cancel Push Notification
        • Get transaction status
        • Collect card payments v2
      • App-to-App
        • Android intents
        • App to App — iOS
        • App to App — Mobile Web
      • Terminal SDK
        • Terminal SDK
        • Android SDK errors
    • Card not Present Billpocket Services
      • 3DS Checkout
        • Create checkout
        • Get checkout details
      • E-commerce Flex
        • Get token
        • Validate token
        • Collect payments
        • Refund
        • Capture an authorized payment
        • Get status
    • Catalogs
      • States
      • Municipalities
      • Tax companies
      • Commercial activities
    • User Settings
      • Create user
    • Accounts
      • Clabe Account Setup
        • Add CLABE account
      • Deposit Accounts
        • Add or update CLABE account
    • Transactions
      • Transaction List
        • Get token
        • Get transaction list
        • Get transaction list v2
        • Get transaction list v3
        • Get transaction list v4
      • Cancel Payments
        • Cancel payments Error Codes
        • Cancel payments
  • API Raw Card Present
    • The Amount Object
    • Error Catalog
    • Key Exchange Process
    • Release Notes
    • Test Data
    • One-time payments
      • Single payment
    • Two-step-payments
      • Authorization and capture
    • Voids & Refunds
      • Refund a transaction
    • Card information
      • Get BIN Info
      • Balance inquiries
      • Bin Info V2
      • Request deferred options
    • Query Transactions
      • Transaction Search
    • Webhooks
      • Webhooks — Introduction
      • Good Practices
      • Webhooks — Card Payments
      • Webhooks — Refunds
      • Check Your Webhooks
  • Kushki One
    • Cloud Services
      • Payment
        • Charge
        • Authorization (Pre-auth)
        • Capture
        • Re-authorization
        • Post-tip
        • Void
        • Refund
        • Abort
      • Search
        • Transaction Search
      • Print
        • Create Print Job
        • Get Print Job Status
    • Local Services
      • Print
        • Create Print Job
        • Get Print Job Status
        • Print Job Webhook (inbound — implemented by your POS)
      • Payment
        • Charge
        • Authorization (Pre-auth)
        • Capture
        • Re-authorization
        • Post-tip
        • Void
        • Refund
        • Abort
      • Search
        • Transaction Search — Online
        • Transaction Search — Local
  • Appian - Submerchant Register
    • Submerchant Validation in Batch
    • Query submerchant status by requestId/submerchantId
    • Submerchant Document Upload
    • Get submerchantIds
    • Get credentials for submerchants
  • Schemas
    • RequestBodies
      • one-and-two-step-payment
    • Card
    • Channel
    • Amount-cash-in
    • ChargebackListResponse
    • StatusComponent
    • SettlementDateRangeRequest
    • SubscriptionTransactionsResponse
    • amount
    • AmountWithTaxes
    • PrintJobRequest
    • networkToken
    • ChargebackItem
    • SettlementTicketRequest
    • SubscriptionTransaction
    • extra_taxes
    • AmountCore
    • CommandText
    • currency
    • ErrorResponse400
    • ErrorResponse
    • SettlementResponse
    • webhooksItem
    • card
    • ExtraTaxes
    • CommandColumns
    • Amount
    • Country
    • ErrorResponse401
    • SettlementRecord
    • card_details
    • ColumnItem
    • extraTaxes
    • ErrorResponse403
    • enc_tlv
    • TransactionResponse
    • CommandDivider
    • Deferred
    • payment_method
    • ErrorResponse500
    • deferred
    • RawResponse
    • CommandFeed
    • Metadata
    • pos_details
    • CardData
    • CommandSpace
    • ContactDetails
    • contact_details
    • sub_merchant
    • AmountWithTip
    • CommandCut
    • documentType
    • Subscription
    • metadata
    • LinkFailure
    • CommandImage
    • orderDetails
    • Language
    • TransactionSearchRequest
    • CommandQR
    • Shipping Address
    • payment_submethod
    • CommandBarcode
    • Billing-Address
    • SubscriptionUpdate
    • PrinterError
    • product
    • SubscriptionAdjustmentRequest
    • PrintJobStatus
    • threeDomainSecure
    • PrintWebhookPayload
    • webhooks
    • headers
    • webhooksChargeback
    • citMit
    • network
    • binInfo
    • messageFields
    • UnexpectedErrorResponse
    • transactionType
    • ExternalReferenceId
    • ExternalSubscriptionId
BienvenidaPerú 🇵🇪México 🇲🇽
Ecuador 🇪🇨Colombia 🇨🇴Chile 🇨🇱
BienvenidaPerú 🇵🇪México 🇲🇽
Ecuador 🇪🇨Colombia 🇨🇴Chile 🇨🇱
  1. API Raw Card Present

Two-step-payments

Two-step payments separate authorization (hold) from capture (collect). Use this when you need to confirm the transaction before charging — for example, at check-in, fuel stations, or hospitality.

Flow#

1. POST /pos/v1/transaction  (transaction_type: "preAuth")        → hold funds
2. POST /pos/v1/transaction  (transaction_type: "reAuthorization") → extend hold (optional)
3. POST /pos/v1/transaction  (transaction_type: "capture")         → collect
You can also void a pre-authorization before capture to release the hold.

Step 1 — Pre-authorization#

Set transaction_type: "preAuth" and transaction_mode: "Authorization".
{
  "transaction_type": "preAuth",
  "transaction_mode": "Authorization",
  "country": "MEX",
  "client_transaction_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "amount": {
    "currency": "MXN",
    "subtotal_iva": 0,
    "subtotal_iva0": 500,
    "iva": 0,
    "tip": 0,
    "extra_taxes": {
      "airport_tax": 0,
      "iac": 0,
      "ice": 0,
      "travel_agency": 0
    }
  },
  "card_details": {
    "reading_type": "ICC",
    "enc_tlv": "<encrypted-tlv>",
    "pin_ksn": "<ksn-value>",
    "tracks": {
      "enc_track2": "<encrypted-track2>",
      "track_ksn": "<ksn-value>"
    }
  },
  "cvm_type": "pin",
  "pos_details": {
    "brand": "SUNMI",
    "model": "P2-EU",
    "version": "Kushki SunmiV1.1.26",
    "has_print": true,
    "terminal_id": "PB04216R20537",
    "location": {
      "latitude": 19.4326,
      "longitude": -99.1332
    }
  }
}
The response returns a ticketNumber you will need for the capture step.

Step 2 — Capture#

Set transaction_type: "capture" and pass the transaction_reference from the pre-auth response.
{
  "transaction_type": "capture",
  "transaction_mode": "Authorization",
  "country": "MEX",
  "client_transaction_id": "b2c3d4e5-f6a7-8901-bcde-f23456789012",
  "transaction_reference": "f2f29080-0214-42c0-95a5-77ecf3434cd7",
  "amount": {
    "currency": "MXN",
    "subtotal_iva": 0,
    "subtotal_iva0": 500,
    "iva": 0
  },
  "card_details": {
    "reading_type": "ICC",
    "enc_tlv": "<encrypted-tlv>",
    "pin_ksn": "<ksn-value>",
    "tracks": {
      "enc_track2": "<encrypted-track2>",
      "track_ksn": "<ksn-value>"
    }
  },
  "cvm_type": "pin",
  "pos_details": {
    "brand": "SUNMI",
    "model": "P2-EU",
    "version": "Kushki SunmiV1.1.26",
    "has_print": true,
    "terminal_id": "PB04216R20537"
  }
}
INFO
The transaction_reference for capture must come from the authorization, not from a reauthorization.

Reauthorization#

To extend or increase an existing hold, use transaction_type: "reAuthorization". Pass the transaction_reference from the original pre-auth.
{
  "transaction_type": "reAuthorization",
  "transaction_mode": "Authorization",
  "country": "MEX",
  "client_transaction_id": "c3d4e5f6-a7b8-9012-cdef-34567890abcd",
  "transaction_reference": "f2f29080-0214-42c0-95a5-77ecf3434cd7",
  "amount": {
    "currency": "MXN",
    "subtotal_iva": 0,
    "subtotal_iva0": 100,
    "iva": 0
  },
  "card_details": {
    "reading_type": "ICC",
    "enc_tlv": "<encrypted-tlv>",
    "pin_ksn": "<ksn-value>",
    "tracks": {
      "enc_track2": "<encrypted-track2>",
      "track_ksn": "<ksn-value>"
    }
  },
  "cvm_type": "none",
  "pos_details": {
    "brand": "SUNMI",
    "model": "P2-EU",
    "version": "Kushki SunmiV1.1.26",
    "has_print": true,
    "terminal_id": "PB04209860189"
  }
}
INFO
Send an amount of 0 in the reauthorization to extend the capture date without increasing the hold amount.

Cardless operations#

Cardless capture, reauthorization, and void are in Beta phase in México. Set omit_card: true and omit card_details, cvm_type, contact_details, and pos_details.
INFO
Cardless operations are available for Visa and Mastercard credit and debit cards in México.

Cardless capture#

{
  "transaction_type": "capture",
  "transaction_mode": "Authorization",
  "client_transaction_id": "d4e5f6a7-b8c9-0123-def0-456789abcdef",
  "transaction_reference": "f2f29080-0214-42c0-95a5-77ecf3434cd7",
  "omit_card": true,
  "amount": {
    "currency": "MXN",
    "subtotal_iva": 0,
    "subtotal_iva0": 500,
    "iva": 0
  }
}

Cardless reauthorization#

{
  "transaction_type": "reAuthorization",
  "transaction_mode": "Authorization",
  "client_transaction_id": "e5f6a7b8-c9d0-1234-ef01-567890abcdef",
  "transaction_reference": "f2f29080-0214-42c0-95a5-77ecf3434cd7",
  "omit_card": true,
  "amount": {
    "currency": "MXN",
    "subtotal_iva": 0,
    "subtotal_iva0": 0,
    "iva": 0
  }
}

Cardless void of pre-auth#

{
  "transaction_type": "preAuth",
  "transaction_mode": "Void",
  "client_transaction_id": "f6a7b8c9-d0e1-2345-f012-6789abcdef01",
  "transaction_reference": "f2f29080-0214-42c0-95a5-77ecf3434cd7",
  "omit_card": true,
  "amount": {
    "currency": "MXN",
    "subtotal_iva": 0,
    "subtotal_iva0": 500,
    "iva": 0
  }
}

Hold limits#

Card typeMaximum hold duration
Credit card28 days
Debit card7 days
If the transaction is not captured within the allowed period, the held funds are released by the issuing bank.

Request fields#

FieldRequiredDescription
transaction_typeYes"preAuth" to hold, "capture" to collect, "reAuthorization" to extend.
transaction_modeYes"Authorization" to proceed; "Void" to cancel a pre-auth.
countryYesISO 3166-1 alpha-3. Must be "MEX" (optional for cardless).
client_transaction_idYesUUID v4 generated by the merchant. Must be unique per transaction.
transaction_referenceNoRequired for capture, reauthorization, and void (not needed for preAuth).
cvm_typeNo"none", "pin", or "signature". Optional for cardless operations.
omit_cardNotrue to perform a cardless operation.
metadataNoKey-value object with extra data.

amount#

FieldRequiredDescription
currencyYesMust be "MXN". Supports two decimal places.
subtotal_ivaYesSet to 0.
subtotal_iva0YesTransaction amount in MXN.
ivaYesSet to 0.
tipNoTip amount.

card_details#

FieldRequiredDescription
reading_typeNo"ICC", "MCR", or "NFC". Optional for cardless.
enc_tlvNoEncrypted TLV data (ICC and NFC).
pin_blockNoEncrypted PIN block for online-PIN transactions.
pin_ksnNoKSN for the PIN block or TLV.
tracks.enc_track2NoEncrypted Track 2 data (MCR and NFC).
tracks.track_ksnNoKSN for Track 2 (ICC and NFC).

Authentication#


Environments#

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

Available Endpoints#

Pre-auth, Capture, Reauthorization & Void
Place a hold on a card (preAuth), collect funds (capture), extend a hold (reAuthorization), or void a pre-auth — all through a single endpoint.

Got a suggestion on this documentation? Contact us.
Modified at 2026-07-11 00:04:23
Previous
Single payment
Next
Authorization and capture
Built with