Перейти к содержимому
TakoAPI
Назад к навыкам

paythefly

от seanlan

Image & Video Generation
443Число загрузок по данным clawskills.sh
2Звёзды
0Просмотры
0 лайковВойдите, чтобы поставить лайк навыку
—Ещё нет оценок
Ваша оценка

Кратко

Create crypto payment & withdrawal links for your app.

Описание

Что делает этот навык

Generates EIP-712 signed payment and withdrawal links for the PayTheFlyPro crypto gateway. Supports BSC, Ethereum, and TRON networks. The signer key authorizes orders only and does not require funds in the signing wallet.

Produces shareable, verifiable payment URLs through a hosted gateway without requiring frontend transaction signing or a full on-chain integration.

Когда его использовать

  • Generating a checkout payment link for an e-commerce order
  • Creating a withdrawal link to pay out crypto to a user wallet
  • Querying the status of a past payment or withdrawal by serial number
  • Issuing time-limited payment links with a custom brand name and redirect URL
  • Testing payment flows on BSC Testnet or TRON Nile before going live

Пример сценария

ВВОД

User asks: create a payment link for order ORDER002 for 100 USDT on BSC

АГЕНТ
  1. 1

    Confirm PTF_PROJECT_ID, PTF_CONTRACT_ADDRESS, PTF_SIGNER_KEY, and PTF_CHAIN_ID are set in the environment

  2. 2

    Run payment.mjs with --amount 100, --serialNo ORDER002, and --token set to the USDT contract address on BSC

  3. 3

    Script constructs and signs an EIP-712 order authorization message using the signer key

  4. 4

    Returns a shareable PayTheFlyPro payment URL containing the signed payload

ВЫВОД

A signed payment URL the merchant can embed in their app or send directly to the customer

Требования

  • PayTheFlyPro account and project at pro.paythefly.com
  • PTF_PROJECT_ID environment variable
  • PTF_CONTRACT_ADDRESS environment variable
  • PTF_SIGNER_KEY environment variable (private key of a dedicated signing wallet registered in PayTheFlyPro dashboard)
  • PTF_CHAIN_ID environment variable

Установка

clawhub install seanlan/paythefly

Выполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.

Ссылки