ساخت فاکتور در TheyPaid
theypaid_create_invoiceCreates a TheyPaid Merchant API invoice and returns its real paymentLink for crypto checkout, using a store asset ID and amount.
Instructions
از Merchant API در TheyPaid یک فاکتور میسازد و paymentLink واقعی آن را برمیگرداند. فقط با درخواست صریح کاربر اجرا کنید و ابتدا assetId را از داراییهای فعال فروشگاه بردارید. اگر درخواست timeout شد، پیش از تلاش دوباره فهرست و جزئیات فاکتورها را بررسی کنید.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"assetId": "<assetId>",
"amountInTether": "<amountInTether>",
"acceptToleranceInTether": "<acceptToleranceInTether>"
},
"name": "theypaid_create_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assetId | Yes | ||
| description | No | ||
| redirectUrl | No | ||
| amountInTether | Yes | ||
| requiredConfirmations | No | ||
| acceptToleranceInTether | Yes |