Protocol adapters

Project AP2, x402 v2, or MPP payment fields

Maps one documented source projection into the deterministic MandateShield purchase envelope. X402 requires exact network+payTo identity plus a trusted merchant-mapping evidence reference; MPP requires exact HTTPS service origin+method identity. projection_fields_valid=true means only that supported fields and explicit mappings passed. The endpoint does not fetch or independently verify the evidence reference, establish full source-protocol conformance, or verify source signature, issuer trust, delegated authority, payment credential, or settlement; it always returns enforcement_authorized=false. Strict v2 verification remains mandatory.

post/api/v2/normalize

Request

  • Base URL: https://mandateshield.com
  • URL: https://mandateshield.com/api/v2/normalize
  • Auth: none declared

Request body

adapter'AP2_CLOSED_PAYMENT_SD_JWT' | 'X402_V2_PAYMENT_REQUIRED' | 'MPP_HTTP_PAYMENT_CHALLENGE' required
sourceunknown required

Response

Syntax normalized into a non-executable purchase envelope

adapter'AP2_CLOSED_PAYMENT_SD_JWT' | 'X402_V2_PAYMENT_REQUIRED' | 'MPP_HTTP_PAYMENT_CHALLENGE' required
adapter_version'1.0.0' required
protocol'AP2' | 'X402' | 'MPP' required
source_digeststring required
envelope_digeststring required
bindingsobject required
next_stepstring required
warningsstring[] required

Changes

No recorded changes to this operation across all 1 revision of this API.