API Reference
Go to zen.comGo to myZEN.com
Documentation
Documentation
  • Sandbox
  • Plugin integration
  • Checkout integration
  • API business
  • Merchant panel
  • Brandbook
  • API transfers
Go to zen.comGo to myZEN.com
Documentation
Documentation
  • Sandbox
  • Plugin integration
  • Checkout integration
  • API business
  • Merchant panel
  • Brandbook
  • API transfers
  1. purchase
  • Introduction
  • Authentication & authorization
  • Environments
  • Transaction statuses
  • Notifications
  • Response codes
  • Error codes
  • purchase
    • Create transaction
      POST
    • Capture transaction
      POST
    • Transaction details using ZEN id
      GET
    • Transaction details using merchantTransactionId
      GET
    • Cancel transaction
      POST
    • Renew authorization
      POST
    • Validate ApplePay session
      POST
    • Calculate cashback
      POST
  • refund
    • Create transaction
  • payout
    • Create transaction
    • Transaction details using ZEN id
    • Transaction details using merchantTransactionId
    • Capture transaction
    • Cancel transaction
    • Renew transaction
    • Transaction details using ZEN id
    • Refresh transaction offers
    • Select transaction offer
  • payment-methods
    • Returns information about payment methods
    • Returns information about payment methods
  • payment-links
    • Create payment link
    • Fetch payment links list
    • Fetch payment link
    • Update payment link
  • customers
    • Create customer
    • Remove customer
    • Add customer recipient
    • Add payout card
    • Remove payout card
    • Fetch payout card list
    • Update payout card details
    • Fetch saved subscription customer list V3
    • Fetch customer
    • Update a customer
    • Fetch card
    • Update card details
    • Remove card
    • Fetch card list
    • Fetch customer recipient list
    • Fetch customer recipient
    • Update customer details recipient
    • Remove customer recipient
    • Add customer payout card
    • Fetch saved payout card V3
    • Initialize widget payout card process
    • Removes customer saved payout card V3
    • Fetch saved payout card list V3
    • Fetch blik paymentTokens list
    • Remove Blik paymentToken
    • Fetch Blik paymentToken
    • Add paynow recipient
    • Remove paynow profile
    • Fetch saved merchant customer payout recipient list V3
    • Verify merchant's customer payout recipient card
    • Fetch saved merchant customer's payout card V3
    • Update merchant payout card alias
    • Removes merchant customer payout card.
  • authorization
    • Calculate authorization amount
    • Calculate reversed authorization amount
  • subscriptions
    • Fetch subscription products list
    • Add new subscription product
    • Fetch subscription product
    • Update subscription product
    • Removes subscription product
    • Fetch subscription plan list
    • Add new subscription plan
    • Fetch subscription plan
    • Removes subscription plan
    • Activate subscription plan
    • Deactivate subscription plan
    • Fetch subscriptions list
    • Fetch subscription
    • Removes subscription
    • Cancel subscription
  • reports
    • Download report file
  • Schemas
    • Schemas
      • Cardpayouts
      • Healthcheck
      • MetaVersionOutput
      • Meta
      • paymentChannel
      • transaction status
      • merchantTransactionId
      • terminalId
      • transactionType
      • cryptoCurrency
      • destinationCurrency
      • destinationAddress
      • comment
      • customIpnUrl
      • returnUrl
      • itemsUrl
      • redirectUrl
      • imageUrl
      • cardToken
      • locale
      • expiryDate
      • cardNumber
      • cardHolderName
      • cvv
      • paymentCustomOptions
      • payoutCustomOptions
      • detailed information about customer for payout
      • topupCustomOptions
      • amount
      • currency
      • lastOnly
      • lastOnlyParam
      • segment
      • Transaction fee
      • uuid
      • status
      • transactionId
      • returnVerifyUrl
      • saveCard
      • descriptor
      • Combined payment methods information
      • btcAmount
      • request-id
      • terminal-id
      • tenant-id
      • extended
      • customer-id
      • client-id
      • itemsPerPage
      • page
      • direction
      • sortBy
      • subscriptionSortBy
      • external-customer-id
      • payoutBtcAddress
      • feeOwner
      • RedirectMerchantAction
      • FingerprintMerchantAction
      • ImageMerchantAction
      • MerchantAction
      • Card operation output
      • FraudData
      • CardAdd
      • CardOneclick
      • Information object
      • Currency pairs information object
      • Method Information Object
      • Payment methods
      • Calculated fee
      • TopupMethod
      • Customer
      • ExternalCustomer
      • TopupCustomer
      • External details about transaction
      • Details about transaction
      • Details about refund transaction
      • PCL_CARDOneClick
      • PCL_CARDExternalPaymentToken
      • PCL_CARDUnscheduled
      • PCL_CARDRecurringToken
      • PCL_CARDRecurringFullData
      • PCL_CARDOneTime
      • PCL_CARDAuthCheck
      • PCL_CARDAuthCheckToken
      • PCL_HOSTED_CARD
      • PCL_GENERAL_PAYMENT
      • PCL_TRUSTLY
      • PCL_G2APAY
      • PCL_BITBAY_WITHDRAWAL
      • PCL_DRAGON
      • PCL_DRAGON_V2
      • PCL_BLIK
      • PCL_DRAGON_CAPTURE
      • PCL_DRAGON_USER_CAPTURE
      • PCL_G2APAY_TOPUP
      • PCL_DRAGON_USER
      • PCL_WEBMONEY_USER
      • itemsName
      • itemsAmount
      • TransactionItems
      • Card
      • Card Delete Output
      • Dragon Delete Output
      • Webmoney Delete Output
      • Dragon
      • Dragon
      • Product
      • Customer
      • Plan
      • Subscription
      • Webmoney
      • ThreeDsData
      • ThreeDsDataPA
      • CashbackInput
      • CashbackOutput
      • CashbackItem
      • CashbackItemType
    • RequestBodies
      • Calculate fee
      • Action refund object
      • Action topup refund object
      • Action cancel object
      • Action cancel user payout object
      • Action Renew Authorization object
      • Action renew object
      • Action renew user payout object
      • Action capture object
      • Action capture payment object
      • Action capture user payout object
      • Action payout fee
      • Action external fee
      • Action topup fee
      • UpdateCard
      • UpdateDragon
      • UpdateWebmoney
      • UpdateCustomer
      • NewDragon
      • SaveProduct
      • UpdateProduct
      • SavePlan
      • CancelSubscription
      • NewWebmoney
      • Action create payout object
      • Action create user payout object
      • Action create external sendout
Go to zen.comGo to myZEN.com
Documentation
Documentation
  • Sandbox
  • Plugin integration
  • Checkout integration
  • API business
  • Merchant panel
  • Brandbook
  • API transfers
Go to zen.comGo to myZEN.com
Documentation
Documentation
  • Sandbox
  • Plugin integration
  • Checkout integration
  • API business
  • Merchant panel
  • Brandbook
  • API transfers
  1. purchase

Validate ApplePay session

POST
https://api.zen.com/v1/applepay/session
Service validates whether applepay payment channel should be displayed for the customer in specific transaction on checkout.
If so, ApplePay will be displayed for customer. If no - it will be unavailable in this specific transaction.

Request

Header Params

Body Params application/jsonRequired

Example
{
    "appleUrl": "http://example.com",
    "initiative": "web",
    "currency": "PLN"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.zen.com/v1/applepay/session' \
--header 'request-id;' \
--header 'checkout-version;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "appleUrl": "http://example.com",
    "initiative": "web",
    "currency": "PLN"
}'

Responses

🟢200OK
application/json
OK
Body

Example
{}
🟠404Record Not Found
Modified at 2025-11-10 07:13:37
Previous
Renew authorization
Next
Calculate cashback