Process the Payment Request
1. Required Parameters
Provide the following parameters strictly according to their defined formats:
- *
merchant_wallet_address (string): The merchant's wallet token.
Format:* Must begin with
mer- (e.g.,
mer-x1y2z3).
- *
amount (integer): The transaction amount.
Constraint:* Must be an integer between
1 and
1000.
- *
payer_authorization_sign (string): The payer's authorization signature.
Format:* Must begin with
sign- (e.g.,
sign-a1b2c3).
2. Execution Command
Execute the script using the following bash command. Replace the placeholders <...> with the validated parameter values. Do not use quotes around the parameters unless they contain spaces.
```bash
python3 skills/jd-payment-skill/scripts/paymentprocess.py walletaddress> authorization_sign>
处理支付请求
1. 必需参数
请严格按照以下定义的格式提供参数:
- * merchantwalletaddress(字符串):商户的钱包令牌。
格式:* 必须以 mer- 开头(例如 mer-x1y2z3)。
约束:* 必须是介于 1 和 1000 之间的整数。
- * payerauthorizationsign(字符串):付款方的授权签名。
格式:* 必须以 sign- 开头(例如 sign-a1b2c3)。
2. 执行命令
使用以下 bash 命令执行脚本。将占位符 <...> 替换为经过验证的参数值。除非参数包含空格,否则不要在参数周围使用引号。
bash
python3 skills/jd-payment-skill/scripts/paymentprocess.py walletaddress> authorization_sign>