@okx/okx-x402-payment

This skill should be used when the user encounters an HTTP 402 Payment Required response, wants to pay for a payment-gated API or resource, or mentions 'x402', 'pay for access', '402 payment', 'payment-gated URL', or 'sign x402 payment'. Primary path signs via TEE with a wallet session (JWT); fallback path guides local EIP-3009 signing with the user's own private key if they have no wallet. Returns the payment proof (signature + authorization) that the caller can attach as a payment header to access the resource. Do NOT use for swap or token transfers — use okx-dex-swap instead. Do NOT use for wallet balance or portfolio queries — use okx-agentic-wallet or okx-wallet-portfolio. Do NOT use for security scanning — use okx-security. Do NOT use for transaction broadcasting — use okx-onchain-gateway. Do NOT use for general programming questions.

View in AI SkillSafe app
985 downloads
0 stars
0 demos
SKILL.md

Embed badges

Add these to your README to show the skill's verification status.

SkillSafe verified badge
Verified badge
[![SkillSafe verified badge](https://api.skillsafe.ai/v1/badge/@okx/okx-x402-payment/verified)](https://skillsafe.ai/skill/@okx/okx-x402-payment/)
Installs badge
Installs badge
[![Installs badge](https://api.skillsafe.ai/v1/badge/@okx/okx-x402-payment/installs)](https://skillsafe.ai/skill/@okx/okx-x402-payment/)
Scan badge
Scan badge
[![Scan badge](https://api.skillsafe.ai/v1/badge/@okx/okx-x402-payment/scan)](https://skillsafe.ai/skill/@okx/okx-x402-payment/)
Eval pass rate badge
Eval pass rate
[![Eval pass rate badge](https://api.skillsafe.ai/v1/badge/@okx/okx-x402-payment/eval)](https://skillsafe.ai/skill/@okx/okx-x402-payment/)