🔬 *^^* Partner API 테스트

API: devapi.peerx.io  |  파트너: SANDBOX  |  테스트 UID: APITEST__68a4ae  |  실행: 2026-06-02 06:26:21

11
PASS
10
FAIL
3
SKIP
24
TOTAL
❌ 10개 실패
기본 상태
PASS GET /health 200 337ms
▸ https://api.peerx.io/api/partner/v1/health

Request Body

(없음)

Response

{
    "success": true,
    "service": "PeerX Partner API",
    "version": "v1",
    "status": "ok",
    "time": "2026-06-01T21:26:14+00:00",
    "request_id": null
}
머천트 정보
PASS GET /merchant/info 200 305ms
▸ https://api.peerx.io/api/partner/v1/merchant/info

Request Body

(없음)

Response

{
    "success": true,
    "data": {
        "partner_id": 2,
        "name": "APITEST",
        "code": "APITEST",
        "p2p_isolated": false,
        "status": "active",
        "webhook_url": "https:\/\/api.dnpgram.com\/webhook.php",
        "timezone": "Asia\/Seoul"
    },
    "request_id": "22978b7a-57ae-4a94-ba8f-e61ad9941655"
}
PASS GET /merchant/wallet-status 200 937ms
▸ https://api.peerx.io/api/partner/v1/merchant/wallet-status

Request Body

(없음)

Response

{
    "success": true,
    "data": {
        "address": "TKpUdNkxw9ndJXGgh7n3KWbLzXSgL6zrnA",
        "network": "TRON",
        "asset": "USDT-TRC20",
        "balance": {
            "available": "0.000000",
            "pending_in": "0.000000",
            "pending_out": "0.000000",
            "total": "0.000000"
        },
        "fx_rate_krw": 1506.83,
        "krw_equivalent": 0,
        "last_updated_at": "2026-06-01T21:26:16+00:00",
        "energy_remaining": 0,
        "bandwidth_remaining": 0
    },
    "request_id": "f62a6c9a-9f0e-4c4e-93f2-290640a16e43"
}
회원/인증
PASS POST /users/register 201 300ms
▸ https://api.peerx.io/api/partner/v1/users/register

Request Body

{
    "partner_uid": "APITEST__68a4ae",
    "email": "dnpgram@gmail.com",
    "password": "q1w2e3Q!W@E#",
    "name": "API Test 062616"
}

Response

{
    "success": true,
    "data": {
        "peerx_user_id": 7,
        "peerx_email": "dnpgram@gmail.com",
        "partner_uid": "APITEST__68a4ae",
        "wallet_created": false,
        "note": "Wallet not yet created. Call POST \/wallets\/create to generate wallet.",
        "created": true
    },
    "request_id": "4f5b50c3-fe6b-4134-93e9-da512d656fe0"
}
FAIL POST /auth/sso-token 404 308ms
▸ https://api.peerx.io/api/partner/v1/auth/sso-token

Request Body

{
    "partner_uid": "APITEST__68a4ae"
}

Response

{
    "success": false,
    "error": "USER_NOT_FOUND",
    "message": "partner_uid not linked to a PeerX account",
    "request_id": "b5cc054b-6b79-4188-886e-bddfc4f64b85"
}
FAIL POST /auth/user-token 404 307ms
▸ https://api.peerx.io/api/partner/v1/auth/user-token

Request Body

{
    "partner_uid": "APITEST__68a4ae",
    "ttl": 900
}

Response

{
    "success": false,
    "error": "USER_NOT_FOUND",
    "message": "partner_uid not linked to a PeerX account",
    "request_id": "d97d688f-dde4-4eda-a459-251c46e06e94"
}
SKIP POST /auth/token-refresh ⚠ 참고
Bearer 토큰 발급 실패로 skip

Request Body

(없음)

Response

(응답 없음)
지갑
FAIL GET /wallets/user-info 404 273ms
▸ https://api.peerx.io/api/partner/v1/wallets/user-info?partner_uid=APITEST__68a4ae

Request Body

(없음)

Response

{
    "success": false,
    "error": "USER_NOT_FOUND",
    "message": "partner_uid not linked to a PeerX account",
    "request_id": "ab5e548b-190c-4e20-a046-b1ea5c7ed1e0"
}
FAIL POST /embed/tokens (wallet-create) 404 270ms
▸ https://api.peerx.io/api/partner/v1/embed/tokens

Request Body

{
    "partner_uid": "APITEST__68a4ae",
    "action": "wallet-create",
    "allowed_origin": "https:\/\/api.dnpgram.com"
}

Response

{
    "success": false,
    "error": "USER_NOT_FOUND",
    "message": "partner_uid not linked to a PeerX account",
    "request_id": "297ffc2d-c712-4539-9677-8d5adf8a4cf5"
}
FAIL POST /wallets/create 404 265ms
▸ https://api.peerx.io/api/partner/v1/wallets/create

Request Body

{
    "partner_uid": "APITEST__68a4ae",
    "transfer_password": "q1w2e3r4Q!W@E#R$"
}

Response

{
    "success": false,
    "error": "USER_NOT_FOUND",
    "message": "partner_uid not linked to a PeerX account",
    "request_id": "5c67fae4-ba3c-4917-962a-e89ab8a4299f"
}
FAIL GET /wallets/balance 404 295ms
▸ https://api.peerx.io/api/partner/v1/wallets/balance?partner_uid=APITEST__68a4ae

Request Body

(없음)

Response

{
    "success": false,
    "error": "USER_NOT_FOUND",
    "message": "partner_uid not linked to a PeerX account",
    "request_id": "63129fba-09fb-40eb-a872-1192b9c18d91"
}
FAIL POST /wallets/deposit-token 404 293ms
▸ https://api.peerx.io/api/partner/v1/wallets/deposit-token

Request Body

{
    "partner_uid": "APITEST__68a4ae",
    "external_ref": "DEP-TEST-20260602062618"
}

Response

{
    "success": false,
    "error": "USER_NOT_FOUND",
    "message": "partner_uid not linked to a PeerX account",
    "request_id": "8cf643ee-8ea3-4f47-a941-cac1cc4f4705"
}
KYC
FAIL GET /kyc/status 404 259ms
▸ https://api.peerx.io/api/partner/v1/kyc/status?partner_uid=APITEST__68a4ae

Request Body

(없음)

Response

{
    "success": false,
    "error": "USER_NOT_FOUND",
    "message": "partner_uid not linked to a PeerX account",
    "request_id": "5677f43e-9c1b-4e42-b80f-9279fdf95ed0"
}
PASS GET /kyc/policy 200 261ms
▸ https://api.peerx.io/api/partner/v1/kyc/policy

Request Body

(없음)

Response

{
    "success": true,
    "data": {
        "partner_id": 2,
        "require_email": true,
        "require_phone": false,
        "require_id": false,
        "require_address": false,
        "updated_at": null
    },
    "request_id": "a19f7ba9-dda9-41b2-bc13-b73efa079e41"
}
거래내역
PASS GET /transactions 200 265ms
▸ https://api.peerx.io/api/partner/v1/transactions?partner_uid=APITEST__68a4ae&limit=5

Request Body

(없음)

Response

{
    "success": true,
    "data": {
        "transactions": [],
        "next_cursor": null,
        "has_more": false
    },
    "request_id": "cf802c16-0f22-48ea-be11-9c6c6c46b47b"
}
SKIP GET /transactions/{id} ⚠ 참고
거래 내역 없음 — skip

Request Body

(없음)

Response

(응답 없음)
Embed 토큰
FAIL POST /embed/tokens (kyc) 404 278ms
▸ https://api.peerx.io/api/partner/v1/embed/tokens

Request Body

{
    "partner_uid": "APITEST__68a4ae",
    "action": "kyc",
    "allowed_origin": "https:\/\/api.dnpgram.com"
}

Response

{
    "success": false,
    "error": "USER_NOT_FOUND",
    "message": "partner_uid not linked to a PeerX account",
    "request_id": "22705163-161f-4018-99c1-cb8b9971147d"
}
FAIL POST /embed/tokens (history) 404 332ms
▸ https://api.peerx.io/api/partner/v1/embed/tokens

Request Body

{
    "partner_uid": "APITEST__68a4ae",
    "action": "history",
    "allowed_origin": "https:\/\/api.dnpgram.com"
}

Response

{
    "success": false,
    "error": "USER_NOT_FOUND",
    "message": "partner_uid not linked to a PeerX account",
    "request_id": "78f9be27-f122-48be-afb6-67e8323869a7"
}
PASS POST /embed/admin-token 201 265ms
▸ https://api.peerx.io/api/partner/v1/embed/admin-token

Request Body

{
    "allowed_origin": "https:\/\/api.dnpgram.com"
}

Response

{
    "success": true,
    "data": {
        "token": "fe6cf3c6834cd5d72d7a7c04641e2f097c4703f16fb37bedbdbf1fd77fa9392c",
        "embed_url": "https:\/\/peerx.io\/partner\/embed\/admin-panel?t=fe6cf3c6834cd5d72d7a7c04641e2f097c4703f16fb37bedbdbf1fd77fa9392c",
        "expires_at": "2026-06-01 21:56:20"
    },
    "request_id": "ab9af41f-4200-4cac-8d3f-e45fe144780e"
}
P2P
PASS GET /p2p/orders 200 270ms
▸ https://api.peerx.io/api/partner/v1/p2p/orders?limit=5

Request Body

(없음)

Response

{
    "success": true,
    "data": {
        "orders": [],
        "next_cursor": null,
        "has_more": false,
        "isolated": false
    },
    "request_id": "b79ad110-fa07-44b0-ae69-f421a78844d9"
}
PASS GET /p2p/trades 200 271ms
▸ https://api.peerx.io/api/partner/v1/p2p/trades?partner_uid=APITEST__68a4ae&limit=5

Request Body

(없음)

Response

{
    "success": true,
    "data": {
        "trades": [],
        "next_cursor": null,
        "has_more": false
    },
    "request_id": "286960e6-e1bd-484e-902f-a006b69a218e"
}
Webhook
PASS GET /webhooks/logs 200 265ms
▸ https://api.peerx.io/api/partner/v1/webhooks/logs?limit=10

Request Body

(없음)

Response

{
    "success": true,
    "data": {
        "logs": [],
        "count": 0
    },
    "request_id": "13c9f659-a70c-47f5-b102-744f039c122e"
}
PASS POST /webhooks/test (deposit.completed) 200 269ms
▸ https://api.peerx.io/api/partner/v1/webhooks/test

Request Body

{
    "event_type": "deposit.completed"
}

Response

{
    "success": true,
    "data": {
        "event_type": "deposit.completed",
        "note": "Test webhook dispatched"
    },
    "request_id": "70b8d0c5-7dca-438a-8fc9-9ba8eff88bba"
}
회원/인증
SKIP DELETE /auth/user-token ⚠ 참고
Bearer 토큰 없음 — skip

Request Body

(없음)

Response

(응답 없음)

🖼 Embed 미리보기

admin-panel

📡 Webhook 수신기

이 URL로 이벤트를 발송합니다. 위 webhooks/test 테스트가 PASS이면 아래 로그에서 수신 확인 가능합니다.

https://api.dnpgram.com/webhook.php
📋 수신 로그 보기