API ReferenceKeys

All public keys, Mandate v1 (Ed25519 PEM) and AP2 v0.2 (JWKS)

GET
/api/trust

The full trust bundle in one call: users' and merchants' Ed25519 keys (with each merchant's verified status), the platform key, and the AP2 JWKS. Cache it to verify payments offline.

Response Body

application/json

curl -X GET "https://example.com/api/trust"
{  "users": {    "property1": "string",    "property2": "string"  },  "merchants": {    "property1": {      "publicKey": "string",      "verified": true,      "name": "string"    },    "property2": {      "publicKey": "string",      "verified": true,      "name": "string"    }  },  "platform": "string",  "ap2": {    "keys": [      {        "kty": "EC",        "crv": "P-256",        "x": "string",        "y": "string",        "kid": "string",        "alg": "ES256",        "use": "sig"      }    ]  }}