Tài liệu cho nhà phát triển
KoinKoin API
Xây dựng bot giao dịch, công cụ theo dõi danh mục và ứng dụng fintech trên hạ tầng sàn giao dịch toàn châu Phi được quản lý của KoinKoin.
Base URL
https://api.koinkoin.io/v1
Xác thực
Truyền API key của bạn trong header X-API-Key của yêu cầu đối với các endpoint cần xác thực.
curl https://api.koinkoin.io/v1/account/all-balances \
-H "X-API-Key: kk_live_your_api_key_here"
Giới hạn tần suất
Endpoint công khai
300 req/min
GET/v1/account/all-balances🔑 Xác thực▼
GET/v1/account/wallet/deposit-address🔑 Xác thực▼
GET/v1/account/wallet/deposits🔑 Xác thực▼
GET/v1/account/wallet/withdrawals🔑 Xác thực▼
POST/v1/trade/order🔑 Xác thực▼
GET/v1/trade/orders🔑 Xác thực▼
DELETE/v1/trade/order/:orderId🔑 Xác thực▼
Thanh toán cho người bán (KoinKoin Pay)
POST/v1/merchant/invoices🔑 Xác thực▼
GET/v1/merchant/invoices/:id🔑 Xác thực▼
GET/v1/merchant/invoices🔑 Xác thực▼
POST/v1/merchant/invoices/:id/cancel🔑 Xác thực▼
WEBHOOKinvoice.paid · invoice.expired · invoice.cancelled▼
📦 SDK & thư viện
SDK chính thức sắp ra mắt. Trong thời gian chờ, hãy dùng bất kỳ HTTP client nào.
🐍
Python
pip install koinkoinSắp ra mắt
🟨
JavaScript
npm install koinkoinSắp ra mắt
🐹
Go
go get koinkoin/sdkSắp ra mắt
🐘
PHP
composer require koinkoinSắp ra mắt