# Send MoonPay Commerce (Helio) Accept Crypto Payments 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": "mpc-accept-crypto-payments",
    "name": "MoonPay Commerce (Helio) Accept Crypto Payments",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/mavagio/mpc-accept-crypto-payments",
    "canonicalUrl": "https://clawhub.ai/mavagio/mpc-accept-crypto-payments",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/mpc-accept-crypto-payments",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=mpc-accept-crypto-payments",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "CHANGELOG.md",
      "SKILL.md",
      "scripts/setup.sh",
      "scripts/helio.sh",
      "references/api-reference.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "mpc-accept-crypto-payments",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-05T20:42:15.037Z",
      "expiresAt": "2026-05-12T20:42:15.037Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=mpc-accept-crypto-payments",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=mpc-accept-crypto-payments",
        "contentDisposition": "attachment; filename=\"mpc-accept-crypto-payments-0.3.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "mpc-accept-crypto-payments"
      },
      "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/mpc-accept-crypto-payments"
    },
    "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/mpc-accept-crypto-payments",
    "downloadUrl": "https://openagent3.xyz/downloads/mpc-accept-crypto-payments",
    "agentUrl": "https://openagent3.xyz/skills/mpc-accept-crypto-payments/agent",
    "manifestUrl": "https://openagent3.xyz/skills/mpc-accept-crypto-payments/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/mpc-accept-crypto-payments/agent.md"
  }
}
```
## Documentation

### MPC Accept Crypto Payments

Merchant-side skill for accepting crypto payments on Solana via MoonPay Commerce (formerly Helio).

### Setup

Run the setup script with your API credentials (wallet ID is fetched automatically):

bash scripts/setup.sh

You'll need:

API Key — from https://app.hel.io → Settings → API Keys
API Secret — from the same page (save it when generated)

The setup script will:

Validate your credentials against the API
Fetch your Solana wallets automatically
Select the PAYOUT wallet (or CONNECTED if no PAYOUT exists)
Save everything to ~/.mpc/helio/config

If the user doesn't have an account, direct them to https://app.hel.io to sign up.

### Config Management

bash scripts/setup.sh status   # Show current config
bash scripts/setup.sh clear    # Remove saved credentials

### Quick Reference

Base URL: https://api.hel.io/v1

### List Supported Currencies (no auth needed)

curl -s https://api.hel.io/v1/currency | jq '.[].symbol'

### Create a Pay Link

curl -s -X POST "https://api.hel.io/v1/paylink/create/api-key?apiKey=$HELIO_API_KEY" \\
  -H "Authorization: Bearer $HELIO_API_SECRET" \\
  -H "Content-Type: application/json" \\
  -d '{
    "name": "My Payment",
    "template": "OTHER",
    "pricingCurrency": "<CURRENCY_ID>",
    "price": "<AMOUNT_IN_BASE_UNITS>",
    "features": {
      "canChangePrice": false,
      "canChangeQuantity": false,
      "canSwapTokens": true
    },
    "recipients": [{
      "currencyId": "<CURRENCY_ID>",
      "walletId": "<YOUR_WALLET_ID>"
    }]
  }'

Defaults: Currency is USDC (6340313846e4f91b8abc519b). Token swapping is enabled so payers can pay with any supported Solana token (auto-converted to USDC).

Price format: price is in base units (int64 string). For USDC (6 decimals): "1000000" = 1 USDC. For SOL (9 decimals): "1000000000" = 1 SOL.

### Create a Charge (Checkout URL)

curl -s -X POST "https://api.hel.io/v1/charge/api-key?apiKey=$HELIO_API_KEY" \\
  -H "Authorization: Bearer $HELIO_API_SECRET" \\
  -H "Content-Type: application/json" \\
  -d '{"paymentRequestId": "<PAYLINK_ID>"}'

Returns { "id": "...", "pageUrl": "https://..." } — share pageUrl with the payer.

### Check Transactions

curl -s "https://api.hel.io/v1/paylink/<PAYLINK_ID>/transactions?apiKey=$HELIO_API_KEY" \\
  -H "Authorization: Bearer $HELIO_API_SECRET"

### Disable / Enable a Pay Link

curl -s -X PATCH "https://api.hel.io/v1/paylink/<PAYLINK_ID>/disable?apiKey=$HELIO_API_KEY&disabled=true" \\
  -H "Authorization: Bearer $HELIO_API_SECRET"

### Helper Script

# Setup (run first)
bash scripts/setup.sh

# Operations
bash scripts/helio.sh currencies
bash scripts/helio.sh create-paylink "Coffee" 5.00 USDC
bash scripts/helio.sh charge <paylink-id>
bash scripts/helio.sh transactions <paylink-id>
bash scripts/helio.sh disable <paylink-id>
bash scripts/helio.sh enable <paylink-id>

### Templates

The template field controls Pay Link type:

OTHER — generic payment
PRODUCT — physical/digital product
INVOICE — invoice
SUBSCRIPTION — recurring (requires subscriptionDetails)
EVENT — event ticket

### Credential Handling

When setting up credentials, run the setup script interactively:

bash scripts/setup.sh

The script prompts for credentials directly in the terminal — they are never stored in chat history or logs. Credentials are saved to ~/.mpc/helio/config (mode 600).

### Advanced

Full API schema details: see references/api-reference.md
OpenAPI spec: https://api.hel.io/v1/docs-json
Dashboard: https://app.hel.io
Docs: https://docs.hel.io
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: mavagio
- Version: 0.3.0
## 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-05T20:42:15.037Z
- Expires at: 2026-05-12T20:42:15.037Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/mpc-accept-crypto-payments)
- [Send to Agent page](https://openagent3.xyz/skills/mpc-accept-crypto-payments/agent)
- [JSON manifest](https://openagent3.xyz/skills/mpc-accept-crypto-payments/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/mpc-accept-crypto-payments/agent.md)
- [Download page](https://openagent3.xyz/downloads/mpc-accept-crypto-payments)