cardglee
Tính năngThẻQuy trìnhChi tiêuAPIBlogCâu hỏiĐăng nhậpNhận thẻ

Lập trình viên · REST API v1

Phát hành thẻ từ mã của bạn

Tạo, nạp, đóng băng và đóng thẻ Visa và Mastercard ảo qua HTTPS. Yêu cầu dạng JSON, xác thực bằng khóa bí mật, và dùng chung số dư USDT bạn nạp bằng crypto.

URL cơ sở: https://cardglee.com/api/v1Xác thực: Bearer sk_live_…Định dạng: JSONWebhook: HMAC-SHA256

Giới thiệu

API làm những gì bảng điều khiển làm, từ máy chủ của bạn. Mọi thẻ phát hành và mọi khoản nạp đều trừ từ số dư tài khoản, vốn được nạp bằng khoản nạp crypto và luôn giữ bằng USDT.

Số tiền tính bằng đô la Mỹ với hai chữ số thập phân. Dấu thời gian theo ISO 8601 UTC. Danh sách phân trang bằng page và per_page.

Endpoint thẻ sẽ hoạt động cùng phát hành thẻ ở Giai đoạn 2. Số dư ví và danh sách BIN đang hoạt động.

Xác thực

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.

Headers
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.

Lỗi

200Yêu cầu thành công
201Đã tạo tài nguyên
400Tham số không hợp lệ
401Thiếu hoặc sai khóa API
403Khóa hợp lệ nhưng truy cập API chưa được bật cho tài khoản
404Không tìm thấy tài nguyên
429Vượt giới hạn tốc độ

Giới hạn tốc độ

Yêu cầu / phút1.000
Tạo thẻ / phút50
Yêu cầu / giờ10.000

Limits are counted per API key. Over a limit you get a 429— wait and retry with exponential backoff.

Thẻ

Each card has its own balance, limits and lifecycle, so one campaign, client or subscription never touches another.

POST/cardsIssue a new virtual cardGiai đoạn 2
GET/cardsList cardsGiai đoạn 2
GET/cards/{card_id}Retrieve a cardGiai đoạn 2
GET/cards/{card_id}/detailsReveal number, expiry and CVVGiai đoạn 2
POST/cards/{card_id}/freezeFreeze a cardGiai đoạn 2
POST/cards/{card_id}/unfreezeUnfreeze a cardGiai đoạn 2
DEL/cards/{card_id}Close a cardGiai đoạn 2

Nạp tiền

POST/cards/{card_id}/fundLoad a card from your balanceGiai đoạn 2
POST/cards/{card_id}/withdrawUnload a card back to your balanceGiai đoạn 2

Giao dịch

GET/transactionsList card transactionsGiai đoạn 2

Ví

Lệnh gọi đầu tiên

GET /wallet/balancecURL
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
}
GET/wallet/balanceRead your USDT balance
GET/wallet/deposit-addressGet a deposit address

BIN

GET/binsList available BINs

Webhook

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.

POST/webhooksRegister a webhook endpointGiai đoạn 2
Phát hành thẻ từ mã của bạn | CardGlee