Overview
The Visa Click to Pay APIs enable merchants and platforms to:
- retrieve Click to Pay merchant configuration,
- retrieve frontend encryption keys,
- process Click to Pay transactions,
- process Direct Wallet transactions,
- enable Visa Click to Pay on Platform and Tenant levels.
These endpoints support Hosted Session, Hosted Payment Page, Direct API, and Mobile SDK integration flows.
This page lists the currently identified Visa Click to Pay endpoints based on the feature design and implementation architecture. Full request and response schemas will be added once final API specifications and collections become available.
Base URL
https://api-gateway.sandbox.ngenius-payments.comAuthentication
All Visa Click to Pay endpoints require authentication using a Bearer token.
Example:
Authorization: Bearer {{access_token}}
Some endpoints may additionally require specific token permissions.
Available Endpoints
| Endpoint | Method | Purpose |
|---|---|---|
/config/merchants/:merchantRef/configs/vctp | GET | Retrieve Click to Pay merchant configuration |
/config/configs/vctp/encryption-keys | GET | Retrieve frontend encryption public key |
/transactions/outlets/{outletId}/orders/{orderRef}/payments/{paymentRef}/click-to-pay | POST | Process Click to Pay payment |
/transactions/outlets/{outletId}/orders/{orderRef}/payments/{paymentRef}/click-to-pay/direct | POST | Process Direct Wallet Click to Pay payment |
/config/platform/configs/payment-methods | POST/PUT* | Enable Visa Click to Pay on Platform level |
/config/tenants/{tenantRef}/configs/payment-methods | POST/PUT* | Enable Visa Click to Pay on Tenant level |
- HTTP method to be confirmed.
Retrieve Merchant Configuration
Retrieves the onboarded Visa Click to Pay configuration for a merchant.
Endpoint
GET /config/merchants/:merchantRef/configs/vctpPurpose
This endpoint:
- retrieves merchant onboarding configuration,
- returns Click to Pay configuration values,
- provides values required by frontend SDK integrations,
- provides
dpaIdanddpaClientIdvalues.
Path Parameters
| Parameter | Description |
|---|---|
merchantRef | Merchant reference identifier |
Authentication
Bearer Token required.
Notes
This endpoint is commonly used during:
- Hosted Session integrations,
- Direct API integrations,
- frontend SDK initialization flows.
Retrieve Encryption Keys
Retrieves the public encryption key used by the frontend during Click to Pay checkout operations.
Endpoint
GET /config/configs/vctp/encryption-keysPurpose
This endpoint:
- retrieves the payload encryption public key,
- retrieves the encryption key ID,
- supports frontend-side payload encryption,
- supports SDK checkout flows.
Required Permissions
VIEW_UCTP_WALLET_CERTIFICATEAuthentication
Bearer Token required.
Notes
The retrieved values are used by the frontend during the checkout() flow.
Process Click to Pay Payment
Processes a Visa Click to Pay payment after a successful frontend checkout() response.
Endpoint
POST /transactions/outlets/{outletId}/orders/{orderRef}/payments/{paymentRef}/click-to-payPurpose
This endpoint:
- accepts the Click to Pay checkout response,
- validates the checkout response signature,
- decrypts the payload,
- processes the payment flow.
Path Parameters
| Parameter | Description |
|---|---|
outletId | Outlet reference |
orderRef | Order reference |
paymentRef | Payment reference |
Query Parameters
| Parameter | Description |
|---|---|
payer_ip | IP address of the payer |
Authentication
Bearer Token required.
Required Permissions
CREATE_AUTHORIZATIONNotes
The checkoutResponse object should be passed exactly as returned by the Visa Click to Pay SDK without modification.
Process Direct Wallet Payment
Processes Direct Wallet Click to Pay transactions using decrypted tokenized payment data.
Endpoint
POST /transactions/outlets/{outletId}/orders/{orderRef}/payments/{paymentRef}/click-to-pay/directPurpose
This endpoint:
- processes direct wallet transactions,
- accepts decrypted payment token data,
- supports tokenized wallet payment flows,
- supports advanced Direct API integrations.
Path Parameters
| Parameter | Description |
|---|---|
outletId | Outlet reference |
orderRef | Order reference |
paymentRef | Payment reference |
Authentication
Bearer Token required.
Required Permissions
CREATE_AUTHORIZATIONNotes
This endpoint requires the Direct Wallet proposition service to be enabled.
Enable Visa Click to Pay on Platform Level
Enables Visa Click to Pay as a payment method on the Platform level.
Endpoint
/config/platform/configs/payment-methodsPurpose
This endpoint:
- enables Visa Click to Pay at Platform level,
- allows Tenant-level enablement,
- supports Mobile SDK and Direct API integrations.
Authentication
Platform-level access token required.
Notes
This step is required for:
- Mobile SDK integrations,
- Direct API integrations.
Enable Visa Click to Pay on Tenant Level
Enables Visa Click to Pay as a payment method on the Tenant level.
Endpoint
/config/tenants/{tenantRef}/configs/payment-methodsPurpose
This endpoint:
- enables Visa Click to Pay on the Tenant level,
- allows payment methods to be returned during order creation,
- enables Direct API payment link generation.
Path Parameters
| Parameter | Description |
|---|---|
tenantRef | Tenant reference |
Authentication
Platform-level access token required.
Related Documentation
- Overview
- Integration Options
- Payment Flow
- Merchant Onboarding APIs
- Platform & Tenant Enablement
- Security & Encryption
- Hosted Session Integration
- Direct API Integration
Additional Notes
The current implementation documentation is based on:
- architectural design documentation,
- onboarding workflows,
- SDK integration requirements,
- payment processing flows,
- internal enablement requirements.
