MPP.Demo.Method (mpp v0.6.2)

Copy Markdown View Source

Demo payment method — accepts a magic token for local testing.

Used by mix mpp.demo to demonstrate the full 402 handshake without requiring real payment credentials. The only accepted token is "demo-token".

Credential Payload

The credential payload map must contain:

  • "token" — (required) must be "demo-token"
  • "externalId" — (optional) caller-provided correlation ID, echoed in receipt