Skip to main content

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" } }

本地测试

  1. 将本地包转化为可被本地 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/*

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

wetech_risk_sdk-0.1.1.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wetech_risk_sdk-0.1.1-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file wetech_risk_sdk-0.1.1.tar.gz.

File metadata

  • Download URL: wetech_risk_sdk-0.1.1.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for wetech_risk_sdk-0.1.1.tar.gz
Algorithm Hash digest
SHA256 bbfade49425f50f0e426a17b2ce78a84318165f758ba6ea8efd735fda692b055
MD5 0fbf2cdd35c5d10c54ca3cce29eaa96f
BLAKE2b-256 5da7e8766d3ea6313b3c5b7d8a2948b7773f5fb62d28a9967cb565889ff27cbd

See more details on using hashes here.

File details

Details for the file wetech_risk_sdk-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for wetech_risk_sdk-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 153ff1412923996d0318dd6af21f6e15cba95be5e18c4a7c66b2ad51ee9a1da4
MD5 e26736c41b5ad03a3f9b4f9482d2c8c5
BLAKE2b-256 7f1c26c71eafab0b8e2583a5b161953c2f79d764e89e897a31ae9cf9c7f2be2c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page