
Okx X402 Payment
Resolve legacy skill invocations that still reference okx-x402-payment by redirecting agents to okx-agent-payments-protocol without executing deprecated payment logic from this stub.
Overview
OKX X402 Payment is a deprecated Build-phase integration stub that redirects legacy invocations to okx-agent-payments-protocol instead of executing x402 payment logic locally.
Install
npx skills add https://github.com/okx/onchainos-skills --skill okx-x402-paymentWhat is this skill?
- Deprecated legacy alias—x402 and MPP flows merged into okx-agent-payments-protocol (v3.3.9 metadata)
- Hard redirect: load successor via Skill tool; do not execute payment logic from this stub
- Successor Path A covers HTTP 402 detection and dispatch in unified SKILL.md
- Reference map: exact.md, aggr_deferred.md, charge.md, session.md under the successor skill
- MIT-licensed OKX OnchainOS stub for backward-compatible name resolution only
- Metadata version 3.3.9
- Successor skill okx-agent-payments-protocol with 4 named reference docs (exact, aggr_deferred, charge, session)
Adoption & trust: 4.2k installs on skills.sh; 284 GitHub stars; 0/3 security scanners passed (skills.sh audits).
What problem does it solve?
Your agent workflow or docs still reference the old okx-x402-payment name and you need a safe handoff to the unified OKX payment dispatcher.
Who is it for?
Maintainers updating older OKX OnchainOS skill lists or prompts that still mention okx-x402-payment and need the documented successor slug.
Skip if: New payment integrations—start with okx-agent-payments-protocol directly; do not treat this stub as an implementation skill.
When should I use this skill?
Only when a legacy invocation references okx-x402-payment—then redirect to okx-agent-payments-protocol; HTTP 402 / x402 / MPP triggers should route to the successor Path A directly.
What do I get? / Deliverables
The agent loads okx-agent-payments-protocol and follows Path A and reference docs for x402, MPP, channel, voucher, and session triggers—without using this stub’s logic.
- Redirect instruction to load successor skill
- Pointer to successor reference markdown paths
Recommended Skills
Journey fit
Build / integrations is the shelf for agent payment wiring; this entry is a deprecated alias pointer, not an active implementation surface. Integrations fits HTTP 402 / x402 / MPP routing that now lives in the unified successor skill’s reference docs.
How it compares
Deprecation alias only—not a payment implementation; use the unified okx-agent-payments-protocol skill instead of this merged stub.
Common Questions / FAQ
Who is okx-x402-payment for?
Developers and agent operators with legacy configs pointing at okx-x402-payment who need an automatic redirect to the current OKX agent payments skill.
When should I use okx-x402-payment?
Only when an old invocation or catalog link still names this skill—then immediately switch to okx-agent-payments-protocol for any HTTP 402, x402, or MPP work during Build integrations.
Is okx-x402-payment safe to install?
The stub instructs agents not to execute payment logic here; verify successor skill audits and review the Security Audits panel on this Prism page before enabling any on-chain payments.
Workflow Chain
Then invoke: okx agent payments protocol
SKILL.md
READMESKILL.md - Okx X402 Payment
# DEPRECATED — merged into `okx-agent-payments-protocol` This skill has been folded into the unified payment dispatcher. The functionality is unchanged; only the entry point has changed. **What to do**: load **`okx-agent-payments-protocol`** via the Skill tool and follow that skill instead. The x402 + MPP flows live at: - `okx-agent-payments-protocol/SKILL.md` — Path A (HTTP 402 detection + dispatch) - `okx-agent-payments-protocol/references/exact.md` — x402 `exact` scheme (TEE EIP-3009 or local-key fallback) - `okx-agent-payments-protocol/references/aggr_deferred.md` — x402 `aggr_deferred` scheme (Session Key + sessionCert) - `okx-agent-payments-protocol/references/charge.md` — MPP `charge` intent (one-shot, tx or hash mode) - `okx-agent-payments-protocol/references/session.md` — MPP `session` intent (open / voucher / topUp / close) **Why this stub exists**: legacy transcripts, scripts, and external docs may still reference `okx-x402-payment` by name. This stub catches those references and redirects to the merged skill. It carries no triggers of its own — new conversations mentioning x402 / MPP / 402 / channel operations route directly to `okx-agent-payments-protocol` based on that skill's triggers.