alipay-pay-for-402-service

Official

Handle 402 payments securely with proof

Authoralipay
Version1.0.0
Installs0

System Documentation

What problem does it solve?

When HTTP responses indicate a 402 Payment Required, this Skill provides a complete workflow to parse the response, acquire a paymentProof via the alipay-bot CLI, and retry the original request with the necessary credentials, ensuring a smooth buyer-side payment flow.

Core Features & Use Cases

  • Parse 402 Payment Needed responses and extract the required payment instructions.
  • Invoke the alipay-bot CLI to initiate payment, retrieve paymentProof, and retry the original resource request with the proof.
  • Manage the end-to-end flow including verification, retries, and fulfillment signaling after successful payment.

Quick Start

Start by running alipay-bot -- check-wallet to determine wallet readiness before proceeding with the 402 workflow.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: alipay-pay-for-402-service
Download link: https://github.com/alipay/ai/archive/main.zip#alipay-pay-for-402-service

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.