Skip to main content

#add somethings 用户uieur11 购买1件Aurora 无线降噪耳机 使用信用卡支付$249并配送至纽约 用户id的uieur11(email=dahsdsh@gmail.com手机 +131123456699)购买1件Aurora 无线降噪耳机 使用信用卡支付$249并配送至纽约 { "BasicInfo": { "Appid": "111", "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": "xxxxample.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-sdk

1. 清理旧的构建文件

rm -rf dist/ build/ *.egg-info/

2. 构建新版本

python -m build

3. 上传到 PyPI

python -m twine upload dist/*

#其他

1. 在 wetech-risk-sdk 根目录下创建虚拟环境

python -m venv .venv

2. 激活虚拟环境 (Windows Git Bash / Powershell 略有不同)

source .venv/Scripts/activate # 如果是 Git Bash

..venv\Scripts\Activate.ps1 # 如果是 PowerShell

安装 命令:uvx 参数:wetech-risk-sdk

环境变量 WETECH_HOST= WETECH_SECRET_ID= WETECH_SECRET_KEY= WETECH_CLIENT_ID= WETECH_APP_ID= WETECH_SCENE= WETECH_REGION=na-siliconvalley

Release files for wetech-risk-sdk 0.1.91

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wetech-risk-sdk 0.1.91
File Size Uploaded
wetech_risk_sdk-0.1.91.tar.gz 19.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wetech-risk-sdk 0.1.91
File Interpreter ABI Platform
wetech_risk_sdk-0.1.91-py3-none-any.whl Python 3 none any Details

Total release size: 38.5 kB

Release files / wetech_risk_sdk-0.1.91.tar.gz

Download URL wetech_risk_sdk-0.1.91.tar.gz
Size 19.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6fb344a1dfa40796c936870cddc5a80bb8ca8fd69a9f4116ffbf43406f4d8081
BLAKE2b-256 checksum
How to use checksums
319786ef9b16e799daa596522d842a00c481ab350c25d18579f3fdcd138b27ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / wetech_risk_sdk-0.1.91-py3-none-any.whl

Download URL wetech_risk_sdk-0.1.91-py3-none-any.whl
Size 18.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
95e3bb0c28fc7e94e8a3f1b06483983cf6a526c9278a83a5c84375316dcef9ce
BLAKE2b-256 checksum
How to use checksums
0fe8c4eeb1031de6981a1245faf694916d4de6676c9557dd94cc180f62d328f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release history Release notifications | RSS feed

This release

0.1.91 This release

2 release files

0.1.9

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page