Back to Docs
API Reference
Integrate WankCoin into your application using our REST API. All endpoints require authentication via API key.
Base URL
https://api.wankcoin.pro/v1Authentication
All API requests require an API key in the header:
Authorization: Bearer your_api_key_hereGet your API key from the dashboard at wankcoin.pro/dashboard after connecting your wallet.
Generate Card
Create a new virtual Visa card for a specific platform and amount.
POST
/cards/generateRequest Body
{
"platform": "onlyfans",
"amount": 25,
"currency": "wkc"
}Response
{
"success": true,
"card": {
"id": "card_abc123",
"number": "4532 1234 5678 9012",
"expiry": "12/27",
"cvv": "123",
"amount": 25,
"platform": "onlyfans",
"status": "active",
"created_at": "2026-01-23T10:30:00Z"
}
}Get Card Details
Retrieve details of a specific card by ID.
GET
/cards/{card_id}Response
{
"success": true,
"card": {
"id": "card_abc123",
"number": "4532 1234 5678 9012",
"expiry": "12/27",
"cvv": "123",
"amount": 25,
"platform": "onlyfans",
"status": "used",
"created_at": "2026-01-23T10:30:00Z",
"used_at": "2026-01-23T10:35:00Z"
}
}List Cards
Get a list of all your generated cards with pagination.
GET
/cards?page=1&limit=20Query Parameters
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number (default: 1) |
| limit | integer | Items per page (default: 20, max: 100) |
Response
{
"success": true,
"cards": [
{
"id": "card_abc123",
"amount": 25,
"platform": "onlyfans",
"status": "used",
"created_at": "2026-01-23T10:30:00Z"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 45,
"pages": 3
}
}Get Balance
Get your current WKC and SOL balance.
GET
/wallet/balanceResponse
{
"success": true,
"balance": {
"wkc": 1250.5,
"sol": 2.45,
"usd_equivalent": 367.5
}
}Get Statistics
Get your account statistics including total cards generated, total burned, etc.
GET
/statsResponse
{
"success": true,
"stats": {
"total_cards": 45,
"total_spent": 1250.5,
"total_burned": 625.25,
"active_cards": 3,
"used_cards": 42
}
}Error Responses
All errors follow a consistent format:
Error Response Format
{
"success": false,
"error": {
"code": "INSUFFICIENT_BALANCE",
"message": "Insufficient balance to generate card",
"details": {
"required": 25,
"available": 10
}
}
}Common Error Codes
| Code | Description |
|---|---|
| UNAUTHORIZED | Invalid or missing API key |
| INSUFFICIENT_BALANCE | Not enough balance for operation |
| INVALID_PLATFORM | Platform not supported |
| INVALID_AMOUNT | Amount must be between $5 and $100 |
| CARD_NOT_FOUND | Card ID does not exist |
| RATE_LIMIT_EXCEEDED | Too many requests, please wait |
Rate Limits
API rate limits are applied per API key:
- •100 requests per minute
- •1000 requests per hour
- •10,000 requests per day
Rate limit headers are included in all responses: X-RateLimit-Remaining
