Bỏ qua nội dung

Card2K

Card2K là cổng nạp thẻ cào với API ổn định và tỷ lệ chiết khấu cạnh tranh.

Đăng ký tài khoản

  1. Truy cập website

    Vào https://card2k.com

  2. Đăng ký tài khoản

    • Click “Đăng ký đại lý”
    • Điền thông tin cá nhân và xác minh
  3. Nạp tiền

    • Tối thiểu: 100,000 VNĐ
    • Chuyển khoản hoặc Momo
  4. Lấy API Key

    • Vào APIThông tin API
    • Copy API Key

Cấu hình plugin

File: plugins/SimpPay/card/card2k-config.yml

# SimpPay @ 2026
# Made by typical.smc
enabled: true
# API Key từ Card2K dashboard
api-key: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
timeout: 300
interval: 10
supported-card-types:
- VIETTEL
- MOBIFONE
- VINAPHONE
supported-amounts:
- 10000
- 20000
- 50000
- 100000
- 200000
- 500000
- 1000000

Chi tiết cấu hình

api-key

  • Kiểu: string
  • Bắt buộc: Có
  • Mô tả: API Key từ Card2K dashboard

Lấy từ: Card2K Dashboard → API → Thông tin API

API Endpoints

Send Card

POST https://api.card2k.com/card/charge

Request:

{
"api_key": "your_api_key",
"card_type": "VIETTEL",
"serial": "12345678901",
"pin": "123456789012345",
"amount": 50000,
"request_id": "SP-1234567890"
}

Response:

{
"status": "success",
"code": 100,
"message": "Thẻ đang được xử lý",
"request_id": "SP-1234567890"
}

Check Status

POST https://api.card2k.com/card/check

Response:

{
"status": "success",
"code": 1,
"message": "Thành công",
"amount": 50000,
"real_amount": 50000
}

Status Codes

CodeMô tảHành động
1Thành côngAward coins
2Sai mệnh giáThông báo lỗi
3Thẻ lỗi/đã dùngThông báo lỗi
100Đang xử lýTiếp tục polling
-1Lỗi hệ thốngThông báo lỗi

Testing

  1. Bật debug mode trong main-config.yml
  2. Reload plugin: /simppayadmin reload
  3. Test với thẻ 10k-20k qua /napthe
  4. Kiểm tra console logs
  5. Verify coins được cộng đúng

Troubleshooting

Invalid API Key

Insufficient balance

Tỷ lệ chiết khấu

Loại thẻChiết khấu
Viettel~24%
Mobifone~24%
Vinaphone~24%

Xem thêm