Kushki Developer Portal
  1. Interfaces
Kushki Developer Portal
  • KUSHKI API
    • Kushki Developer Portal 🚀
    • Perú 🇵🇪
    • Ecuador 🇪🇨
    • Chile 🇨🇱
    • México 🇲🇽
    • Colombia 🇨🇴
    • 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
          • Javascript
          • Card Payouts
            • Interfaces
              • Interface `FormValidity`
              • Interface `Styles`
              • Interface `CardPayoutUniqueTokenResponse`
              • Interface `CardPayoutSubscriptionTokenResponse`
              • Interface `CardPayoutOptions`
              • Interface `Fields`
              • Interface `Field`
              • Interface `FieldValidity`
            • Type Aliases
              • Type Alias `InputTypeEnum`
              • Type Alias `CardPayoutTokenResponse`
            • Errors
              • Errors
            • Card Payouts Interface
              • Interface `ICardPayouts`
            • Enumerations
              • Enumeration `InputModelEnum`
            • Methods
              • initCardPayoutToken method
            • Types
              • Type Alias `CssProperties`
          • Antifraud
            • Interfaces
              • Untitled Doc
              • Untitled Doc
              • SiftScienceObject Interface
            • Methods
              • Untitled Doc
              • requestInitAntiFraud method
              • Untitled Doc
          • Kushki
            • Interfaces
              • Untitled Doc
              • CommissionConfigurationRequest interfaces
              • Untitled Doc
            • Classes
              • Untitled Doc
            • Methods
              • requestBankList function
              • requestCommissionConfiguration function
              • Kushki.js Hosted Fields init function
          • Card
            • Card-Interface
              • Untitled Doc
              • Untitled Doc
            • Interfaces
              • Untitled Doc
              • AppleTokenResponse Interface
              • Untitled Doc
              • Untitled Doc
              • BrandByMerchantResponse Interface
              • ApplePayOptions Interface
              • ApplePayPaymentContact Interface
              • ApplePayGetTokenOptions Interface
              • Untitled Doc
              • Untitled Doc
              • MasterCardBrandingRequest Interface
              • Untitled Doc
              • Untitled Doc
              • Untitled Doc
              • Untitled Doc
              • Untitled Doc
              • Untitled Doc
              • Untitled Doc
              • Untitled Doc
              • Untitled Doc
              • VisaBrandingRequest Interface
              • Untitled Doc
              • Untitled Doc
              • Untitled Doc
            • CarApplePay interface
              • ICardApplePay Interface
            • Errors
              • Untitled Doc
            • Methods
              • Untitled Doc
              • Untitled Doc
              • Untitled Doc
              • requestInitCardBrandingAnimation method
              • Untitled Doc
              • requestBrandsByMerchant method
            • Types
              • Untitled Doc
              • Untitled Doc
              • Untitled Doc
    • Schemas
      • webhooksChargeback
      • one-and-two-step-payment
      • webhooks
      • transactionType
      • threeDomainSecure
      • product
      • payment_submethod
      • paymentMethod
      • orderDetails
      • headers
      • extraTaxes
      • documentType
      • currency
      • currency-cash-in
      • currency-CL
      • binInfo
      • UnexpectedErrorResponse
      • SubscriptionUpdate
      • 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
  • APPIAN-SUBMERCHANT-REGISTER
    • Submerchant Validation in Batch
    • Query submerchant status by requestId/submerchantId
    • Get submerchantIds
    • Get credentials for submerchants
  1. Interfaces

AppleTokenResponse Interface

Represents the response returned after a successful Apple Pay tokenization request.
It contains the card token required for payment processing, and optionally, the billing and shipping contact data if available from the Apple Wallet.

Watch Out!#

The Apple Pay functionality is currently in a testing phase. It is only available for merchants in Chile 🇨🇱 and Peru 🇵🇪, and supports Visa and Mastercard cards.
Please note that this functionality is subject to change without prior notice.

Hierarchy#

AppleTokenResponse

Properties#

PropertyTypeDescription
tokenstringThe card token generated for use in the payment process.
billingContact (optional)ApplePayPaymentContactThe billing contact information provided by the user’s Apple Wallet.
shippingContact (optional)ApplePayPaymentContactThe shipping contact information provided by the user’s Apple Wallet.

token#

Type: string
Description:
Unique card token generated by Kushki’s API, ready to be used in the payment process.
This token can be passed directly to Kushki’s charge endpoint to complete a transaction.

billingContact#


Type: ApplePayPaymentContact
Description:
The billing contact information of the user as configured in their Apple Wallet.
Includes fields such as emailAddress, postalCode, countryCode, and others.

shippingContact#


Type: ApplePayPaymentContact
Description:
The shipping contact information of the user as configured in their Apple Wallet.
Includes fields such as addressLines, locality, postalCode, and country.

Example#

const appleTokenResponse: AppleTokenResponse = {
  token: "b9d7f9a6-5e4a-4a13-a8e2-99b6df4c17b3",
  billingContact: {
    givenName: "Jane",
    familyName: "Doe",
    emailAddress: "jane.doe@example.com",
    postalCode: "90210",
    countryCode: "US",
    country: "United States",
  },
  shippingContact: {
    givenName: "Jane",
    familyName: "Doe",
    addressLines: ["123 Main Street", "Apt 5B"],
    locality: "Los Angeles",
    administrativeArea: "CA",
    postalCode: "90210",
    country: "United States",
    countryCode: "US",
  },
};
This object illustrates a response containing a valid token, along with optional billingContact and shippingContact details from Apple Wallet.
Modified at 2026-02-02 22:10:25
Previous
Untitled Doc
Next
Untitled Doc
Built with