{
  "x402Version": 2,
  "id": 38057,
  "slug": "38057",
  "resource": "https://api-staging.vapinetwork.ai/x402/decode",
  "description": "Decode what an EVM payment authorization actually authorizes before signing.",
  "type": "http",
  "serviceName": "vAPI x402 decoder",
  "resourceType": "Blockchain Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x7B5592D2F8adBF58b4A69b374636EC918F21eFAb",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "example": {
        "additionalProperties": false,
        "properties": {
          "amountAtomic": {
            "type": [
              "string",
              "null"
            ]
          },
          "amountFormatted": {
            "type": [
              "string",
              "null"
            ]
          },
          "amountSymbol": {
            "type": [
              "string",
              "null"
            ]
          },
          "chainId": {
            "type": [
              "integer",
              "null"
            ]
          },
          "nonce": {
            "type": [
              "string",
              "null"
            ]
          },
          "owner": {
            "type": [
              "string",
              "null"
            ]
          },
          "primaryType": {
            "type": "string"
          },
          "signer": {
            "type": [
              "string",
              "null"
            ]
          },
          "spenderOrRecipient": {
            "type": [
              "string",
              "null"
            ]
          },
          "standard": {
            "type": "string"
          },
          "token": {
            "type": [
              "string",
              "null"
            ]
          },
          "validity": {
            "type": "object"
          },
          "verifyingContract": {
            "type": [
              "string",
              "null"
            ]
          },
          "warnings": {
            "items": {
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "standard",
          "primaryType",
          "token",
          "verifyingContract",
          "chainId",
          "spenderOrRecipient",
          "owner",
          "amountAtomic",
          "amountFormatted",
          "amountSymbol",
          "validity",
          "nonce",
          "signer",
          "warnings"
        ],
        "type": "object"
      },
      "type": {
        "const": "json",
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "typedData": "{\"domain\":{},\"types\":{\"X\":[]},\"primaryType\":\"X\",\"message\":{}}"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "signature": {
                    "type": "string"
                  },
                  "typedData": {
                    "description": "JSON string of the EIP-712 typed data",
                    "type": "string"
                  }
                },
                "required": [
                  "typedData"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "additionalProperties": false,
            "properties": {
              "example": {
                "additionalProperties": false,
                "properties": {
                  "amountAtomic": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "amountFormatted": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "amountSymbol": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "chainId": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "nonce": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "owner": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "primaryType": {
                    "type": "string"
                  },
                  "signer": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "spenderOrRecipient": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "standard": {
                    "type": "string"
                  },
                  "token": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "validity": {
                    "type": "object"
                  },
                  "verifyingContract": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "warnings": {
                    "items": {
                      "type": "object"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "standard",
                  "primaryType",
                  "token",
                  "verifyingContract",
                  "chainId",
                  "spenderOrRecipient",
                  "owner",
                  "amountAtomic",
                  "amountFormatted",
                  "amountSymbol",
                  "validity",
                  "nonce",
                  "signer",
                  "warnings"
                ],
                "type": "object"
              },
              "type": {
                "const": "json",
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "vapi"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "maxItems": 11,
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "payment-identifier": {
      "info": {
        "required": false
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "id": {
            "maxLength": 128,
            "minLength": 16,
            "pattern": "^[a-zA-Z0-9_-]+$",
            "type": "string"
          },
          "required": {
            "type": "boolean"
          }
        },
        "required": [
          "required"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "builder-code",
    "payment-identifier"
  ],
  "sourceHost": "api-staging.vapinetwork.ai",
  "lastUpdated": "2026-10-06T01:46:09.317Z",
  "quality": {
    "calls30d": 12,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-06T01:46:08.896Z"
  },
  "metadata": {
    "serviceName": "vAPI x402 decoder",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "typedData": "{\"domain\":{},\"types\":{\"X\":[]},\"primaryType\":\"X\",\"message\":{}}"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "signature": {
                      "type": "string"
                    },
                    "typedData": {
                      "description": "JSON string of the EIP-712 typed data",
                      "type": "string"
                    }
                  },
                  "required": [
                    "typedData"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "additionalProperties": false,
              "properties": {
                "example": {
                  "additionalProperties": false,
                  "properties": {
                    "amountAtomic": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "amountFormatted": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "amountSymbol": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "chainId": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "nonce": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "owner": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "primaryType": {
                      "type": "string"
                    },
                    "signer": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "spenderOrRecipient": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "standard": {
                      "type": "string"
                    },
                    "token": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "validity": {
                      "type": "object"
                    },
                    "verifyingContract": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "warnings": {
                      "items": {
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "standard",
                    "primaryType",
                    "token",
                    "verifyingContract",
                    "chainId",
                    "spenderOrRecipient",
                    "owner",
                    "amountAtomic",
                    "amountFormatted",
                    "amountSymbol",
                    "validity",
                    "nonce",
                    "signer",
                    "warnings"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "json",
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "builder-code": {
        "info": {
          "a": "vapi"
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "a": {
              "description": "App builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "s": {
              "description": "Service builder codes",
              "items": {
                "pattern": "^[a-z0-9_]{1,32}$",
                "type": "string"
              },
              "maxItems": 11,
              "type": "array"
            },
            "w": {
              "description": "Wallet builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            }
          },
          "type": "object"
        }
      },
      "payment-identifier": {
        "info": {
          "required": false
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "id": {
              "maxLength": 128,
              "minLength": 16,
              "pattern": "^[a-zA-Z0-9_-]+$",
              "type": "string"
            },
            "required": {
              "type": "boolean"
            }
          },
          "required": [
            "required"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api-staging.vapinetwork.ai",
    "manifest_name": "api-staging.vapinetwork.ai",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "amountAtomic": "string",
      "amountFormatted": "string",
      "amountSymbol": "string",
      "chainId": 0,
      "nonce": "string",
      "owner": "string",
      "primaryType": "string",
      "signer": "string",
      "spenderOrRecipient": "string",
      "standard": "string",
      "token": "string",
      "validity": {},
      "verifyingContract": "string",
      "warnings": [
        {}
      ]
    },
    "type": "string"
  }
}