How do I Integrate Payments ?
To integrate payments at a technical level, you will be interacting with a REST API that serves as the orchestration layer between your front-end client and the secure payment gateway environment. The integration architecture follows these core engineering principles Authentication and Endpoint Security, Payload Management & Data Handling, Transaction Lifecycle & Response Parsing and Implementation Languages.
What is a Payment Integration API ?
A Payment Integration API better known as an Application Programming Interface is a set of protocols and tools that allows your website or application to communicate directly with a payment processor. It essentially acts as a "bridge" that securely sends transaction data from your checkout page to the financial networks to authorize and complete a payment. A Payments API is the core technology that enables software and web developers to securely integrate credit card payments, ACH, and mobile wallets within their own custom software or e-commerce platform.
How does a Payment API Work ?
- Data Entry: A customer enters their card details on your site.
- Encryption: The API encrypts this sensitive information to ensure security and PCI compliance.
- Authorization: The API sends the data to the payment gateway, which asks the customer’s bank if funds are available.
- Response: The API brings back an "Approved" or "Declined" message to your website in milliseconds.
What are the Benefits of Using a Payments API ?
- Custom Checkout Experience: Unlike "hosted" pages (where a user is redirected to another site), an API lets you keep customers on your domain for a seamless brand experience.
- Automation: You can trigger recurring billing, split payments, and automated refunds directly through code.
- Enhanced Security: Modern APIs use tokenization, meaning sensitive card data never actually touches your server, reducing your security liability.
- Omnichannel Payment Integration: You can use the same API to sync payments across your website, mobile app, and even physical point of sale hardware.
What is PCI Compliance ?
PCI DSS (Payment Card Industry Data Security Standard) is a set of security requirements designed to ensure that all companies that process, store, or transmit credit card information maintain a secure environment. The 12 requirements of PCI DSS are a set of technical and operational standards designed to protect cardholder data. The primary goal is to protect sensitive data and reduce credit card fraud. It applies to any organization, regardless of size or transaction volume, that handles payment card data.
How do I Setup an Integrate Payments Sandbox Account ?
To begin developing your integration, you should first utilize our test UAT (User Acceptance Testing) environment, also known as a Sandbox. This allows you to simulate transactions without processing real money.
- Get API Credentials: Register through the Integrate Payments Developer Portal to receive your unique API keys and merchant ID.
- Access the Sandbox: Log into the Integrate Payments Sandbox to configure your test environment.
- Simulate Transactions: Use test card numbers provided in our Documentation to verify your code handles "Approved" and "Declined" responses correctly.
- Go Live: Once your testing is successful, swap your Sandbox keys for Production credentials by certifying your software application to begin accepting live payments.
Click the Sandbox icon below to gain access to our UAT environment
Password : $integratePayments888
Access the public sandbox environment using these credentials at :
sandbox.integratepayments.comRegister for your own personal test development sandbox account
Get StartedWhere can I find the developer documentation and API ?
Our comprehensive technical guides are designed to help you build a seamless and secure checkout experience. We offer a RESTful API that supports multiple integration methods to suit your specific business needs. We provide ready-to-use code snippets in popular languages like C# and PHP to accelerate your development timeline. The documentation also covers specialized APIs for the Customer Vault, recurring billing, and mobile SDKs for iOS and Android.
You can review the full API reference and implementation guides on the Integrate Payments developer Documentation page by clicking the icon or link below.
What Programming Languages does Integrate Payments Support ?
- Python
- JavaScript
- Java
- C#
- PHP
- TypeScript
- C++
- Go (Golang)
- Kotlin
- Ruby
- Swift
- Node.js
- React
- jQuery
- Angular
- ASP
- Basically any Programming Language that can setup a POST request
Integrate Payments Code Examples for Payment API

How do I Test Credit Card Transactions in Sandbox ?
Integrate Payments documentation will provide you with testing credit card numbers that can be used in our sandbox environment for our core payment gateway products. Test credit cards include Visa, Mastercard, Discover, American Express, Diner's Club, JCB, and Maestro. You can also test ACH check transactions through the payment gateway UAT test environment.
The documentation also provides hard-coded specific trigger responses to help support your software application logic. These trigger responses will generate a declined message or simulate an AVS and CVV match. This will help you determine how to parse your data correctly once a credit card transaction is processed.
Test Credit Card Numbers for Integrate Payments Sandbox

How long does it take to move from the Sandbox to a Live production environment?
The transition from testing to "Go-Live" typically takes 24 to 48 hours, depending on the complexity of your integration and the merchant underwriting process.
- Software Certification: Once you have completed your testing in the UAT environment, our integration team will review your code to ensure it meets security and PCI compliance standards.
- Merchant Account Approval: If you are also applying for a new merchant account, the underwriting team usually provides a decision within one business day.
- Payment Terminal Deployment: If your integration involves a payment processing device, please note that the programming, configuration, and physical deployment of a point of sale system or EMV machine will require additional time for the production launch.
- Production Keys: Once approved and certified, your Sandbox keys are swapped for Production credentials, and you can begin processing real-time transactions immediately.
What is Tokenization ?
Tokenization is a high-level security process that replaces sensitive credit card data with a unique, non-sensitive string of characters called a token. This ensures that actual cardholder information is never stored directly on your own servers or software, which significantly reduces your security liability and simplifies the path to PCI Compliance.
How does Collect.js Work ?
Collect.js is a data collection and tokenization system, not a full payments API. It captures the card details and exchanges them for a temporary payment token. Because the sensitive information is sent directly from the customer's browser to the gateway, it never hits your web server. This significantly reduces your PCI DSS compliance.
You use a specific authentication Tokenization Key generated in your merchant control panel. Unlike standard API keys, this key is public-facing and is intended to be visible in your website's source code.
You can use the generated token payment_token in conjunction with the Payment API to process the transaction or save the customer's info for later. The payment_token is a specialized variable that acts as a secure placeholder for sensitive financial data
What does payment_token do ?
The payment_token replaces sensitive credit card information (card number, expiration, CVV) or bank account details (name, routing number, account number) in your API calls. By using this token, your server never has to handle or store raw payment data, which helps maintain security and compliance. Instead of sending a long string of sensitive data, you replace those variables with a single token.
Read the Collect.jS Documentation

What is a Customer Credit Card Token Vault ?
When a customer enters their card details, the information is instantly sent to a secure PCI-compliant Customer Vault. The sensitive cardholder data is encrypted within the vault, and a randomly generated token is returned to your system.
For all future transactions or recurring billing, your software solution uses this token to reference the original payment method without ever seeing the real raw credit card numbers. Omnichannel tokens can use the same tokenized data to sync customer payment profiles across your website, mobile app, and retail restaurant point-of-sale POS software.
How do I Integrate the Customer Vault API ?
- Add a Customer to the Vault: All requests must be sent as a POST and you must include your
security_key which is generated in your merchant control panel under Settings > Security Keys. - Payment Data: Use a
payment_token generated by Collect.js to ensure PCI compliance. - To save a payment method without processing an immediate charge, send a request with these key variables:
Action: Set customer_vault to add_customer - Process a Transaction Using the Vault: Once a customer is stored, you can charge them using their unique ID instead of sensitive card data:
- Check out the full list of customer vault variables and parameters in our documentation.
What is Recurring Billing?
Recurring Billing is an automated payment process that allows subscription-based businesses to charge customers weekly, monthly, or annually for ongoing services or memberships. By securely storing cardholder data in a PCI-compliant vault as a token, the recurring billing API removes the need for customers to re-enter their payment information for every transaction.
How do I implement Recurring Billing via the API?
- Vault the Customer: Before you can create a subscription, you must securely capture the customer's payment information. Use Collect.js to tokenize credit card or ACH details. This generates a
payment_token, which allows you to process the subscription without handling sensitive PCI data directly on your servers. - Define your Variables: To add a subscription to an existing plan, you need to send a POST request with specific variables.
recurring - Set this to add_subscription
plan_id - The unique ID of the pre-configured billing plan.
payment_token - The token received in Step 1.
start_date - The date the first charge should occur (Format: YYYYMMDD) - Handle the Authentication Ensure your request includes your API Key or Merchant Credentials as defined in the Methodology section of the documentation. All requests should be sent over a secure HTTPS connection to the gateway endpoint.
- Process the Response: The gateway will return a response indicating if the subscription was successfully created.
Success: You will receive a subscription ID for future management (updating or cancelling).
Failure: Check the transaction_response_variables to debug issues like expired tokens or invalid plan IDs. - Check out the full list of recurring billing variables and parameters in our documentation.
What is Collect Checkout ?
Collect Checkout is a secure, hosted payment page solution designed to simplify how your website handles transactions. The checkout page lives entirely on the gateway's servers, ensuring sensitive payment data never touches your website's environment. Because you do not handle or store credit card numbers directly, your security and compliance requirements are significantly reduced. It provides customers with a clean, low-friction flow where they can view their products, total amount, and enter payment details easily.
How does Collect Checkout Work on a Website ?
- A customer decides to purchase a product on your site.
- Your website calls a JavaScript function to redirect the customer to the secure hosted payment page.
- The customer enters their details on the gateway’s secure form.
- Once the transaction is successful, the customer is redirected back to your website to view their receipt.
What is the Three Step Redirect API?
Three Step Redirect API is a specialized integration method designed to provide a custom checkout experience while significantly reducing a merchant's PCI DSS footprint. It allows you to collect sensitive card data without that data ever touching your web server. Because your server never sees or transmits raw credit card data, you qualify for a much simpler PCI compliance assessment. Unlike "Hosted Checkout" pages, the customer never feels like they are leaving your website. You maintain 100% control over the CSS and layout of the payment form.
The gateway receives the sensitive data, matches it to your pending transaction, and immediately issues an HTTP 302 Redirect response back to the customer's browser. The browser follows that 302 instruction, automatically navigating the user back to your website. This happens in seconds and usually looks like a standard page load to the end user.
How does the Three Step Redirect process work?
- Your server sends transaction details (amount, order ID) to the gateway and receives a unique
form-url - You create a custom HTML form on your site that posts sensitive card data directly to that
form-url The customer's browser transparently sends data to the gateway, which then redirects the customer back to your site with a token-id - Your server submits a final background request to the gateway using the
token-id to authorize and complete the transaction.
Integrate Payments Code Examples for Three Step Redirect

What is the Customer-Present Cloud Payment Terminal API ?
The Customer-Present Cloud API is a core gateway solution within the Integrate Payments developer API designed to manage and process transactions on physical point of sale hardware equipment via the cloud.
It allows software developers the ability to remotely register physical terminals to your payment gateway account using a registration code displayed on the device. It sends payment commands from your software to the payment processing terminal over the internet, regardless of where the device is physically located.
How does the Customer-Present Cloud Payment Device API work?
The Synchronous (waiting for a response) option keeps the connection open until the customer completes the transaction (best for simple, single-device setups). The Asynchronous (polling for a response) option returns an immediate ID (GUID), so your system can check the status later (best for high-volume environments or mobile apps). Once a transaction is initiated through the Cloud API, you can manage follow-up actions (like refunds or voids) using the standard Payment API.
- Before interacting with the hardware, you must register it to your gateway account and establish your credentials. Log into your merchant control panel, navigate to Security Keys, and select API for the key type. Doing this will return a device GUID that you can use to process payments using the POI Device.
- Ensure the POI Device is connected via Ethernet or Wi-Fi. The device connects to the platform and generates a code. Once connected, it will automatically attempt to connect to the platform and display rotating Registration Codes that will eventually expire (temporary 6-digit code displayed on the device).
- You must link the physical hardware to your account using the code visible on the device screen. Use the Registration API to submit the current Code displayed on the device. The gateway will return a unique poiDeviceId Save this ID, as it is required for all future payment requests to that specific terminal because it is the permanent identifier stored in the software. You can then send a request to the terminal using the poiDeviceId obtained in Step 1.
At this point, you must choose your processing methodology: Synchronous or Asynchronous. - Once you have a Transaction ID from either the Synchronous response or the Async polling result, you can use the Payment API to perform follow-up actions such as Capture, Void, Refund
Customize Point of Sale Transactions
To create a more tailored checkout experience at the point of sale, the gateway provides a suite of POI Device Prompts that allow you to control physical terminal behavior on a per-transaction basis. By passing specific boolean flags in your API request, you can toggle features. These prompts allow you to override default terminal settings to match your specific workflow, whether that involves enforcing a digital signature capture on supported Ingenico Payment Devices or requiring a tip adjustment from the customer before the sale is finalized.
View POI Device Prompts Customization Features

Virtual Pin Pad (VPP) Sandbox Testing
For developers who do not yet have a physical terminal on hand, the Virtual Pin Pad (VPP) offers a robust sandbox environment to simulate the full Customer-Present Cloud lifecycle. By using designated test registration codes like T00001, you can generate virtual Device IDs to test registration, estate management, and transaction processing without hardware. The VPP simulates a Visa EMV transaction, allowing you to trigger successful authorizations or declines based on the transaction amount.
Register for your own personal test development sandbox account
Get Started