Token导航 LogoToken导航TokenDH.com
开发操作浏览器clawhub未标认证来源可访问clear审计通过

cashappcashapp 开发

Agent Skill

cashapp 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

9,058

周安装

370

GitHub Stars

1

下载量

2,901
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:cashapp(cashapp 开发)
来源仓库:https://github.com/codejika/cashapp
安装命令:
openclaw skills install cashapp
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install cashapp

简介

cashapp 提供 Cash App 支付集成能力,支持付款处理功能。

  • 适合在 OpenClaw 中处理个人理财相关的支付请求时调用。
  • 通过 clawhub 安装,需结合项目实际需求验证 API 使用方式。
  • 使用前应确认网络 API 权限及交易安全策略,避免敏感数据泄露。
  • 适用于需要接入美国主流支付工具的场景。

SKILL.md

name
cashapp-pay
version
1.4.0
updated
2026-03-04
description
Cash App Pay integration skill. Accept payments via Cash App — the #1 personal finance app in the U.S. Covers the Network API, Customer Request API, Management API, Pay Kit SDK, sandbox testing, webhooks, and dispute handling.
homepage
https://developers.cash.app
api_base
https://api.cash.app
credentials
[CASHAPP_CLIENT_ID, CASHAPP_API_KEY]
metadata
{"openclaw":{"requires":{"env":["CASHAPP_CLIENT_ID","CASHAPP_API_KEY"]},"primaryEnv":"CASHAPP_API_KEY"}}

Cash App Pay — Accept Payments from Cash App

Cash App Pay is a checkout solution by Block, Inc. that lets U.S. consumers pay directly from their Cash App balance, linked bank account, or card. It eliminates manual card entry and is optimized for mobile-first commerce.

Cash App is the #1 personal finance app in the U.S. by monthly active users. Cash App Pay is available for e-commerce (web and mobile) and point-of-sale (POS) integrations.

Developer Docs: developers.cash.app Production Base URL: https://api.cash.app Sandbox Base URL: https://sandbox.api.cash.app


Architecture Overview

Cash App Pay integrations have two components:

┌─────────────────────────────────────────────────┐
│                   FRONT END                      │
│  Pay Kit SDK (Web / iOS / Android)               │
│  - Renders QR code (desktop) or redirect (mobile)│
│  - Handles customer authentication flow          │
│  - Uses Customer Request API under the hood      │
└───────────────────────┬─────────────────────────┘
                        │
                        ▼
┌─────────────────────────────────────────────────┐
│                   BACK END                       │
│  Network API     — Payments, merchants, disputes │
│  Management API  — Credentials, webhooks, keys   │
│  Batch Reporting — Settlements, dispute reports   │
│  (All server-side only — never call from browser)│
└─────────────────────────────────────────────────┘

APIs

Customer Request API (Client-side)

Handles linking a customer to a merchant. This is what Pay Kit uses under the hood. Can also be called directly for API-only integrations.

MethodEndpointDescription
POST/customer-request/v1/requestsCreate a customer request
GET/customer-request/v1/requests/{id}Retrieve a customer request (poll for status)

Actions (specify one or more per request):

ActionDescription
ONE_TIME_PAYMENTSingle payment
ON_FILE_PAYMENTStore payment method for future charges
LINK_ACCOUNTLink customer's Cash App account

Channels (specify exactly one):

ChannelUse Case
ONLINEE-commerce web checkout
IN_APPMobile app checkout
IN_PERSONPoint-of-sale devices

Authorization flow:

  1. Create a customer request → receive auth_flow_triggers (QR code URL, mobile URL, desktop URL)
  2. Customer scans QR code (desktop) or is redirected to Cash App (mobile) to approve
  3. Poll the request (1x/sec recommended) or use webhooks (customer_request.state.updated)
  4. When state = approved, save the grant_id from the grants array
  5. Use the grant_id to create a payment via the Network API

QR codes rotate every 30 seconds and expire every 60 seconds — always fetch the latest from the polling response.

Network API (Server-side)

Server-to-server API for core payment operations. All requests must be signed (see Signatures section below).

MethodEndpointDescription
POST/network/v1/brandsCreate a brand
GET/network/v1/brandsList brands
POST/network/v1/merchantsCreate a merchant under a brand
GET/network/v1/merchants/{id}Retrieve a merchant
POST/network/v1/paymentsCreate a payment
GET/network/v1/payments/{id}Retrieve a payment
POST/network/v1/payments/{id}/voidVoid a payment
POST/network/v1/payments/{id}/captureCapture a payment
POST/network/v1/refundsCreate a refund
GET/network/v1/refunds/{id}Retrieve a refund
POST/network/v1/refunds/{id}/voidVoid a refund
GET/network/v1/disputesList disputes
POST/network/v1/disputes/{id}/evidenceSubmit dispute evidence (text or file)

Required headers:

  • Authorization: <api_creds>
  • Content-Type: application/json
  • Accept: application/json
  • X-Region: PDX
  • X-Signature: <signature> (or sandbox:skip-signature-check in sandbox)

Idempotency: All write operations require an idempotency_key (UUID) in the request body to prevent duplicate operations.

Management API (Server-side)

Automates integration management:

  • Secure credential rotation
  • Webhook subscription management
  • Creating scoped API keys (for microservices with least-privilege access)

Quick Start — API Integration

Step 1: Create a Brand and Merchant

# Create a brand
curl -X POST https://sandbox.api.cash.app/network/v1/brands \
  -H "Authorization: {{api_creds}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "X-Region: PDX" \
  -d '{
    "brand": {
      "name": "My Store",
      "reference_id": "external-id"
    },
    "idempotency_key": "unique-uuid-here"
  }'

# Create a merchant under the brand
curl -X POST https://sandbox.api.cash.app/network/v1/merchants \
  -H "Authorization: {{api_creds}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "X-Region: PDX" \
  -d '{
    "merchant": {
      "name": "My Store - Main",
      "brand_id": "BRAND_xxxxx",
      "address": {
        "address_line_1": "1 Market Street",
        "locality": "San Francisco",
        "administrative_district_level_1": "CA",
        "postal_code": "94105",
        "country": "US"
      },
      "country": "US",
      "currency": "USD",
      "category": "5500",
      "reference_id": "external-id"
    },
    "idempotency_key": "unique-uuid-here"
  }'

Step 2: Create a Customer Request

curl -X POST https://sandbox.api.cash.app/customer-request/v1/requests \
  -H "Authorization: Client {{client_id}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{
    "request": {
      "actions": [
        {
          "type": "ONE_TIME_PAYMENT",
          "amount": 1234,
          "currency": "USD",
          "scope_id": "{{merchant_id}}"
        }
      ],
      "channel": "ONLINE",
      "reference_id": "order-12345"
    },
    "idempotency_key": "unique-uuid-here"
  }'

The response contains auth_flow_triggers with QR code URL, mobile URL, and desktop URL. Poll the retrieve endpoint until state = approved, then save the grant_id.

Step 3: Create a Payment

curl -X POST https://sandbox.api.cash.app/network/v1/payments \
  -H "Authorization: {{api_creds}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "X-Region: PDX" \
  -d '{
    "payment": {
      "amount": 1234,
      "currency": "USD",
      "merchant_id": "{{merchant_id}}",
      "grant_id": "{{grant_id}}",
      "capture": true,
      "reference_id": "order-12345"
    },
    "idempotency_key": "unique-uuid-here"
  }'

Set "capture": false for auth-only, then capture later via the capture endpoint.


Pay Kit SDK (Front End)

Pay Kit is Cash App's JavaScript SDK for embedding payment UI. It handles the Customer Request flow automatically.

Pay Kit adapts to the user's device:

  • Desktop → Displays a QR code for scanning with Cash App
  • Mobile → Redirects to Cash App for authentication, then back to merchant

For advanced control over when and how the authorization flow starts, use Pay Kit's advanced controls mode.


Webhooks

Subscribe to webhook events for real-time updates instead of polling.

EventTrigger
customer_request.state.updatedCustomer request state changes (approved, declined, etc.)

Webhook subscriptions are managed through the Management API. There is no webhook event for QR code rotation — use polling or check the refreshes_at timestamp to fetch the latest QR code.


Sandbox

Cash App provides a full sandbox environment for testing without moving real money.

ItemValue
Sandbox hostsandbox.api.cash.app
Sandbox AppAvailable for testing customer approval flows
Sandbox WebWeb-based approval simulator
CredentialsSeparate from production — obtain from Cash App Partner Engineering
Signature bypassSet X-Signature: sandbox:skip-signature-check
Backwards compatibility5-year guarantee on sandbox magic values

Magic Values (Payment Amounts)

Use these amounts in the amount field to trigger specific outcomes:

AmountResult
6670Connection error (HTTP error returned, payment still created)
7770Decline: compliance failure
7771Decline: insufficient funds
7772Decline: other
7773Decline: risk
7774Decline: amount too large
7775Decline: amount too small
8801Creates payment + dispute (reason CD10)
8802Creates payment + dispute (reason CD11)
8803Creates payment + dispute (reason CD12)
8804Creates payment + dispute (reason CD13)
8811Creates payment + dispute (reason FR10 — fraud)
8812Creates payment + dispute (reason FR11 — fraud)
88218823Creates payment + dispute (PE10–PE12 — processing error)
8901Creates payment + dispute with differing disputed amount

Magic Grant IDs

Grant IDResult
GRG_sandbox:activePayment created successfully
GRG_sandbox:consumedDecline: grant consumed
GRG_sandbox:expiredDecline: grant expired
GRG_sandbox:missingDecline: grant not found
GRG_sandbox:revokedDecline: grant revoked

Magic Merchant IDs

Merchant IDResult
MMI_sandbox:disabledError: merchant disabled
MMI_sandbox:pendingError: merchant pending
MMI_sandbox:missingError: merchant not found

Request Signatures

All Network API and Management API requests must be signed in production. Signatures are provided via the X-Signature header.

In sandbox, bypass signing by setting:

X-Signature: sandbox:skip-signature-check

For production signing implementation details, see the Making Requests documentation.


Settlements & Disputes

Settlements

Cash App uses net settlement — refund and dispute amounts are deducted from settlement payouts. Reconciliation reports are uploaded daily via SFTP to a PSP-hosted server, regardless of whether there was payment activity.

Disputes

Dispute reports are also uploaded daily via SFTP. Use the Network API's dispute endpoints to retrieve dispute details and submit evidence (text or file-based).

Dispute evidence magic values (sandbox):

Metadata ValueResult
{"sandbox:set_dispute_state": "PROCESSING"}Dispute moves to PROCESSING
{"sandbox:set_dispute_state": "WON"}Dispute resolved — won
{"sandbox:set_dispute_state": "PARTIALLY_WON"}Dispute resolved — partially won
{"sandbox:set_dispute_state": "LOST"}Dispute resolved — lost

Integration Paths

PathBest ForDocs
Cash App Afterpay (Sellers)Merchants adding Cash App Pay or Afterpay to their checkoutSeller Docs
Cash App Pay Partner API (PSPs)Payment service providers building platform-level integrationsPSP Docs

Resources

ResourceURL
Developer Documentationdevelopers.cash.app
API Reference (Network)Network API Reference
Cash App Pay StatusStatus Page
Brand AssetsCash App Pay Assets
GlossaryGlossary of Terms
Postman CollectionPostman Collection

Important Notes

  • Cash App Pay is U.S. only. Both merchants and customers must be in the United

States. Currency is USD.

  • All Network/Management API requests must be signed in production. Use the

X-Signature header. In sandbox, set it to sandbox:skip-signature-check.

  • All write operations require an idempotency key. Use a unique UUID for each

request to prevent duplicate charges, refunds, or merchant registrations.

  • QR codes rotate every 30 seconds and expire every 60 seconds. Always fetch

the latest from polling responses. Do not cache QR code URLs.

  • Sandbox credentials are separate from production. Never use production

credentials in the sandbox or vice versa.

  • Partner onboarding requires approval. Contact the Cash App Pay Partner

Engineering team to confirm the right integration path and obtain API credentials.

  • Never expose API credentials client-side. The Network API and Management API

are server-side only. Only the Customer Request API and Pay Kit SDK are used on the client.

  • Cash App Pay is a product of Block, Inc. (formerly Square, Inc.). It is not

affiliated with CreditClaw.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

71.21%
按下载量换算2,066

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills