1. Webhooks
  • 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. Webhooks

Webhooks — Refunds

Kushki sends a webhook notification to your endpoint when the following refund event occurs:
A refund is approved
INFO
You can also check the status of refunds from your Console.

Request structure#

Webhook notifications use POST with the authentication headers.
Method: POST
Body: JSON object
FieldTypeDescription
countrystringCountry of the transaction — "Mexico"
franchisestringCard network — VISA, MASTERCARD, PROSA
availablebooleanWhether the transaction is available
channelstringTransaction channel — "POS"
public_credential_idstringPublic credential used
client_transaction_idstringUUID provided by the merchant
mccstringMerchant category code
card_countrystringISO country code of the card-issuing country
processor_namestringName of the card processor
transaction_referencestringKushki transaction reference
payment_methodstring"card"
card_detailsobjectCard reading details
card_details.prosa_infoobjectPROSA-specific card info (Mexico)
card_details.reading_typestringICC, MCR, or NFC
card_details.card_sequentialstringCard sequence number
card_details.tlvstringRaw TLV data from the chip
transaction_idstringInternal Kushki transaction ID
createdintegerTransaction creation timestamp (Unix ms)
merchant_namestringMerchant display name
transaction_typestringREFUND
processorobjectProcessor response
processor.codestringProcessor response code
processor.messagestringProcessor response message
reference_numberstringAcquirer reference number
tax_idstringMerchant tax ID
sync_modestring"online"
additional_infoobjectAdditional ISO 8583 fields
additional_info.f7stringISO field 7
additional_info.f63stringISO field 63
additional_info.f11stringISO field 11
additional_info.f37stringISO field 37
additional_info.f32stringISO field 32
additional_info.f62s2stringISO field 62 sub-field 2
subtotal_iva0numberTransaction subtotal (tax-exempt)
deferredobjectMSI installment details
deferred.monthsstringNumber of MSI months
response_codestringISO response code
transaction_statusstringAPPROVAL or DECLINED
social_reasonstringMerchant legal name
payment_brandstringCard network — VISA, MASTERCARD
acquirer_bankstringAcquiring bank name
request_amountnumberRequested transaction amount
merchant_idstringKushki merchant ID
merchant_categorystringMerchant category
acq_transaction_typestring"Refund"
securityobjectSecurity metadata
security.ipstringClient IP address
security.user_agentstringClient user agent
masked_credit_cardstringMasked card number (e.g., 476134XXXXXX0043)
authorization_codestringBank authorization code
issuing_bankstringName of the card-issuing bank
processor_idstringProcessor identifier
foreign_cardbooleantrue if the card was issued outside Mexico
pos_detailsobjectPOS terminal details
pos_details.brandstringTerminal brand (e.g., "SUNMI")
pos_details.modelstringTerminal model (e.g., "P2-EU")
pos_details.versionstringTerminal software version
pos_details.terminal_idstringTerminal identifier
pos_details.locationobjectGPS coordinates of the terminal
pos_details.location.latitudenumberLatitude
pos_details.location.longitudenumberLongitude
last_four_digitsstringLast 4 digits of the card
approval_codestringBank approval code
amountobjectFull amount breakdown
amount.currencystring"MXN"
amount.subtotal_iva0numberTax-exempt subtotal
amount.extra_taxesobjectAdditional taxes
rules_responseobjectMerchant configuration from Kushki rules engine
rules_response.countrystring"MEX"
rules_response.citystringMerchant city
rules_response.provincestringMerchant state
rules_response.addressstringMerchant address
rules_response.zip_codestringMerchant zip code
rules_response.currencystring"MXN"
rules_response.merchant_namestringMerchant name
rules_response.mccstringMCC
rules_response.tax_idstringMerchant tax ID
rules_response.tccstringTerminal capability code
rules_response.business_registration_idstringBusiness registration ID
rules_response.business_linestringBusiness line code
rules_response.business_categorystringBusiness category
rules_response.commercial_executivestringCommercial executive assigned
rules_response.contact_personstringContact person name
rules_response.telephonestringMerchant phone number
rules_response.total_amountstringTotal transaction amount
rules_response.idstringMerchant configuration ID
rules_response.acquirer_typestring"kushki"
rules_response.authorizerobjectAcquirer/processor configuration
rules_response.authorizer.authorizer_namestringProcessor name
rules_response.authorizer.soft_descriptorstringSoft descriptor on cardholder statement
rules_response.authorizer.authorizer_bank_idstringAuthorizer bank ID
rules_response.authorizer.authorizer_typestringAuthorizer type
rules_response.authorizer.commerce_codestringCommerce code
rules_response.authorizer.retailer_idstringRetailer ID
rules_response.authorizer.authorizer_acquirer_binstringBIN of the acquirer
rules_response.authorizer.category_modelstringCategory model
rules_response.authorizer.terminal_idstringTerminal ID in the authorizer
rules_response.authorizer.authorizer_aliasstringAuthorizer alias
acq_transaction_scopestring"local" or "international"
contact_detailsobjectCustomer contact data
contact_details.document_typestringDocument type code
contact_details.document_numberstringDocument number
acq_transaction_modestring"Authorization"
card_typestringcredit, debit, or prepaid
ticket_numberstringKushki ticket number
card_country_codestring"MEX"
credential_aliasstringCredential display name
bin_cardstringFirst 6 digits of the card
credential_idstringCredential identifier
cvm_typestringCardholder verification method
approved_transaction_amountnumberApproved amount
transactionReferencestringDuplicate of transaction_reference

Example#

{
  "country": "Mexico",
  "franchise": "VISA",
  "available": true,
  "channel": "POS",
  "public_credential_id": "146cbf33c7fd45c4111cbf9d3f04478d",
  "client_transaction_id": "6681eadc-6d8d-44ba-8ca0-18e061c1172a",
  "mcc": "5411",
  "card_country": "MEX",
  "processor_name": "VISA",
  "transaction_reference": "daa8583d-f18c-419a-840e-be5c95011eb6",
  "payment_method": "card",
  "card_details": {
    "card_sequential": "11",
    "prosa_info": {},
    "reading_type": "ICC",
    "tlv": "9F2701809F1A0206049A032208309F02060000000120005F2A0206044F07A00000000310109F0607A00000000310109F26085DE291D252397F709F100706010A03A020009F37044A05C99750095649534120544553549F6E009F5B009F3602008C9F330360F8C89F03009C010082021C008407A00000000310105F34011195058080048000"
  },
  "transaction_id": "111663896831621702",
  "created": 1663896831738,
  "merchant_name": "Mi Comercio México",
  "transaction_type": "REFUND",
  "processor": {
    "code": "000",
    "message": "Transacción Aprobada."
  },
  "reference_number": "226520105211",
  "tax_id": "MCC800101HNG",
  "sync_mode": "online",
  "additional_info": {
    "f7": "0922203351",
    "f32": "408210",
    "f11": "100611",
    "f62s2": "40000000000000000302145412649612",
    "f37": "226520100611"
  },
  "subtotal_iva0": 500,
  "deferred": {
    "months": "1"
  },
  "response_code": "00",
  "transaction_status": "APPROVAL",
  "social_reason": "MI COMERCIO MÉXICO",
  "payment_brand": "VISA",
  "acquirer_bank": "Kushki",
  "request_amount": 500,
  "merchant_id": "20000000103802320000",
  "approved_transaction_amount": 500,
  "merchant_category": "Medium",
  "acq_transaction_type": "Refund",
  "security": {
    "ip": "187.212.254.148",
    "user_agent": "PostmanRuntime/7.29.2"
  },
  "masked_credit_card": "476134XXXXXX0043",
  "authorization_code": "120606",
  "issuing_bank": "BANORTE",
  "processor_id": "1652365464",
  "cvm_type": "pin",
  "foreign_card": false,
  "pos_details": {
    "location": {
      "latitude": 19.4326,
      "longitude": -99.1332
    },
    "model": "P2-EU",
    "version": "Kushki SunmiV1.1.28",
    "brand": "SUNMI",
    "terminal_id": "PB04209860189"
  },
  "last_four_digits": "0043",
  "approval_code": "120606",
  "amount": {
    "extra_taxes": {},
    "currency": "MXN",
    "subtotal_iva0": 500
  },
  "rules_response": {
    "country": "MEX",
    "commercial_executive": "user@example.com",
    "business_category": "0",
    "address": "Av. Insurgentes Sur 1234",
    "contact_person": "Juan García",
    "authorizer": {
      "authorizer_name": "VISA",
      "soft_descriptor": "KSK*MI COMERCIO",
      "authorizer_bank_id": "",
      "authorizer_type": "",
      "commerce_code": "353453",
      "authorizer_acquirer_bin": "476134",
      "retailer_id": "",
      "category_model": "0",
      "terminal_id": "1652365464",
      "authorizer_alias": "VISA"
    },
    "city": "Ciudad de México",
    "province": "CDMX",
    "merchant_name": "Mi Comercio México",
    "telephone": "+525512345678",
    "mcc": "5411",
    "zip_code": "06600",
    "tax_id": "MCC800101HNG",
    "tcc": "H",
    "business_registration_id": "000000000001",
    "total_amount": "500.000000",
    "business_line": "37006",
    "currency": "MXN",
    "id": "1652365464",
    "acquirer_type": "kushki"
  },
  "acq_transaction_scope": "local",
  "contact_details": {
    "document_number": "GACJ800101HDFRRN09",
    "document_type": "CURP"
  },
  "acq_transaction_mode": "Authorization",
  "card_type": "credit",
  "ticket_number": "319228478889680321",
  "card_country_code": "MEX",
  "credential_alias": "Mi Comercio México",
  "bin_card": "476134",
  "credential_id": "245c10532cd844e28e4ec9a83159d89b",
  "transactionReference": "daa8583d-f18c-419a-840e-be5c95011eb6"
}

Got a suggestion on this documentation? Contact us.
Modified at 2026-07-09 23:24:45
Previous
Webhooks — Card Payments
Next
Check Your Webhooks
Built with