Overview
The Privacy.com API lets developers create virtual, merchant-specific credit card numbers that protect real bank details during online purchases. You can programmatically create, pause, or close cards to control spending and reduce fraud exposure. It's popular for building expense management tools and privacy-focused payment flows.
Beginner Tip
Start by creating a card with a low spend_limit to test the integration safely — set the spend_limit_duration to TRANSACTION so each charge is individually capped.
Available Data
Example Response
{
"make": "Toyota",
"model": "Camry",
"year": 2025,
"engine": "2.5L 4-cylinder",
"fuel_economy": {
"city_mpg": 28,
"highway_mpg": 39
},
"msrp": 28400
} Field Reference
token Unique identifier for this virtual card, used in subsequent API calls. pan The 16-digit virtual card number for making purchases. cvv Security code for the virtual card. exp_month Card expiration month. state Current card status: OPEN, PAUSED, or CLOSED. spend_limit Maximum spend allowed on this card in cents. Implementation Example
// ⚠️ Note: This URL may be a documentation page. Check official docs for actual API endpoint.
const url = "https://privacy.com/developer/docs";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
headers: {
"X-API-Key": "YOUR_API_KEY"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Partially tested on Apr 5, 2026
Technical Specifications
Similar APIs
View All →Application Environment Verification
Application Environment Verification (AEV) is an Android library and API from FingerprintJS that checks whether a user device is safe to use.
BinaryEdge
BinaryEdge is a cybersecurity platform that continuously scans the entire internet and exposes the results through its API.
Botd
Botd is an open-source JavaScript library and API from FingerprintJS that detects whether a web visitor is a bot or a real human browser.
Bugcrowd
The Bugcrowd API gives you programmatic access to your organization's bug bounty program data, including submissions, rewards, and researcher profiles.
Censys
Censys is an internet-wide scanning platform that lets you search for any internet-connected host, device, or certificate using its REST API.