Cardknox is now Sola
Learn More
LogoLogo
Contact Us
  • Introduction
  • 🔗API
    • Transaction API
      • Credit Card
      • Check (ACH)
      • EBT
      • Gift Card
      • Fraud
    • Customer and Recurring API
    • Reporting API
    • Account Boarding API
      • Account Boarding Merchant Agreement
      • Account Boarding Swagger UI
    • Code Samples
    • Error Codes
  • 📦SDK
    • .NET SDK
      • Transaction Workflow
    • iOS SDK
      • iOS SDK - Technical Guide
      • Workflow
    • Android SDK
      • Android SDK - Technical Guide
  • 🧰 Cardknox Products
    • 3D Secure 2.0
      • Client-Side Integration
        • Client-Side Integration (Non-iFields)
      • Server-Side Integration
    • Account Updater
    • Batch Processing
    • Browser-Based POS systems (BBPOS)
    • CloudIM Developer Guide
    • Deep Linking
      • Deep Linking Integration for Third-Party Websites
    • EBT Online
    • Gateway Emulators
    • iFields
      • Angular iFields
    • Merchant Portal
      • FAQ
    • Mobile App
    • Split Capture
    • Tap to Phone - Android
    • Partner Portal
    • PaymentSITE
      • QR Codes for PaymentSITE
    • Webhooks
  • 📱Mobile Wallets
    • Apple Pay Hosted Checkout
      • Apple Pay Hosted Checkout Initial Setup
      • Apple Pay Prerequisites
      • Apple Pay Hosted Checkout Objects Reference (Request)
      • Apple Pay Hosted Checkout Objects Reference (Response)
      • Apple Pay iFields Integration
      • Apple Pay Hosted Checkout Sample Code
      • Apple Pay Features
      • Set up Apple Pay Merchant ID with Cardknox
    • Click-To-Pay - Hosted Checkout
      • Click-To-Pay Initial Setup
      • Click-To-Pay Sample Code
      • Click-To-Pay iFields Integration
      • Click-To-Pay Objects Reference (Request)
      • Click-To-Pay Objects Reference (Response)
    • Google Pay Hosted Checkout
      • Google Pay Control Object
      • Google Pay Request Objects
      • Google Pay Response Objects
      • Google Pay Sample Code
      • iFields Integration
      • Google Pay FAQ
  • 🔌Plugins
    • Netsuite
      • NetSuite Features and Demo
    • WooCommerce
    • Magento Plugin
    • RMH (Retail Management Hero)
    • RMS (Retail Management Systems)
  • 📖Articles
    • Frequently Asked Questions
    • How to Build POS Integration Flows
    • Card Present Integration Guide
  • Glossary of Terms
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Mobile Wallets
  2. Click-To-Pay - Hosted Checkout

Click-To-Pay Objects Reference (Response)

Response objects


ClickToPayResponse Object

Name

Type

Always exists

Description

status

String

Yes

Contains all transaction data. For more details please click on the link

amount

Decimal

Yes

This is a response object that's returned by Google after a payer approves payment

merchantRequestId

String

No

This is a response object that's returned by Google after a payer approves payment

merchantOrderId

String

No

This is a response object that's returned by Google after a payer approves payment

payload

Yes

This is a response object that's returned by Google after a payer approves payment


ClickToPayPayload Object

Name

Type

Always exists

Description

transactionId

String

Yes

A unique identifier for this payment

externalClientId

String

Yes

Information about the card used in the transaction.

encryptionKey

String

Yes

A unique identifier for this payment

token

String

Yes

An object containing the encrypted payment data. This is the object that needs to be Base64 Encoded and sent to gateway as xCardNum


ClickToPayResponse object example

{
  "status": "success",
  "amount": 6,
  "merchantRequestId": "Merchant defined request ID",
  "merchantOrderId": "Merchant defined order ID",
  "payload": {
    "transactionId": "1947120568389887601",
    "externalClientId": "test123",
    "encryptionKey": "Pqdjv842Nv...8q14l",
    "token": "FPA6TTy0q457.....tCf+tqH5/ruIQ1Iz4FI9hE5NBD+EM="
  }
}

Last updated 1 year ago

Was this helpful?

📱
ClickToPayPayload