Visa Click to Pay payment flows combine frontend checkout interactions with backend payment processing, authentication, and secure payload handling.
Use this page to understand how a Visa Click to Pay payment moves between your frontend and backend. A typical transaction includes customer identification, card retrieval, authentication, checkout response handling and payment authorisation. The exact steps depend on your integration method.
High-level flow
A typical Visa Click to Pay payment flow includes these steps:
- The customer selects Visa Click to Pay during checkout.
- The frontend initialises the Click to Pay experience.
- The customer enters an email address or mobile number.
- The Click to Pay service retrieves saved cards, where available.
- The customer selects a saved card or adds a new card.
- The customer completes authentication, if required.
- The frontend receives a secure checkout response.
- The backend validates and processes the response.
- The backend submits the payment for authorisation.
- The backend returns the payment result to the checkout experience.
Flow diagram
flowchart LR
%% --- Frontend ---
subgraph FE["Frontend (User + SDK)"]
A[Select Click to Pay]
B[SDK Initialises]
C[Enter Email / Mobile]
D[Select or Add Card]
E["Authentication (if required)"]
end
%% --- System / Network ---
subgraph SY[Click to Pay Service]
X[Retrieve Saved Cards]
end
%% --- Backend ---
subgraph BE["Backend (Merchant)"]
F[Validate Response]
G[Decrypt & Process Payment]
H[Authorisation Complete]
I[Return Result to Checkout]
end
%% --- Flow ---
A --> B --> C
C --> X
X --> D
D --> E --> F --> G --> H --> I
%% --- Styling ---
classDef frontend fill:#E8F0FE,stroke:#1A73E8,stroke-width:1.5px;
classDef system fill:#FFF4E5,stroke:#F9AB00,stroke-width:1.5px;
classDef backend fill:#E6F4EA,stroke:#188038,stroke-width:1.5px;
class A,B,C,D,E frontend;
class X system;
class F,G,H,I backend;
Frontend flow
The frontend presents the Visa Click to Pay experience during checkout.
Depending on the integration method, the frontend handles some or all of these tasks:
- Display Visa Click to Pay as a payment option
- Initialise the Click to Pay SDK
- Collect the customer’s email address or mobile number
- Retrieve available saved cards
- Display eligible cards
- Handle card selection
- Support one-time passcode (OTP) or authentication screens
- Call the checkout function
- Send the checkout response to the backend for processing
The frontend flow covers SDK initialisation, card retrieval, checkout handling, OTP handling, and saved-card or add-card experiences.
flowchart TB A[Frontend Responsibilities] A --> B[Initialisation] A --> C[Customer Input] A --> D[Card Management] A --> E[Authentication] A --> F[Checkout Handling] B --> B1[Initialise SDK] C --> C1[Collect Email / Mobile] D --> D1[Retrieve Saved Cards] D --> D2[Display Eligible Cards] D --> D3[Handle Card Selection] E --> E1[Support OTP / Auth Screens] F --> F1[Call Checkout] F --> F2[Send Response to Backend] %% Styling classDef root fill:#E8F0FE,stroke:#1A73E8,stroke-width:1.5px; classDef group fill:#F1F3F4,stroke:#5F6368,stroke-width:1px; class A root; class B,C,D,E,F group;
Backend flow
The backend securely processes the result of the frontend checkout flow.
After the frontend receives a successful checkout response, configure your backend to:
- Receive the checkout response from the frontend
- Validate the response signature
- Decrypt the encrypted payload
- Extract the payment token or payment data
- Determine whether wallet or card payment processing applies
- Handle authentication or 3-D Secure (3DS) requirements where applicable
- Submit the payment for authorisation
- Return the payment result to the checkout experience
Backend processing validates the checkout response signature and decrypts the encrypted payload. It then uses the resulting token or card data for payment processing.
flowchart LR
%% --- Input ---
A[Checkout Response Received]
subgraph SEC[Validation & Decryption]
B[Validate Signature]
C[Decrypt Payload]
D[Extract Payment Data]
end
%% --- Decision ---
E{Payment Type?}
%% --- Processing Paths ---
subgraph CARD[Card Processing]
F[Handle 3DS / Authentication]
end
subgraph WALLET[Wallet Processing]
G[Process Wallet Payment]
end
%% --- Finalisation ---
H[Submit for Authorisation]
I[Return Payment Result]
A --> B --> C --> D --> E
E -->|Card| F --> H
E -->|Wallet| G --> H
H --> I
%% --- Styling ---
classDef input fill:#E8F0FE,stroke:#1A73E8,stroke-width:1.5px;
classDef secure fill:#FCE8E6,stroke:#D93025,stroke-width:1.5px;
classDef decision fill:#FFF4E5,stroke:#F9AB00,stroke-width:1.5px;
classDef process fill:#E6F4EA,stroke:#188038,stroke-width:1.5px;
class A input;
class B,C,D secure;
class E decision;
class F,G,H,I process;
Checkout response handling
After the customer completes the Visa Click to Pay checkout journey, the frontend receives a checkout response.
Pass this response to your backend without modification.
Your backend then validates and processes the response before completing the payment authorisation.
For standard Click to Pay flows, use the Click to Pay payment endpoint to accept the payment. For direct wallet flows, use the direct Click to Pay endpoint.
Authentication and 3DS
The need for additional verification depends on the transaction, issuer, card scheme and authentication result.
Additional verification includes:
- OTP verification
- Authentication challenges
- 3DS handling
- Awaiting customer authentication
- Additional payment authorisation steps
The Electronic Commerce Indicator (ECI) value and 3DS handling determine whether the payment follows the normal wallet flow. Otherwise, the payment needs additional authentication handling.
Payment completion
After your backend validates the checkout response and processes the payment data, it submits the payment for authorisation.
Your backend then returns the final payment result to the checkout experience. The customer sees whether the transaction is successful, declined or needs further action.
Integration considerations
Before you implement the Visa Click to Pay payment flow, review these points:
- Which integration method you use
- Whether the flow is hosted, embedded, direct or mobile
- Frontend SDK responsibilities
- Backend validation and payload handling
- Authentication and 3DS requirements
- Error handling and retry behaviour
- Payment result messaging
- Security and compliance requirements
Related documentation
- Integration Options
- Merchant Onboarding APIs
- Security & Encryption
- API Reference
- Error Handling & Authentication

