# Send PayTheFlyPro to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "paythefly",
    "name": "PayTheFlyPro",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/seanlan/paythefly",
    "canonicalUrl": "https://clawhub.ai/seanlan/paythefly",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/paythefly",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=paythefly",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/payment.mjs",
      "scripts/query.mjs",
      "scripts/withdrawal.mjs"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "paythefly",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-06T23:13:37.909Z",
      "expiresAt": "2026-05-13T23:13:37.909Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=paythefly",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=paythefly",
        "contentDisposition": "attachment; filename=\"paythefly-1.0.8.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "paythefly"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/paythefly"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/paythefly",
    "downloadUrl": "https://openagent3.xyz/downloads/paythefly",
    "agentUrl": "https://openagent3.xyz/skills/paythefly/agent",
    "manifestUrl": "https://openagent3.xyz/skills/paythefly/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/paythefly/agent.md"
  }
}
```
## Documentation

### PayTheFlyPro

Generate EIP-712 signed payment and withdrawal links for PayTheFlyPro crypto payment gateway. Supports BSC, Ethereum, and TRON networks.

### Security Notice

The signer private key (PTF_SIGNER_KEY) is used ONLY for signing order authorization messages (EIP-712/TIP-712). It does NOT have access to any funds.

Recommendations:

Generate a dedicated wallet for signing - do NOT use your main wallet
The signer wallet does not need to hold any funds
Register the signer address in PayTheFlyPro dashboard as your project's authorized signer

### Install Dependencies

npm install ethers tronweb

### Create Payment Link

node {baseDir}/scripts/payment.mjs --amount "0.01" --serialNo "ORDER001"
node {baseDir}/scripts/payment.mjs --amount "100" --serialNo "ORDER002" --token "0x55d398326f99059fF775485246999027B3197955"
node {baseDir}/scripts/payment.mjs --amount "50" --serialNo "ORDER003" --redirect "https://mystore.com/success" --brand "MyStore"

### Options

--amount <value>: Payment amount (required)
--serialNo <value>: Unique order number (required)
--token <address>: Token contract address (omit for native token)
--redirect <url>: URL to redirect after payment
--brand <name>: Custom brand name
--lang <code>: UI language (en, zh, ko, ja)
--deadline <hours>: Signature validity hours (default: 24)

### Create Withdrawal Link

node {baseDir}/scripts/withdrawal.mjs --amount "100" --serialNo "WD001" --user "0x1234567890123456789012345678901234567890"
node {baseDir}/scripts/withdrawal.mjs --amount "50" --serialNo "WD002" --user "0xabcd..." --token "0x55d398..."

### Options

--amount <value>: Withdrawal amount (required)
--serialNo <value>: Unique withdrawal number (required)
--user <address>: Recipient wallet address (required)
--token <address>: Token contract address (omit for native)
--redirect <url>: URL to redirect after withdrawal
--brand <name>: Custom brand name
--lang <code>: UI language
--deadline <hours>: Signature validity hours (default: 24)

### Query Order Status

node {baseDir}/scripts/query.mjs --type payment --serialNo "ORDER001"
node {baseDir}/scripts/query.mjs --type withdrawal --serialNo "WD001"

### Options

--type <value>: Order type: payment or withdrawal (required)
--serialNo <value>: Serial number to query (required)

### Environment Variables

VariableRequiredDescriptionPTF_PROJECT_IDYesPayTheFlyPro project identifierPTF_CONTRACT_ADDRESSYesProject smart contract addressPTF_SIGNER_KEYYesPrivate key for signing (dedicated wallet, no funds needed)PTF_CHAIN_IDYesChain ID (56, 97, 1, tron:mainnet, tron:nile)PTF_CUSTOM_RPCNoCustom RPC endpoint

### Supported Chains

ChainchainIdNative TokenBSC Mainnet56BNBBSC Testnet97BNBEthereum1ETHTRON Mainnettron:mainnetTRXTRON Niletron:nileTRX

### Notes

Each serial number can only be used once
Withdrawal signatures expire after deadline (default 24 hours)
For TRON, addresses use Base58 format (starting with T)
Native token payments omit the --token parameter
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: seanlan
- Version: 1.0.8
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-06T23:13:37.909Z
- Expires at: 2026-05-13T23:13:37.909Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/paythefly)
- [Send to Agent page](https://openagent3.xyz/skills/paythefly/agent)
- [JSON manifest](https://openagent3.xyz/skills/paythefly/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/paythefly/agent.md)
- [Download page](https://openagent3.xyz/downloads/paythefly)