# CyberSource Flex API API

**Canonical:** https://apis.io/apis/cybersource/cybersource-flex-api-api/  
**Provider:** CyberSource — https://apis.io/providers/cybersource/  
**Base URL:** https://api.cybersource.com  
**Documentation:** https://developer.cybersource.com/docs/cybs/en-us/payments/developer/all/rest/payments.html

CyberSource Flex API API is one of 84 APIs that [CyberSource](https://apis.io/providers/cybersource/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Flex API. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

The Flex API enables merchants to securely accept customer payment information captured within a server-side application using a set of APIs. These APIs protect your customer's primary account number (PAN), card verification number (CVN), and other payment information by embedding it within a transient token. This allows payment data to be stored and transported and complies with the Payment Card Industry Data Security Standard (PCI DSS) policies and procedures. These transient tokens can be validated by the receiver to ensure the data integrity and protect against data injection attacks. **Warning:** Flex API is intended for server-side applications only. Do not use the Flex API in client-side applications. To add secure payments directly into client-side code, use Unified Checkout. **How It Works**<br> Follow these steps to capture payments using the Flex API: * Establish a payment session with a predefined customer context. * Validate the JSON Web Token. * Populate the JSON Web Token with customer information. **Customer Context**<br> An important benefit of the Flex API is managing Personal Identifiable Information (PII). You can set up your customer context to include all PII associated with transactions, protecting this information from third parties.

## Machine-readable artifacts (2)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/cybersource/refs/heads/main/openapi/cybersource-flex-api-api-openapi.yml
- **Documentation** — https://developer.cybersource.com/docs/cybs/en-us/payments/developer/all/rest/payments.html

## Other CyberSource APIs (12)

- [CyberSource Token Management Service (TMS) API](https://apis.io/apis/cybersource/cybersource-token-management-service-tms-api/)
- [CyberSource Decision Manager API](https://apis.io/apis/cybersource/cybersource-decision-manager-api/)
- [CyberSource Recurring Billing API](https://apis.io/apis/cybersource/cybersource-recurring-billing-api/)
- [CyberSource Payouts API](https://apis.io/apis/cybersource/cybersource-payouts-api/)
- [CyberSource Flex Microform API](https://apis.io/apis/cybersource/cybersource-flex-microform-api/)
- [CyberSource Unified Checkout API](https://apis.io/apis/cybersource/cybersource-unified-checkout-api/)
- [CyberSource Payer Authentication (3D Secure) API](https://apis.io/apis/cybersource/cybersource-payer-authentication-3d-secure-api/)
- [CyberSource Reporting API](https://apis.io/apis/cybersource/cybersource-reporting-api/)
- [CyberSource Transaction Search API](https://apis.io/apis/cybersource/cybersource-transaction-search-api/)
- [CyberSource Webhooks API](https://apis.io/apis/cybersource/cybersource-webhooks-api/)
- [CyberSource Boarding API](https://apis.io/apis/cybersource/cybersource-boarding-api/)
- [CyberSource Invoicing API](https://apis.io/apis/cybersource/cybersource-invoicing-api/)

## Tags

Flex API

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/cybersource/cybersource-flex-api-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/cybersource/.
