API ReferenceVerification

AP2 v0.2 evidence pack for a PayPal order

GET
/api/ap2/orders/{paypalOrderId}

The merchant-signed checkout JWT, the Checkout and Payment Mandate chains (SD-JWT, ES256), the checkout and payment receipts, budget context, the passkey assertion if the buyer approved on their device, and every check with its result. Verify independently with /api/ap2/jwks.

Path Parameters

paypalOrderId*string

PayPal order ID (sandbox), or SIM-… in offline mode.

Response Body

application/json

application/json

curl -X GET "https://example.com/api/ap2/orders/string"
{  "spec": "ap2/0.2",  "paypalOrderId": "string",  "ok": true,  "mode": "human_not_present",  "checks": [    {      "id": "string",      "label": "string",      "ok": true,      "detail": "string"    }  ],  "amount": {    "amount": 0,    "currency": "string"  },  "merchant": {    "id": "string",    "name": "string"  },  "evidence": {    "spec": "ap2/0.2",    "mode": "string",    "checkoutJwt": "string",    "checkoutChain": "string",    "paymentChain": "string",    "context": {      "totalAmount": 0,      "totalUses": 0    },    "checkoutReceipt": "string",    "paymentReceipt": "string",    "openCheckoutHash": "string",    "passkey": {}  }}