डेवलपर्स · REST API v1
अपने कोड से कार्ड जारी करें
HTTPS पर वर्चुअल Visa और Mastercard कार्ड बनाएँ, फंड करें, फ्रीज़ करें और बंद करें। रिक्वेस्ट JSON हैं, गुप्त की से प्रमाणित, और उसी USDT बैलेंस से खर्च होती हैं जो आप क्रिप्टो से जमा करते हैं।
परिचय
API वही करता है जो डैशबोर्ड करता है, आपके सर्वर से। आप जो भी कार्ड जारी करते हैं और जो भी लोड करते हैं, वह आपके खाते के बैलेंस से भुगतान होता है, जिसे आप क्रिप्टो डिपॉज़िट से फंड करते हैं और जो हमेशा USDT में रहता है।
रकमें अमेरिकी डॉलर में दो दशमलव के साथ हैं। टाइमस्टैम्प UTC में ISO 8601 हैं। लिस्ट एंडपॉइंट page और per_page से पेजिनेट होते हैं।
प्रमाणीकरण
Send your secret key as a Bearer token in the Authorization header of every request. Keys start with sk_live_ and are generated in your dashboard under API access.
Authorization: Bearer sk_live_your_api_key Content-Type: application/json X-Idempotency-Key: 7c1e2f0a-retry-safe
A new key answers 403 until the account is ready. Confirm your email, make a first deposit, then ask support to enable API access for the account.
एरर
रेट सीमाएँ
Limits are counted per API key. Over a limit you get a 429— wait and retry with exponential backoff.
कार्ड
Each card has its own balance, limits and lifecycle, so one campaign, client or subscription never touches another.
/cardsIssue a new virtual cardPhase 2/cardsList cardsPhase 2/cards/{card_id}Retrieve a cardPhase 2/cards/{card_id}/detailsReveal number, expiry and CVVPhase 2/cards/{card_id}/freezeFreeze a cardPhase 2/cards/{card_id}/unfreezeUnfreeze a cardPhase 2/cards/{card_id}Close a cardPhase 2फंडिंग
/cards/{card_id}/fundLoad a card from your balancePhase 2/cards/{card_id}/withdrawUnload a card back to your balancePhase 2लेन-देन
/transactionsList card transactionsPhase 2वॉलेट
पहली कॉल
curl https://cardglee.com/api/v1/wallet/balance \ -H "Authorization: Bearer sk_live_..."
{
"balance": 1312.50,
"currency": "USDT",
"pending_deposits": 500.00,
"cards_active": 0,
"cards_total_balance": 0.00
}/wallet/balanceRead your USDT balance/wallet/deposit-addressGet a deposit addressBIN
/binsList available BINsWebhooks
Webhooks are signed with HMAC-SHA256. Verify the signature header against the raw request body before trusting an event. Card events are part of the Phase 2 release.
/webhooksRegister a webhook endpointPhase 2