WeTech Risk Control MCP SDK - Fraud detection and transaction risk evaluation tools
Project description
#add somethings
{ "BasicInfo": { "Appid": "1001623976", "Scene": 1001 }, "PaymentInfo": { "PayCurrency": "USD", "PayId": "pay_test_998877", "PayIP": "8.8.8.8", "PayMoney": "99.90", "PayTime": "1783409479", "PayTimeZone": "UTC+0800" }, "UserInfo": { "UserId": "user_mcp_test_01", "UserRegCountryCode": "US", "UserRegEmail": "tester@wetech.com", "UserRegIp": "192.168.1.1", "UserRegTime": "1783223267", "UserRegZone": "UTC+0800" }, "OrderInfo": [ { "OrderId": "11123der_c5c7dab50bcb4132", "OrderCurrency": "USD", "OrderIP": "192.168.1.1", "OrderItemCount": "1", "OrderItemAmt": "89.90", "OrderTotalAmt": "99.90", "OrderTotalFreight": "10.00", "OrderTime": "1783309667", "OrderTimeZone": "UTC+0800" } ], "OrderItemInfo": [ { "ItemCount": "1", "ItemId": "item_headphone_001", "ItemType": "电子产品", "ItemPrice": "89.90" } ], "DeliveryInfo": [ { "DeliveryAdrArea": "US", "DeliveryAdrCity": "Los Angeles", "DeliveryAdrConsignee": "John neo", "DeliveryAdrEmail": "chb321@example.com", "DeliveryAdrPhone": "1234567890", "DeliveryAdrState": "California", "DeliveryAdrStreet": "12333 Main St", "DeliveryAdrZipcode": "95123", "DeliveryType": "USPS", "DeliveryFee": "10.00" } ] }
#notify
{ "NotifyInfo": { "UUid": "234324324", "PayId": "88798798798797", "UserId": "u1", "ChargebackCode": 1, "ChargebackAmount": "99.90", "ChargebackAmountCurrency": "USD", "ChargebackProcess": "Need_Response", "ChargebackReason": "goods_not_received", "ChargebackReasonCode": "13.1" }, "PaymentInfo": { "PaymentResult": 0, "PaymentMessage": "Approved", "Is3dsUsed": 1, "T3DSValue": "0", "ECIValue": "05", "AVSValue": "0", "CVCValue": "0" } }
本地测试
- 将本地包转化为可被本地 uvx 检索的状态 uv pip install -e . 2.在确保本地代码可以直接通过命令被检索后,您就可以直接通过 npx 配合 uv 启动 Inspector。 uv run wetech-risk-mcp
测试 uv tool install --editable .
poswershell $env:WETECH_HOST="risk.test.wetech-rc.com";$env:WETECH_SECRET_ID="e1f08efaI75c7I4873IbdbfI502074d05a63"; $env:WETECH_SECRET_KEY="826F3D3EDC1BDA5119C07B78A573723E";$env:WETECH_CLIENT_ID="1317381511";$env:WETECH_APP_ID="1001623976";$env:WETECH_REGION="na-siliconvalley";npx @modelcontextprotocol/inspector uv tool run wetech-risk-sdk
1. 清理旧的构建文件
rm -rf dist/ build/ *.egg-info/
2. 构建新版本
python -m build
3. 上传到 PyPI
python -m twine upload dist/*
安装 命令:uvx 参数:wetech-risk-sdk
环境变量 WETECH_HOST=risk.test.wetech-rc.com WETECH_SECRET_ID=e1f08efaI75c7I4873IbdbfI502074d05a63 WETECH_SECRET_KEY=826F3D3EDC1BDA5119C07B78A573723E WETECH_CLIENT_ID=1317381511 WETECH_APP_ID=1001623976 WETECH_SCENE=1001 WETECH_REGION=na-siliconvalley
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wetech_risk_sdk-0.1.2.tar.gz.
File metadata
- Download URL: wetech_risk_sdk-0.1.2.tar.gz
- Upload date:
- Size: 19.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0c163783559ed3172a20bf9421fd0db36e6cd3b23d8c2c8155d687b451f6231
|
|
| MD5 |
8fcaf224f38c9512d202c28250c012c5
|
|
| BLAKE2b-256 |
922fb5f6cb9a7260e0b54c80e4647ccf37834f9fde94f84e7a7c4f0c75d7b107
|
File details
Details for the file wetech_risk_sdk-0.1.2-py3-none-any.whl.
File metadata
- Download URL: wetech_risk_sdk-0.1.2-py3-none-any.whl
- Upload date:
- Size: 18.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d76919cb18620ddebb5867051a0672dd0108541c5ce832c452816a58523e8713
|
|
| MD5 |
42a9538897cb7c261d9b4468d283e8ad
|
|
| BLAKE2b-256 |
b0fe45f4197c51a0c714bba503dcd85f1ad942f519c0d4c10d9e6b6ce7e19db0
|