Decodes a PAYMENT-REQUIRED, PAYMENT-SIGNATURE or PAYMENT-RESPONSE header (x402 v
Decodes a PAYMENT-REQUIRED, PAYMENT-SIGNATURE or PAYMENT-RESPONSE header (x402 v2, or X-PAYMENT / X-PAYMENT-RESPONSE of v1), base64 or JSON, detecting which it is. Explains it in plain terms (price in dollars, network, payer and payee, validity window, explorer link) and lists problems: wrong USDC EIP-712 domain, expired or not-yet-valid authorizations, amount or payee mismatches, missing Bazaar extension.
Answeringour last check, 2026-11-26
7 of 7checks answered this week
619 msmedian answer time
$0.002listed price per call
$0.002price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://dev.kagurazaka.dev/v1/decode
| Category | Market data |
|---|---|
| Provider host | dev.kagurazaka.dev |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 4 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.002 | 609 ms |
| 2026-11-25 | valid payment request | 402 | $0.002 | 618 ms |
| 2026-11-24 | valid payment request | 402 | $0.002 | 626 ms |
| 2026-11-23 | valid payment request | 402 | $0.002 | 619 ms |
| 2026-11-22 | valid payment request | 402 | $0.002 | 621 ms |
| 2026-11-21 | valid payment request | 402 | $0.002 | 495 ms |
| 2026-11-20 | valid payment request | 402 | $0.002 | 623 ms |
| 2026-11-19 | valid payment request | 402 | $0.002 | 635 ms |
| 2026-11-18 | valid payment request | 402 | $0.002 | 618 ms |
| 2026-11-17 | valid payment request | 402 | $0.002 | 615 ms |
| 2026-11-16 | valid payment request | 402 | $0.002 | 627 ms |
| 2026-11-15 | valid payment request | 402 | $0.002 | 633 ms |
| 2026-11-14 | valid payment request | 402 | $0.002 | 629 ms |
| 2026-11-13 | valid payment request | 402 | $0.002 | 624 ms |
| 2026-11-12 | valid payment request | 402 | $0.002 | 499 ms |
| 2026-11-11 | valid payment request | 402 | $0.002 | 523 ms |
| 2026-11-10 | valid payment request | 402 | $0.002 | 627 ms |
| 2026-11-09 | valid payment request | 402 | $0.002 | 630 ms |
| 2026-11-08 | valid payment request | 402 | $0.002 | 619 ms |
| 2026-11-07 | valid payment request | 402 | $0.002 | 498 ms |
| 2026-11-06 | valid payment request | 402 | $0.002 | 671 ms |
| 2026-11-05 | valid payment request | 402 | $0.002 | 628 ms |
| 2026-11-04 | valid payment request | 402 | $0.002 | 639 ms |
| 2026-11-03 | valid payment request | 402 | $0.002 | 618 ms |
| 2026-11-02 | valid payment request | 402 | $0.002 | 624 ms |
| 2026-11-01 | valid payment request | 402 | $0.002 | 497 ms |
| 2026-10-31 | valid payment request | 402 | $0.002 | 624 ms |
| 2026-10-29 | valid payment request | 402 | $0.002 | 485 ms |
Example input (from the provider)
{
"body": {
"header": "eyJ4NDAyVmVyc2lvbiI6MiwiZXJyb3IiOiJQYXltZW50IHJlcXVpcmVkIiwicmVzb3VyY2UiOnsidXJsIjoiaHR0cHM6Ly9hcGkuZXhhbXBsZS5jb20vdjEvd2VhdGhlciIsImRlc2NyaXB0aW9uIjoiIiwibWltZVR5cGUiOiJhcHBsaWNhdGlvbi9qc29uIn0sImFjY2VwdHMiOlt7InNjaGVtZSI6ImV4YWN0IiwibmV0d29yayI6ImVpcDE1NTo4NDUzIiwiYW1vdW50IjoiMTAwMCIsImFzc2V0IjoiMHg4MzM1ODlmQ0Q2ZURiNkUwOGY0YzdDMzJENGY3MWI1NGJkQTAyOTEzIiwicGF5VG8iOiIweEYxNjQzQkQwMEQzYzA3MWQ5YTBjMTJBNEU3ZDNhMTdlNkUxOWY4YTUiLCJtYXhUaW1lb3V0U2Vjb25kcyI6MzAwLCJleHRyYSI6eyJuYW1lIjoiVVNEIENvaW4iLCJ2ZXJzaW9uIjoiMiJ9fV19"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"header": {
"description": "the header value (base64 or JSON); a leading 'Header-Name:' is ignored",
"type": "string"
},
"kind": {
"description": "default auto",
"enum": [
"payment-required",
"payment-signature",
"payment-response",
"auto"
],
"type": "string"
}
},
"required": [
"header"
]
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"accepts": {},
"decoded": {},
"findings": {},
"kind": {},
"summary": {},
"x402_version": {}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}