# x402 Payment Client Testing

> Tests an x402 crypto payment client through the full settle loop on a testnet, so you know it really takes money.

- Page: https://youraiskill.com/skill/pjt222-test-x402-payment-client
- What it does: Test an x402 payment client end to end against a live endpoint: drive the full 402 -> PAYMENT-REQUIRED -> sign -> PAYMENT-SIGNATURE -> verify/settle loop, confirm settlement on chain, and check any signed offers or receipts for conformance. Use when validating a new x402 client or SDK before shipping, debugging a payment that never completes despite a well-formed 402, running x402 conformance in CI against a testnet facilitator, or verifying an endpoint actually takes money before you route real value to it. Start on a testnet; opt into mainnet settlement explicitly.
- Niches: testing, backend, coding
- Licence: MIT
- Status: Checked: open licence, author credited, passed the YourAISkill safety scan. Can be added to a paid pack.
- Contents: instructions and reference files only (1 files)

To add it, see https://youraiskill.com/guides/how-to-add-a-skill-to-claude
