1. CARD PRESENT PAYMENTS (API RAW) Copy Copy
EspaΓ±ol
  • EspaΓ±ol
  • English
  • Bienvenida
    • Home Page
  • PerΓΊ πŸ‡΅πŸ‡ͺ
    • Kushki Developer Portal πŸš€
    • PerΓΊ πŸ‡΅πŸ‡ͺ
    • Libraries & SDKs (Online Payments)
      • Release notes
      • Mobile
        • Kushki Android
        • Kushki iOS ο£Ώ
        • Kushki iOS ARM Setup
      • Web
        • Kushki.js 🌐
        • kushki.js-hosted-fields
          • kushki.js Hosted Fields
          • GuΓ­a de migraciΓ³n a Kushki.js 2.0
          • Antifraud
            • Interfaces
              • SecureInitRequest
              • SecureInitResponse
              • SiftScienceObject
            • Methods
              • requestInitAntiFraud
              • requestSecureInit
              • requestValidate3DS
          • Card
            • CarApplePay interface
              • ICardApplePay Interface
            • Card-Interface
              • ICard Interface
              • ICardSubscriptions Interface
            • Errors
              • Error list
            • Interfaces
              • Amount
              • ApplePayGetTokenOptions Interface
              • ApplePayOptions Interface
              • ApplePayPaymentContact
              • AppleTokenResponse
              • BrandByMerchantResponse Interface
              • CardFieldValues
              • CardInfo
              • CardOptions
              • CardTokenResponse
              • DeferredByBinOptionsResponse
              • DeferredInputValues
              • DeferredValuesResponse
              • DeviceTokenRequest
              • Field
              • FieldInstance
              • Fields
              • FieldValidity
              • FormValidity
              • MasterCardBrandingRequest
              • SecureDeviceTokenOptions
              • Styles
              • TokenResponse
              • VisaBrandingRequest
            • Methods
              • initApplePayButton
              • initCardToken
              • initSecureDeviceToken
              • requestBrandsByMerchant method
              • requestDeviceToken method
              • requestInitCardBrandingAnimation
            • Types
              • CssProperties
              • Currency
              • FieldTypeEnum
          • Card Payouts
            • Card Payouts Interface
              • ICardPayouts
            • Enumerations
              • Enumeration `InputModelEnum`
            • Errors
              • Errors
            • Interfaces
              • CardPayoutOptions
              • CardPayoutSubscriptionTokenResponse
              • CardPayoutUniqueTokenResponse
              • Field
              • Fields
              • FieldValidity
              • Interface FormValidity
              • Interface `Styles`
            • Methods
              • initCardPayoutToken
            • Type Aliases
              • CardPayoutTokenResponse
              • InputTypeEnum
            • Types
              • CssProperties
          • Kushki
            • Methods
              • init function
              • requestBankList function
              • requestCommissionConfiguration function
            • Classes
              • KushkiError
            • Interfaces
              • CommissionConfigurationRequest
              • IKushki
              • KushkiOptions
    • RaΓ­z
    • Schemas
      • API Raw Card Present
        • metadata
        • extra_taxes
        • card
        • sub_merchant
        • pos_details
        • enc_tlv
        • deferred
        • contact_details
        • card_details
        • amount
      • Chargebacks
      • Commissions
      • Gateway Status
      • ChargebackListResponse
      • StatusComponent
      • currency
      • one-and-two-step-payment
      • webhooksChargeback
      • ChargebackItem
      • webhooks
      • networkToken
      • webhooksItem
      • transactionType
      • ErrorResponse400
      • threeDomainSecure
      • ErrorResponse401
      • product
      • ErrorResponse403
      • payment_submethod
      • ErrorResponse500
      • payment_method
      • paymentMethod
      • orderDetails
      • Shipping Address
      • headers
      • extraTaxes
      • documentType
      • currency
      • currency-cash-in
      • currency-CL
      • binInfo
      • UnexpectedErrorResponse
      • citMit
      • SubscriptionUpdate
      • messageFields
      • network
      • SubscriptionAdjustmentRequest
      • Subscription
      • Submerchant
      • Shipping-Address
      • Promotions
      • Metadata
      • Language
      • InvalidBinResponse
      • GetConfigurationRequest
      • ErrorResponse
      • Deferred
      • Country
      • ContactDetails
      • ChargesVoidCardResponse
      • Channel
      • Card
      • Billing-Address
      • BadRequestResponse
      • Amount
      • Amount-cash-in
      • Amount-CL
  • MΓ©xico πŸ‡²πŸ‡½
    • Bienvenidos
    • ONLINE PAYMENTS
      • CARD
        • CARD
        • 1. Request a card token
        • 2. Make a charge or deferred charge
        • 3. Void a transaction
        • 4. Refund a transaction
        • 5. Request deferred options
        • 6. Authorize payments
        • 7. Reauthorize payments
        • 8. Capture an authorized payment
        • 9. Bin Info
        • 10. Bin Info V2
        • 11. Validate OTP
        • 12. Verify Account
        • 12. Verify Account
        • 6. Authorize payments
        • 10. Bin Info V2
        • 8. Capture an authorized payment
        • 3. Void a transaction
        • 4. Refund a transaction
        • 7. Reauthorize payments
        • 1. Request a card token
        • 9. Bin Info
        • 5. Request deferred options
        • 2. Make a charge or deferred charge
        • 11. Validate OTP
      • CASH IN
        • 1. Request a cash in token
        • 2. Init Transaction
        • 3. Transaction Status
        • 1. Request a cash in token
        • 2. Init Transaction
        • 3. Transaction Status
      • TRANSFER IN
        • 1. Request a Transfer In token
        • 2. Init Transaction
        • 4. Get Status Copy
        • 1. Request a Transfer In token
        • 4. Get Status Copy
        • 2. Init Transaction
      • TRANSFER OUT
        • 1. Get Bank List
        • 2. Request a Transfer Out token
        • 3. Init Transaction
        • 4. Get Status
        • 5. Wallet Balance
        • 5. Wallet Balance
        • 1. Get Bank List
        • 4. Get Status
        • 2. Request a Transfer Out token
        • 3. Init Transaction
      • ONE-CLICK & SCHEDULED PAYMENTS
        • 1. Request a recurring charge token
        • 2. Create a recurring charge
        • 3. Update recurring charge card data
        • 4. Make an One-click payment
        • 5. Cancel a recurring charge
        • 6. Update a recurring charge
        • 7. Add a temporary charge or discount
        • 8. Authorize payments Copy
        • 9. Capture an authorized payment Copy
        • 10. Get recurring charge Info
        • 1. Request a recurring charge token
        • 8. Authorize payments Copy
        • 3. Update recurring charge card data
        • 6. Update a recurring charge
        • 10. Get recurring charge Info
        • 2. Create a recurring charge
        • 5. Cancel a recurring charge
        • 9. Capture an authorized payment Copy
        • 4. Make an One-click payment
        • 7. Add a temporary charge or discount
      • PAYMENT BUTTON
        • 1. Create a payment button
        • 1. Create a payment button
      • SMARTLINKS V2
        • 1. Create a Smartlink
        • 2. Get a Smartlink
        • 3. Delete a Smartlink
        • 4. Update a Smartlink
        • 1. Create a Smartlink
        • 4. Update a Smartlink
        • 2. Get a Smartlink
        • 3. Delete a Smartlink
      • PAYMENT CREDENTIALS
        • 1. Create a credential
        • 2. Search credentials
        • 3. Advanced search
        • 4. Activate or deactivate
        • 5. Delete credential
        • 6. Update credential
        • 7. Regenerate a credential
        • 3. Advanced search
        • 6. Update credential
        • 5. Delete credential
        • 2. Search credentials
        • 4. Activate or deactivate
        • 7. Regenerate a credential
        • 1. Create a credential
      • COMMISSIONS
        • 1. Get Commission Configuration
        • 1. Get Commission Configuration
      • GATEWAY STATUS
        • 1. Get gateway status
        • 1. Get gateway status
      • ANALYTICS
        • 1. Get transactions list
        • 1. Get transactions list
    • CARD PRESENT PAYMENTS (BILLPOCKET)
      • Get token
      • States
      • Validate token
      • Municipalities
      • Collect payments
      • Tax companies
      • Capture an authorized payment
      • Commercial activities
      • Refund
      • Create checkout
      • Get status
      • Get checkout details
      • Collect card payments
      • Print Ticket
      • Collect card payments v2
      • Cancel Push Notification
      • Get transaction status
      • Add or update CLABE account
      • Configure payment link
      • Get payment link configuration
      • Create payment link
      • Update payment link
      • List payment links
      • Delete payment link
      • Add CLABE account
      • Get token
      • Get transaction list
      • Get transaction list v2
      • Get transaction list v3
      • Get transaction list v4
      • Create user
    • CARD PRESENT PAYMENTS (API RAW) Copy Copy
      • error-catalog
      • Test data
      • One-time payments
        • Single payment
      • Two-step-payments
        • Authorization and capture
      • Voids & Refunds
        • Void & Reverse
        • Refund a transaction
      • Card information
        • Balance inquiries
        • Get BIN Info
        • BIN info V2
        • Request deferred options
      • Query Transactions
        • Transaction Search
  • Ecuador πŸ‡ͺπŸ‡¨
    • Bienvenidos
    • ONLINE PAYMENTS
      • Card
        • Overview
        • Request a card token
        • Make a charge or deferred charge
        • Void a transaction
        • Request deferred options
        • Validate OTP
        • Refund a transaction
        • Bin Info
        • Bin Info V2
      • One Click Charges
        • Overview
        • Request a recurring charge token
        • Create a recurring charge
        • Make an One-click payment
        • Cancel a recurring charge
        • Add a temporary charge or discount
        • Get recurring charge Info
        • Update a recurring charge
        • Update recurring charge card data
      • Transfer in
        • Overview
        • Get Bank List
        • Request a Transfer In token
        • Init Transaction
        • Get Status
      • Cash in
        • Overview
        • Request a cash in token
        • Init Transaction
        • Transaction Status
        • Update a cash in transaction
        • Delete a cash in transaction
      • Chargebacks
        • Overview
        • Query chargebacks
        • Request chargeback export
      • Smartlinks
        • Overview
        • Create a Smartlink
        • Update a Smartlink
        • Get a Smartlink
        • Delete a smartlink
        • Get a Smartlink
        • Delete a Smartlink
        • Update a Smartlink
        • Create a Smartlink
      • Payment Button
        • Overview
        • Create a payment button
      • Payment Credentials
        • Overview
        • Regenerate a credential
        • Activate or deactivate
        • Update credential
        • Search credentials
        • Delete credential
        • Create a credential
        • Advanced search
      • Gateway Status
        • Overview
        • Get gateway status
      • Analytics
        • Overview
        • Get transactions list v2
        • Get transactions list v1
      • Commissions
        • Commissions
        • Get Commission Configuration
  • Colombia πŸ‡¨πŸ‡΄
    • ANALYTICS
      • Get transactions list v1
      • Get transactions list v2
    • CARD-OUTS
      • Request a cash out token
      • Init Transaction
      • Update a cash out transaction
      • Delete a cash out transaction
      • Transaction Status
    • CARD
      • Bin Info
      • Bin Info V2
      • Request deferred options
      • Request a card token
      • Make a charge or deferred charge
      • Create payment (tokenless)
      • Authorize payments
      • Preauthorization (tokenless)
      • Capture an authorized payment
      • Reauthorize payments
      • Refund a transaction
      • Void a transaction
      • Verify Account
      • Validate OTP
    • 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
      • Void a transaction
      • Balance for Payouts
    • CASH-IN
      • Request a cash in token
      • Init Transaction
      • Update a cash in transaction
      • Delete a cash in transaction
      • Transaction Status
    • CASH-OUT
      • Request a cash out token
      • Init Transaction
      • Update a cash out transaction
      • Delete a cash out transaction
      • Transaction Status
    • COMMISSIONS
      • Get Commission Configuration
    • GATEWAY-STATUS
      • Get gateway status
      • Get platform status
    • ONE-CLICK & SCHEDULED PAYMENTS
      • Request a recurring charge token
      • Update recurring charge card data
      • Update a recurring charge
      • Add a temporary charge or discount
      • Get recurring charge Info
      • Create a recurring charge
      • Make an One-click payment
      • Cancel a recurring charge
      • Authorize payments
      • Capture an authorized payment
    • PAYMENT-BUTTON
      • Create a payment button
    • PAYMENT-CREDENTIALS
      • Advanced search
      • Delete credential
      • Regenerate a credential
      • Search credentials
      • Activate or deactivate
      • Update credential
      • Create a credential
    • SMARTLINKS-V2
      • Create a Smartlink
      • Get a Smartlink
      • Update a Smartlink
      • Delete a smartlink
    • TRANSFER-IN
      • Get Bank List
      • Request a Transfer In token
      • Init Transaction
      • Get Status
    • TRANSFER-OUT
      • Balance for Payouts
      • Get Bank List
      • Get Bank List V2
      • Request a Transfer Out token
      • Init Transaction
      • Get Status
      • Void a transaction
  • Chile πŸ‡¨πŸ‡±
    • Bienvenidos
    • CARD PRESENT PAYMENTS (API RAW) Copy
      • One-time payments
      • Two-step-payments
      • Voids & Refunds
      • Card information
      • Query Transactions
    • Online Payments
      • Card Async
        • Request a card async token
        • Authorize payments
        • Get Status
        • Capture an authorized payment
        • Init Transaction
      • Async Card Recurring Charges
        • Request an async card recurring charge token
        • Init an async card recurring charge
        • Capture an authorized payment
        • Authorize payments
        • Capture an authorized payment
        • Authorize payments
      • Card
        • Bin Info
        • Bin Info V2
        • Request deferred options
        • Request a card token
        • Make a charge or deferred charge
        • Create payment (tokenless)
        • Authorize payments
        • Capture an authorized payment
        • Reauthorize payments
        • Void a transaction
        • Refund a transaction
        • Voucher
        • Validate OTP
        • Verify Account
      • Chargebacks
        • Query chargebacks
        • Request chargeback export
      • Transfer In
      • Transfer Out
      • Cash In
      • Smartlinks V2
      • Analytics
        • Get transactions list v1
        • Get transactions list v2
      • Gateway Status
        • Get gateway status
      • Commissions
      • Payment Credentials
      • Payment Button
      • Platform Status
      • Subscription Transactions
      • Preauthorization (tokenless)
  1. CARD PRESENT PAYMENTS (API RAW) Copy Copy

One-time payments

Integrate the Kushki services to accept one-time card-present payments in your existing flow or create a new flow with the services we offer.
Important
Remember that it is necessary to make the requests through HTTPS using the credentials we provided. It is important that you do not share sensitive data in public places.
In this guide, you will find a description of the card-present services enabled in your integration with Kushki.
Some of the available one-time payments you can perform are:
Single charge
Charge with cashback
Charge with tip
Deferred charge

Supported Reading Channels#

We support the following reading channels. The fields you send to us to process a charge may differ depending on the reading type.
ICC = Integrated Circuit Card
MCR = Magnetic Card reader
NFC = Near Field Communication (Contactless)
Here we tell you about the description of each of the fields that are part of the request to accept transactions and the differences of these fields according to the reading channel of the POS terminal of your business.
FieldTypeDescriptionRequiredICC (Chip)MCR (Stripe)NFC (Contactless)
amountobjectTransaction total amountrequiredβœ…βœ…βœ…
amount.currencystringType of currency in which the transaction is being processedrequiredβœ…βœ…βœ…
amount.extra_taxesobjectAdditional taxes to be taken into account in the collection of taxesoptionalβœ…βœ…βœ…
amount.extra_taxes.airport_taxnumberAirport taxoptionalβœ…βœ…βœ…
amount.extra_taxes.iacnumberAggregate Consumption Taxoptionalβœ…βœ…βœ…
amount.extra_taxes.icenumberSpecial Excise Tax.
It must be set to 0 in case the transaction does not have this tax
optionalβœ…βœ…βœ…
amount.extra_taxes.travel_agencynumberTravel agency surcharge. Used in airlinesoptionalβœ…βœ…βœ…
amount.ivanumberValue Added Tax.
Should be set to 0 in case the transaction has no VAT tax
requiredβœ…βœ…βœ…
amount.subtotal_ivanumberValue Added Tax subtotal (it does not include tip).
Should be set to 0 in case the transaction has no VAT tax.
requiredβœ…βœ…βœ…
amount.subtotal_iva0numberTotal amount of the transaction in case it is not taxed (it does not include tip).
The total amount of the transaction should be set here if the transaction is not taxed. Otherwise, it should be set to 0.
requiredβœ…βœ…βœ…
amount.tipnumberTipoptionalβœ…βœ…βœ…
cardobjectCard information of the card with which the customer is making the transactionoptionalβœ…βœ…βœ…
card.card_holder_namestringName of cardholderoptionalβœ…βœ…βœ…
card_detailsobjectCard information details. Depends on the input moderequiredβœ…βœ…βœ…
card_details.enc_tlvstringNot required when the card is read with magnetic stripesoptionalβœ…βŒβœ…
card_details.pin_blockstringThe PIN block is a data block that is used to encapsulate a personal identification number (PIN) during the process. It must be sent if the transaction is an online PIN transaction and must be encrypted with the BDK PIN key shared by Kushkioptionalβœ…βœ…βœ…
card_details.pin_ksnstringRequired if the pin_block field is sent.
Allowed values: 16 characters 20 characters
optionalβœ…βœ…βœ…
card_details.pin_ksn_descstringRequired if the pin_block field is sent.
Allowed values: 655 A55
optionalβœ…βœ…βœ…
card_details.reading_typestringIndicates the reader type.
Allowed values: ICC, MCR, NFC
requiredβœ…βœ…βœ…
card_details.tracksobjectTrack informationrequiredβœ…βœ…βœ…
card_details.tracks.enc_track1stringRequired when reading is done by magnetic stripe.optionalβŒβœ…βŒ
card_details.tracks.enc_track2stringRequired when reading by chip, magnetic stripe or NFC.requiredβœ…βœ…βœ…
card_details.tracks.track_ksnstringRequired when reading is done by chip or NFC. Data encryption key.requiredβœ…βŒβœ…
card_details.tracks.track_ksn_descstringRequired if the track_ksn field is sent.optionalβœ…βœ…βœ…
card_details.tracks.track2_lengthstringNumber in string format representing the length of track 2.optionalβœ…βœ…βœ…
client_transaction_idstringUUID v4 generated from the trade side. A unique ID must be created per transaction.requiredβœ…βœ…βœ…
countrystringISO 3166-1 alpha-3
Allowed values: PER
requiredβœ…βœ…βœ…
is_deferredbooleanAlert to make a deferred paymentoptionalβœ…βœ…βœ…
deferredobjectRequired when is_deferred = true.optionalβœ…βœ…βœ…
deferred.monthsstringNumber of months over which payment will be deferredoptionalβœ…βœ…βœ…
is_cashbackbooleanCashback or refund alertsoptionalβœ…βœ…βœ…
cashback_amountnumberRequired when is_cashback = trueoptionalβœ…βœ…βœ…
pos_detailsobjectPOS terminal informationrequiredβœ…βœ…βœ…
pos_details.brandstringTerminal referencerequiredβœ…βœ…βœ…
pos_details.has_printbooleanIndicates whether the POS terminal has hardware for voucher printing.optionalβœ…βœ…βœ…
pos_details.locationobjectThe longitude and latitude where the POS terminal is located.optionalβœ…βœ…βœ…
pos_details.location.latitudenumberThe latitude where the POS terminal is located.optionalβœ…βœ…βœ…
pos_details.location.longitudenumberThe length where the POS terminal is located.optionalβœ…βœ…βœ…
pos_details.modelstringPOS terminal model.optionalβœ…βœ…βœ…
pos_details.terminal_idstringIdentification generated by Kushki. Applies a per-terminal identificationrequiredβœ…βœ…βœ…
pos_details.versionstringTerminal software versionoptionalβœ…βœ…βœ…
contact_detailsobjectContact detailsrequiredβœ…βœ…βœ…
contact_details.document_numberstringDocument number. Optional when document_type = -1requiredβœ…βœ…βœ…
contact_details.document_typestring-1: No document will be sent.
0: DNI
1: Passport
requiredβœ…βœ…βœ…
contact_details.emailstringCardholder's email addressoptionalβœ…βœ…βœ…
contact_details.first_namestringCardholder's first nameoptionalβœ…βœ…βœ…
contact_details.last_namestringCardholder's last nameoptionalβœ…βœ…βœ…
contact_details.phone_numberstringCardholder's cell phone number. EE.164 standardoptionalβœ…βœ…βœ…
transaction_modestringTransaction mode
Allowed values: Authorization, Reverse, Void
requiredβœ…βœ…βœ…
transaction_typestringTransaction type.
Allowed values: capture, charge, preAuth, reAuthorization, refund
requiredβœ…βœ…βœ…
cvm_typestringCardholder verification methods.
Allowed values: none, pin, signature
requiredβœ…βœ…βœ…
sub_merchantobjectSubmerchant informationoptionalβœ…βœ…βœ…
sub_merchant.mccstringMCC- Merchant Category Coderequiredβœ…βœ…βœ…
sub_merchant.id_affiliationstringMerchant Affiliation Idrequiredβœ…βœ…βœ…
sub_merchant.soft_descriptorstringText that will appear on the cardholder's statement.requiredβœ…βœ…βœ…
sub_merchant.citystringCity where the submerchant is locatedrequiredβœ…βœ…βœ…
sub_merchant.country_ansstringISO 3166-1 alpha-3requiredβœ…βœ…βœ…
sub_merchant.zip_codestring<= 10 charactersrequiredβœ…βœ…βœ…
sub_merchant.addressstringSubmerchant addressrequiredβœ…βœ…βœ…
sub_merchant.social_reasonstringSubmerchant's business name. Applies to Visa transactions only.requiredβœ…βœ…βœ…
sub_merchant.codestringSubmerchant identifierrequiredβœ…βœ…βœ…
merchant_idstringIdentifier generated by the merchant. It must contain 9 digits.optionalβœ…βœ…βœ…
metadataobjectAdditional information of the transactionoptionalβœ…βœ…βœ…

Single charge#

To make a charge, send charge in the transaction_type field and Authorization in the transaction_mode field as part of the body of your request.
ICC (Chip)
MCR (Magnetic Stripe)
NFC (Contactless)
{
    "amount": {
        "currency": "PEN",
        "iva": 0.0,
        "subtotal_iva": 0.0,
        "subtotal_iva0": 600.0,
        "tip": 0.0,
        "extra_taxes": {
            "airport_tax": 0.0,
            "iac": 0.0,
            "ice": 0.0,
            "travel_agency": 0.0
        }
    },
    "card_details": {
        "enc_tlv": "CE447A062C49774934E42A7F826668C0C478E38402C158062EE794C0E471B43EA8CE49C256C2C8B157526B0B2BE74FC23F65E18D4F52B99A1A0910E6CCD9B11A32D6D537E2B6E2B011C89569DE6A3D53318080BC77E0E70B398ED3083FD7366CCF8FB4DBF34A116E6D52CFBEF26371878D842034E5029EF62DF235D2C427F04102E451773D9E8975978917E3BC531327702967052E239F8C592734AE14688E603C52B858FC1D97B763AE623603F1475FFFB065EC07AF7A29",
        "pin_ksn": "FFFF4357486333600002",
        "reading_type": "ICC",
        "tracks": {
            "enc_track2": "283587285CE10278E7FA50AD5C97CFFE87F472C9FE6406F8",
            "track_ksn": "FFFF4357486333600002"
        }
    },
    "card": {
        "card_holder_name": "CUST IMP MC 103"
    },
    "contact_details": {
        "document_number": "",
        "document_type": "-1",
        "email": "",
        "first_name": "",
        "last_name": "",
        "phone_number": ""
    },
    "pos_details": {
        "terminal_id": "PB04216R20537",
        "brand": "SUNMI",
        "location": {
            "latitude": -0.22480833333333333,
            "longitude": -78.487955
        },
        "model": "P2-EU",
        "version": "Kushki SunmiV1.1.26",
        "has_print": true
    },
    "country": "PER",
    "is_deferred": false,
    "client_transaction_id": "6680eadc-6c8d-44aa-8ca0-18e061c1472a",
    "merchant_id": "0987654321",
    "transaction_type": "charge",
    "transaction_mode": "Authorization",
    "is_cashback": false,
    "cvmType": "none"
}

Deferred charge#

To defer a payment, if your customer requests to defer the charge of the transaction made at your store, you need to consume the endpoint https://api-uat.kushkipagos.com/pos/v1/transaction in the request body, include charge in the transaction_type field and Authorization in the transaction_mode field. Also, include the value of is_deferred in true, send the deferred object and in months, include the total number of months for which your customer’s payment will be deferred.
Send the deferred object along with the transaction details.
"deferred": {
    "months": "10"
}
Please see the full example below for more details:
{
  "card": {
    "card_holder_name": "Joe Doe"
  },
  "amount": {
    "iva": 0,
    "tip": 0,
    "currency": "PEN",
    "extra_taxes": {},
    "subtotal_iva": 0,
    "subtotal_iva0": 111
  },
  "country": "PER",
  "cvm_type": "none",
  "deferred": {
    "months": "10"
  },
  "is_cashback": false,
  "is_deferred": true,
  "pos_details": {
    "brand": "SUNMI",
    "model": "P2-EU",
    "version": "Kushki SunmiV1.1.28",
    "location": {
      "latitude": -1.2346533333333334,
      "longitude": -78.61959166666666
    },
    "has_print": true,
    "terminal_id": "PB04209860189"
  },
  "card_details": {
    "tracks": {
      "track_ksn": "FFFF4357486333600003",
      "enc_track2": "A5A26987202B4E8F3A595E0116A85E56D842005394315A18"
    },
    "enc_tlv": "8332743DB0D0FAA29CF0AA187558BE3EF056085299635BAD4147E5D50D70D6E01A396081D618BA3001AF8262CD8F52DC67C995D9E99E824EC7995FE20AD5E5FE850B29863A2E61D8BD6A2951A2F24CD0AEE4087020745EB48CC5B40E2AE2263D5BB47D4D508D8DC69E54C8ECC2AB6F471C299D1CAB1712CCD2E2D378A57D285E7139CCC6C98D57D8A6C30B1CE110DDE23C28C9C7FCAFEF2023AE4FC8B03BE86CA1B673D962D9E7EA",
    "pin_ksn": "FFFF4357486333600003",
    "reading_type": "NFC"
  },
  "transaction_mode": "Authorization",
  "transaction_type": "charge",
  "client_transaction_id": "dbdeb25b-b34a-4b6c-b664-085ea9552954"
}

Accepting payments with tips#

You can accept payments with tips by adding an additional field with the tip information.
To accept this type of service, you need to consume the endpoint https://api-uat.kushkipagos.com/pos/v1/transaction and include the tip value in the tip field. Send Authorization in the transaction_mode field and charge in the transaction_type as part of the request body.
Check the example below:
{
  "card": {
    "card_holder_name": "CUST IMP MC 103"
  },
  "amount": {
    "iva": 0,
    "subtotal_iva": 0,
    "subtotal_iva0": 6000,
    "tip": 100,
    "currency": "PEN",
    "extra_taxes": {
      "iac": 0,
      "ice": 0,
      "airport_tax": 0,
      "travel_agency": 0
    }
  },
  "country": "PER",
  "cvm_type": "none",
  "is_cashback": false,
  "is_deferred": false,
  "merchant_id": "0987654321",
  "pos_details": {
    "brand": "SUNMI",
    "model": "P2-EU",
    "version": "Kushki SunmiV1.1.26",
    "location": {
      "latitude": -0.22480833333333333,
      "longitude": -78.487955
    },
    "has_print": true,
    "terminal_id": "PB04216R20537"
  },
  "card_details": {
    "tracks": {
      "track_ksn": "FFFF4357486333600002",
      "enc_track2": "283587285CE10278E7FA50AD5C97CFFE87F472C9FE6406F8"
    },
    "enc_tlv": "CE447A062C49774934E42A7F826668C0C478E38402C158062EE794C0E471B43EA8CE49C256C2C8B157526B0B2BE74FC23F65E18D4F52B99A1A0910E6CCD9B11A32D6D537E2B6E2B011C89569DE6A3D53318080BC77E0E70B398ED3083FD7366CCF8FB4DBF34A116E6D52CFBEF26371878D842034E5029EF62DF235D2C427F04102E451773D9E8975978917E3BC531327702967052E239F8C592734AE14688E603C52B858FC1D97B763AE623603F1475FFFB065EC07AF7A29",
    "pin_ksn": "FFFF4357486333600002",
    "reading_type": "ICC"
  },
  "contact_details": {
    "email": "",
    "last_name": "",
    "first_name": "",
    "phone_number": "",
    "document_type": "-1",
    "document_number": ""
  },
  "transaction_mode": "Authorization",
  "transaction_type": "charge",
  "client_transaction_id": "6680eadc-6c8d-44aa-8ca0-18e061c1472a"
}

Accepting payments with cashback (PerΓΊ πŸ‡΅πŸ‡ͺ)#

Kushki allows you to make a cashback at the time of a physical card payment. To accept this type of service, you need to consume the endpoint https://api-uat.kushkipagos.com/pos/v1/transaction and send the value of the is_cashback parameter in true and specify the cashback amount in cashback_amount.
Important
Please note that cashback only works with local cards.
Cashback is not supported for contactless transactions. Ensure the reading_type is not set to NFC.
Check the example below:
{
  "card": {
    "card_holder_name": "C92546CB8524197A17A1B960D5D09A01ABBE63E5478FD5155DBE2B18824771046EEA135D73B192236937AF33E781B81804098835D3A1AD81A863BAEA3BAA42E4"
  },
  "amount": {
    "iva": 0,
    "tip": 0,
    "currency": "PEN",
    "extra_taxes": {
      "iac": 0,
      "ice": 0,
      "airport_tax": 0,
      "travel_agency": 0
    },
    "subtotal_iva": 0,
    "subtotal_iva0": 2000
  },
  "country": "PER",
  "is_cashback": true,
  "pos_details": {
    "brand": "SUNMI",
    "model": "P2-EU",
    "version": "Kushki SunmiV1.1.13",
    "location": {
      "latitude": -0.1848534,
      "longitude": -78.4769761
    },
    "has_print": true,
    "terminal_id": "PB04209860189"
  },
  "card_details": {
    "tracks": {
      "track_ksn": "FFFF4357486333600002",
      "enc_track1": "06056D9EE9D77E4D846912F77C0B37C5FC6A95D1DF21DD502D3A08E8141CF82818F5DC4FA7637F400EA488D388F2B70F8A22EAEFBBEEDDE93A118BFB789BD8C0",
      "enc_track2": "FD580B3BBFCCB821EAB4AB64947C4632C0BE6C70AB4ECDE4"
    },
    "pin_ksn": "FFFF4357486333600002",
    "reading_type": "MCR"
  },
  "cashback_amount": 20,
  "transaction_mode": "Authorization",
  "transaction_type": "charge",
  "client_transaction_id": "ae6dd91a-9173-4ec7-8934-3178454ef341"
}
Modified atΒ 2026-03-13 14:08:17
Previous
Test data
Next
Single payment
Built with