🔬 *^^* Partner API 테스트

API: devapi.peerx.io  |  파트너: SANDBOX  |  테스트 UID: APITEST__64b089  |  실행: 2026-06-02 04:38:36

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

Request Body

(없음)

Response

{
    "success": true,
    "service": "PeerX Partner API",
    "version": "v1",
    "status": "ok",
    "time": "2026-06-01T19:38:30+00:00",
    "request_id": null
}
머천트 정보
PASS GET /merchant/info 200 296ms
▸ 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": "af81417e-9df1-44ba-af2a-841d15e9d83d"
}
PASS GET /merchant/wallet-status 200 931ms
▸ 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-01T19:38:31+00:00",
        "energy_remaining": 0,
        "bandwidth_remaining": 0
    },
    "request_id": "be239c55-b5c0-4207-a37e-b468229295dd"
}
회원/인증
PASS POST /users/register 201 299ms
▸ https://api.peerx.io/api/partner/v1/users/register

Request Body

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

Response

{
    "success": true,
    "data": {
        "peerx_user_id": 7,
        "peerx_email": "dnpgram@gmail.com",
        "partner_uid": "APITEST__64b089",
        "wallet_created": false,
        "note": "Wallet not yet created. Call POST \/wallets\/create to generate wallet.",
        "created": true
    },
    "request_id": "33e1a3e8-5655-41d8-bedd-7b6baed3646c"
}
FAIL POST /auth/sso-token 404 252ms
▸ https://api.peerx.io/api/partner/v1/auth/sso-token

Request Body

{
    "partner_uid": "APITEST__64b089"
}

Response

{
    "success": false,
    "error": "USER_NOT_FOUND",
    "message": "partner_uid not linked to a PeerX account",
    "request_id": "fcf74f18-3338-45ad-aac0-49ffc7f15ee1"
}
FAIL POST /auth/user-token 404 306ms
▸ https://api.peerx.io/api/partner/v1/auth/user-token

Request Body

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

Response

{
    "success": false,
    "error": "USER_NOT_FOUND",
    "message": "partner_uid not linked to a PeerX account",
    "request_id": "abedd9df-5870-4b48-97e1-a737c87d195a"
}
SKIP POST /auth/token-refresh ⚠ 참고
Bearer 토큰 발급 실패로 skip

Request Body

(없음)

Response

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

Request Body

(없음)

Response

{
    "success": false,
    "error": "USER_NOT_FOUND",
    "message": "partner_uid not linked to a PeerX account",
    "request_id": "2eee8add-266f-441b-87d7-eb527258be3e"
}
FAIL POST /embed/tokens (wallet-create) 404 241ms
▸ https://api.peerx.io/api/partner/v1/embed/tokens

Request Body

{
    "partner_uid": "APITEST__64b089",
    "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": "fda2a94c-79e6-40e1-aea0-fa17a65142d1"
}
FAIL POST /wallets/create 404 271ms
▸ https://api.peerx.io/api/partner/v1/wallets/create

Request Body

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

Response

{
    "success": false,
    "error": "USER_NOT_FOUND",
    "message": "partner_uid not linked to a PeerX account",
    "request_id": "1db7935f-205a-4e7b-aa20-cf535a42f295"
}
FAIL GET /wallets/balance 404 303ms
▸ https://api.peerx.io/api/partner/v1/wallets/balance?partner_uid=APITEST__64b089

Request Body

(없음)

Response

{
    "success": false,
    "error": "USER_NOT_FOUND",
    "message": "partner_uid not linked to a PeerX account",
    "request_id": "d26c064b-322e-4060-834a-3bffbc65ad15"
}
FAIL POST /wallets/deposit-token 404 263ms
▸ https://api.peerx.io/api/partner/v1/wallets/deposit-token

Request Body

{
    "partner_uid": "APITEST__64b089",
    "external_ref": "DEP-TEST-20260602043833"
}

Response

{
    "success": false,
    "error": "USER_NOT_FOUND",
    "message": "partner_uid not linked to a PeerX account",
    "request_id": "aba9af58-5f90-48d6-9070-25003e0ac488"
}
KYC
FAIL GET /kyc/status 404 260ms
▸ https://api.peerx.io/api/partner/v1/kyc/status?partner_uid=APITEST__64b089

Request Body

(없음)

Response

{
    "success": false,
    "error": "USER_NOT_FOUND",
    "message": "partner_uid not linked to a PeerX account",
    "request_id": "08128788-c473-49bf-bf7c-41a4d814b80b"
}
PASS GET /kyc/policy 200 271ms
▸ 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": "3b46c88a-27c8-4325-b77a-f3ca2f2704a1"
}
거래내역
PASS GET /transactions 200 336ms
▸ https://api.peerx.io/api/partner/v1/transactions?partner_uid=APITEST__64b089&limit=5

Request Body

(없음)

Response

{
    "success": true,
    "data": {
        "transactions": [],
        "next_cursor": null,
        "has_more": false
    },
    "request_id": "a1a21e6e-4927-4c90-a59e-6386c70d62b7"
}
SKIP GET /transactions/{id} ⚠ 참고
거래 내역 없음 — skip

Request Body

(없음)

Response

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

Request Body

{
    "partner_uid": "APITEST__64b089",
    "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": "16177598-ddef-4c67-b3df-48067a0563a3"
}
FAIL POST /embed/tokens (history) 404 274ms
▸ https://api.peerx.io/api/partner/v1/embed/tokens

Request Body

{
    "partner_uid": "APITEST__64b089",
    "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": "30b006ad-70af-49dd-90c8-c1d03fd08695"
}
PASS POST /embed/admin-token 201 270ms
▸ https://api.peerx.io/api/partner/v1/embed/admin-token

Request Body

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

Response

{
    "success": true,
    "data": {
        "token": "04719bc64b40fd452bf92ed58e8cce2c1b3a2a9dc179f1dacdbe1c022804242a",
        "embed_url": "https:\/\/peerx.io\/partner\/embed\/admin-panel?t=04719bc64b40fd452bf92ed58e8cce2c1b3a2a9dc179f1dacdbe1c022804242a",
        "expires_at": "2026-06-01 20:08:35"
    },
    "request_id": "e4e788d1-45fb-4da3-b072-382b05636240"
}
P2P
PASS GET /p2p/orders 200 281ms
▸ 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": "174ec041-5803-4310-aa92-956249da1fe7"
}
PASS GET /p2p/trades 200 266ms
▸ https://api.peerx.io/api/partner/v1/p2p/trades?partner_uid=APITEST__64b089&limit=5

Request Body

(없음)

Response

{
    "success": true,
    "data": {
        "trades": [],
        "next_cursor": null,
        "has_more": false
    },
    "request_id": "b0ca7fbb-8723-439f-b638-dc19b9bc3cdf"
}
Webhook
PASS GET /webhooks/logs 200 252ms
▸ https://api.peerx.io/api/partner/v1/webhooks/logs?limit=10

Request Body

(없음)

Response

{
    "success": true,
    "data": {
        "logs": [],
        "count": 0
    },
    "request_id": "4a64f6e8-a45a-450c-903d-56d06942aab4"
}
PASS POST /webhooks/test (deposit.completed) 200 308ms
▸ 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": "1c6e7bca-374e-4e59-8404-a79a77cd2a8f"
}
회원/인증
SKIP DELETE /auth/user-token ⚠ 참고
Bearer 토큰 없음 — skip

Request Body

(없음)

Response

(응답 없음)

🖼 Embed 미리보기

admin-panel

📡 Webhook 수신기

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

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