Trading
거래 관련 API
암호화폐 출금을 요청합니다
Header parameters
x-api-keystringRequiredDefault:
API Key
TEST_API_KEYExample: TEST_API_KEYBody
uuidstringRequiredExample:
사용자 UUID
40115395-195e-4c14-b5f4-261f13da353ecoinstringRequiredExample:
코인 심볼
BTCcexTypestringRequiredExample:
거래소 타입
binanceamountstringRequiredExample:
출금 수량
0.001addressstringRequiredExample:
출금 주소
0x1234567890abcdef1234567890abcdef12345678networkstringRequiredExample:
네트워크
APTResponses
200
출금 요청 성공
application/json
401
인증 실패
post
/tikkly-b2c/trading/withdrawPOST /tikkly-b2c/trading/withdraw HTTP/1.1
Host: api-b2c.tikkly.io
x-api-key: TEST_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 168
{
"uuid": "40115395-195e-4c14-b5f4-261f13da353e",
"coin": "BTC",
"cexType": "binance",
"amount": "0.001",
"address": "0x1234567890abcdef1234567890abcdef12345678",
"network": "APT"
}{
"statusCode": 200,
"message": "Success",
"data": {
"withdrawId": "withdraw-123456789",
"status": "PROCESSING"
}
}사용자의 출금 내역을 조회합니다
Header parameters
x-api-keystringRequiredDefault:
API Key
TEST_API_KEYExample: TEST_API_KEYBody
uuidstringRequiredExample:
사용자 UUID
40115395-195e-4c14-b5f4-261f13da353esincenumberOptionalExample:
시작 시간 (Unix timestamp, 0 = 전체)
0untilnumberOptionalExample:
종료 시간 (Unix timestamp, 0 = 전체)
0Responses
200
내역 조회 성공
application/json
401
인증 실패
post
/tikkly-b2c/trading/withdraw-historyPOST /tikkly-b2c/trading/withdraw-history HTTP/1.1
Host: api-b2c.tikkly.io
x-api-key: TEST_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 67
{
"uuid": "40115395-195e-4c14-b5f4-261f13da353e",
"since": 0,
"until": 0
}{
"statusCode": 200,
"message": "Success",
"data": [
{
"id": 1,
"withdrawId": "withdraw-123456789",
"coin": "BTC",
"amount": "0.001",
"address": "0x1234567890abcdef1234567890abcdef12345678",
"network": "APT",
"status": "COMPLETED",
"txHash": "0xabc123...",
"createdAt": "2024-01-15T10:30:00Z"
}
]
}