Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions release-v1.1.0/checksums.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
c43ff17a819f42e67cc2ee01a6356ea1c6d3917d498b2fc1930a42e80075e48c LICENSE
a451582f4d6e088606126f6504ce97c0404b5a7f9eaf2a1b1e253185afc9491e README.md
930cbbb3992d01385c1e5a64a4a04de5bac7c68a8b59a25a6c0e5507a1cea33f examples/v1.1.0/commercial/authorize/invalid/001-authorize.request.invalid.json
ef1e7e77e6c53ef918053918a1b9243505fef02a61b4899868cad36feebe42f3 examples/v1.1.0/commercial/authorize/invalid/900-authorize.receipt.invalid.json
afbcee85906d0249ed0c60eecf40657832549ca8032a99154dd0e643b6d82884 examples/v1.1.0/commercial/authorize/valid/001-authorize.request.valid.json
7f4a224807248e500a18544f209ad46fe8cd0d1c2ab34308d0d3087e96c76594 examples/v1.1.0/commercial/authorize/valid/002-authorize.request.valid.json
c0ca42d7269f82c69cdcb24a0cd19d9bfc0a30cbf9b991e3f82b58c01ac16961 examples/v1.1.0/commercial/authorize/valid/900-authorize.receipt.valid.json
45023d4bb512d36ee2543ffb9d3246a17f13021d7f9a115c79ae87860f391e00 examples/v1.1.0/commercial/authorize/valid/901-authorize.receipt.valid.json
dec8708eda1a9da3d3f54731146b2b3cbd292ab718fcc6a763062d83014b4390 examples/v1.1.0/commercial/checkout/invalid/001-checkout.request.invalid.json
a6fbf133ce4629ce3831d9a2929bcc5eef1844d5edf97428d20ce897d77e031e examples/v1.1.0/commercial/checkout/invalid/900-checkout.receipt.invalid.json
6607a0a6ceefd0ca978f7969cb1e6e326e9a8ceaedde17505d2be81a260b3c8c examples/v1.1.0/commercial/checkout/valid/001-checkout.request.valid.json
c0e61562d56f2c14161f805147b00524bcd08cffff86535c523b7492760b1089 examples/v1.1.0/commercial/checkout/valid/002-checkout.request.valid.json
f8880c06f91c1d21a617fbe7f2b6a9d41d37db9f4fd5e9998689100c16f4000e examples/v1.1.0/commercial/checkout/valid/900-checkout.receipt.valid.json
ef376639e6129b14a8444c90e5a46ca4bd87a0b0f3b793e012f4839aa46b84a8 examples/v1.1.0/commercial/checkout/valid/901-checkout.receipt.valid.json
0be8ae75fc24986bdf74f096995712b847a8cced75e33fe18095bca51282b773 examples/v1.1.0/commercial/purchase/invalid/001-purchase.request.invalid.json
e70a205a9d6a4ec729161508a02b3d36d69b801408eec5cf54573ddfbbdfd44d examples/v1.1.0/commercial/purchase/invalid/900-purchase.receipt.invalid.json
2b235a6d567127c54da9c6c3eacf915c79a5c5127197a9aadbfb50289b122957 examples/v1.1.0/commercial/purchase/valid/001-purchase.request.valid.json
b5e21819f5f9a8cd700841ad18abe45e1ff42e401648ded05c4dcfd89c350b3c examples/v1.1.0/commercial/purchase/valid/002-purchase.request.valid.json
3dd86d4ca05f8d3488ec1203d451a2f263b8e8eca388a0001850d7867314a187 examples/v1.1.0/commercial/purchase/valid/900-purchase.receipt.valid.json
eeee667d742c165ba4fb08014cbcf9d45b5ee35bcc228764184ffe9a04530545 examples/v1.1.0/commercial/purchase/valid/901-purchase.receipt.valid.json
bee0d3a0329f17125d0c1c287b870880b836cdb35faf8f2b06a820fa91ab6571 examples/v1.1.0/commercial/ship/invalid/001-ship.request.invalid.json
7012d72e9641258bdebe3534e2f0faa771fbce63cb6a8b3c0828e9fe5ec521c5 examples/v1.1.0/commercial/ship/invalid/900-ship.receipt.invalid.json
576924f554079213ce078d4be6c54e5ffc58839bde4182d73d02ba3412e47f3b examples/v1.1.0/commercial/ship/valid/001-ship.request.valid.json
abd0e8a97943c458a85d788b758206d05d9ccef3ba8635f613340ad526dfe496 examples/v1.1.0/commercial/ship/valid/002-ship.request.valid.json
a004cb1385b1ca173b89df702e2b52d63f870521652f98f023359d30009b8df0 examples/v1.1.0/commercial/ship/valid/900-ship.receipt.valid.json
f268080d0fadbd2b78ea0ab66348b137a07fe8764066af3337f8c7354335f4c7 examples/v1.1.0/commercial/ship/valid/901-ship.receipt.valid.json
a2a5e61fa04e12786a848e03bbabbc3f9d066ca55a6f48cb1ae1140f6373bf94 examples/v1.1.0/commercial/verify/invalid/001-verify.request.invalid.json
b83c5b6dc532a5a7c142e44979f0101598fc6d5ad0687efa2fffcba9f59b6ab4 examples/v1.1.0/commercial/verify/invalid/900-verify.receipt.invalid.json
56d02915471d62f7687e3f6258d75754c8e7a44ca717e4ca0906dd4bb6fc34fb examples/v1.1.0/commercial/verify/valid/001-verify.request.valid.json
9492d90ea14ad35eeb8acd03248ce6061ccdc04a7aff4ed538d8c42be3abc015 examples/v1.1.0/commercial/verify/valid/002-verify.request.valid.json
50874f3eea69a51ac132873b05e39318e4c2241078ca5e258e466934935ec945 examples/v1.1.0/commercial/verify/valid/900-verify.receipt.valid.json
455d19ad1b7ef98e436d8f1c675fee7f2716eb17d301da8d2cc4e2e2c51e624a examples/v1.1.0/commercial/verify/valid/901-verify.receipt.valid.json
6b0461ac0138c9ba356cbe99ccfaa8c904296c41b6fe26808aef5bac44b29478 index.js
6d0c507d979d7fa4c03570ac624e52f1e76db31234c1591fbd9080f5865dcaae manifest.json
93aee99366ac3917027f3d153f646929d77ccf178e543086518efd14d1d68fe4 schemas/v1.1.0/commercial/authorize/authorize.receipt.schema.json
ef5da55ba5acdd43e8d2715204938762a63819dd370ebc8dfedad014617259c3 schemas/v1.1.0/commercial/authorize/authorize.request.schema.json
db850c38415809fd823abd9b49fd56502c79fd00d4cf4899dc849ef653d8db23 schemas/v1.1.0/commercial/checkout/checkout.receipt.schema.json
c4ca52ae4c5054a151c099d6108af57b17025ed7d86a99889c2cf7ffc9a341fa schemas/v1.1.0/commercial/checkout/checkout.request.schema.json
a26030e08210a7d6f891a4448a8100d358fc9b11f99e68d56d591137a0e3d8b1 schemas/v1.1.0/commercial/purchase/purchase.receipt.schema.json
e9b62cf29d5f58fed922e9bc77c8d3e13e6f7ed04785baad7a7e4fc600ab44b8 schemas/v1.1.0/commercial/purchase/purchase.request.schema.json
209f3449f0c580f919a5d9d93cf863b37b70cdcf873a49fbbb57241c361034dd schemas/v1.1.0/commercial/ship/ship.receipt.schema.json
b876f8ffbfd87e5554374de114414f9e4091ba09c80d07b9b99a40ff1befd7c5 schemas/v1.1.0/commercial/ship/ship.request.schema.json
7abc8e8a2dec058298ba5dd0603f20d9f95f6bc411fcd429fdb3c7a116dcbcca schemas/v1.1.0/commercial/verify/verify.receipt.schema.json
09707b90a6317d10d13f6e5339bc17a7ddc4d5938970ff7e25842876b7f2eea5 schemas/v1.1.0/commercial/verify/verify.request.schema.json
07885e73062e6d92d8a0282745b83c1bffb3ab56adfeb8090642cb05b000bdf2 schemas/v1.1.0/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"protocol": "commercial",
"version": "1.1.0",
"verb": "authorize",
"request_id": "bad-auth-001",
"requested_at": "2026-03-19T10:00:00Z",
"payer": {
"role": "payer",
"id": "buyer-001",
"kind": "account"
},
"payee": {
"role": "payee",
"id": "merchant-settlement",
"kind": "wallet"
},
"amount": {
"amount": 49.99,
"currency": "USDC",
"decimals": 2
},
"authorization_scope": {
"capture_mode": "manual"
},
"merchant": {
"role": "merchant",
"id": "merchant.example",
"kind": "organization"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"protocol": "commercial",
"version": "1.1.0",
"verb": "authorize",
"receipt_id": "bad-authrcpt-001",
"issued_at": "2026-03-19T10:00:05Z",
"request_id": "authreq-001",
"status": "approved",
"authorization_id": "auth-001",
"payer": {
"role": "payer",
"id": "buyer-001",
"kind": "account"
},
"payee": {
"role": "payee",
"id": "merchant-settlement",
"kind": "wallet"
},
"amount": {
"amount": "49.99",
"currency": "USDC",
"decimals": 2
},
"payment_requirement_ref": {
"type": "payment_requirement",
"id": "x402-auth-001"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"protocol": "commercial",
"version": "1.1.0",
"verb": "authorize",
"request_id": "authreq-001",
"requested_at": "2026-03-19T10:00:00Z",
"payer": {
"role": "payer",
"id": "buyer-001",
"kind": "account"
},
"payee": {
"role": "payee",
"id": "merchant-settlement",
"kind": "wallet"
},
"merchant": {
"role": "merchant",
"id": "merchant.example",
"kind": "organization"
},
"amount": {
"amount": "49.99",
"currency": "USDC",
"decimals": 2
},
"authorization_scope": {
"capture_mode": "manual",
"valid_until": "2026-03-20T10:00:00Z",
"reusable": false
},
"payment_requirement": {
"scheme": "x402",
"resource": "https://merchant.example/x402/authorize/authreq-001",
"network": "eip155:8453",
"max_amount": {
"amount": "49.99",
"currency": "USDC",
"decimals": 2
},
"payment_request_id": "x402-auth-001"
},
"order_ref": {
"type": "order",
"id": "ord-1001"
},
"invoice_ref": {
"type": "invoice",
"id": "inv-1001"
},
"merchant_reference": "web-checkout-1001",
"idempotency_key": "authorize-1001"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"protocol": "commercial",
"version": "1.1.0",
"verb": "authorize",
"request_id": "authreq-002",
"requested_at": "2026-03-19T10:03:30Z",
"payer": {
"role": "payer",
"id": "buyer-007",
"kind": "account"
},
"payee": {
"role": "payee",
"id": "merchant-settlement",
"kind": "wallet"
},
"merchant": {
"role": "merchant",
"id": "merchant.example",
"kind": "organization"
},
"amount": {
"amount": "199.00",
"currency": "USDC",
"decimals": 2
},
"authorization_scope": {
"capture_mode": "automatic",
"valid_until": "2026-03-19T12:03:30Z",
"reusable": true
},
"payment_requirement": {
"scheme": "x402",
"resource": "https://merchant.example/x402/authorize/authreq-002",
"max_amount": {
"amount": "199.00",
"currency": "USDC",
"decimals": 2
},
"payment_request_id": "x402-auth-002"
},
"order_ref": {
"type": "order",
"id": "ord-1002"
},
"merchant_reference": "renewal-batch-1002"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"protocol": "commercial",
"version": "1.1.0",
"verb": "authorize",
"receipt_id": "authrcpt-001",
"issued_at": "2026-03-19T10:00:05Z",
"request_id": "authreq-001",
"status": "approved",
"authorization_id": "auth-001",
"payer": {
"role": "payer",
"id": "buyer-001",
"kind": "account"
},
"payee": {
"role": "payee",
"id": "merchant-settlement",
"kind": "wallet"
},
"merchant": {
"role": "merchant",
"id": "merchant.example",
"kind": "organization"
},
"amount": {
"amount": "49.99",
"currency": "USDC",
"decimals": 2
},
"approved_until": "2026-03-20T10:00:00Z",
"payment_requirement_ref": {
"type": "payment_requirement",
"id": "x402-auth-001"
},
"order_ref": {
"type": "order",
"id": "ord-1001"
},
"invoice_ref": {
"type": "invoice",
"id": "inv-1001"
},
"payment_proof": {
"scheme": "x402",
"proof_type": "payment-authorization",
"proof_ref": "proof-auth-001",
"uri": "https://merchant.example/x402/proofs/proof-auth-001"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"protocol": "commercial",
"version": "1.1.0",
"verb": "authorize",
"receipt_id": "authrcpt-002",
"issued_at": "2026-03-19T10:04:10Z",
"request_id": "authreq-002",
"status": "denied",
"payer": {
"role": "payer",
"id": "buyer-007",
"kind": "account"
},
"payee": {
"role": "payee",
"id": "merchant-settlement",
"kind": "wallet"
},
"merchant": {
"role": "merchant",
"id": "merchant.example",
"kind": "organization"
},
"amount": {
"amount": "199.00",
"currency": "USDC",
"decimals": 2
},
"order_ref": {
"type": "order",
"id": "ord-1002"
},
"reason": "Issuer risk controls require a fresh buyer challenge before approval."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"protocol": "commercial",
"version": "1.1.0",
"verb": "checkout",
"request_id": "bad-checkout-001",
"requested_at": "2026-03-19T10:05:00Z",
"payer": {
"role": "payer",
"id": "buyer-001",
"kind": "account"
},
"merchant": {
"role": "merchant",
"id": "merchant.example",
"kind": "organization"
},
"order_ref": {
"type": "order",
"id": "ord-1001"
},
"items": [],
"amount_breakdown": {
"subtotal": {
"amount": "49.99",
"currency": "USDC",
"decimals": 2
},
"total": {
"amount": "49.99",
"currency": "USDC",
"decimals": 2
}
},
"capture": "immediate",
"payment_session": {
"scheme": "x402",
"session_id": "x402-session-001",
"resource": "https://merchant.example/x402/sessions/x402-session-001"
},
"fulfillment_intent": {
"mode": "digital",
"destination_ref": "acct-buyer-001"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"protocol": "commercial",
"version": "1.1.0",
"verb": "checkout",
"receipt_id": "bad-checkoutrcpt-001",
"issued_at": "2026-03-19T10:05:03Z",
"request_id": "checkoutreq-001",
"status": "failed",
"payer": {
"role": "payer",
"id": "buyer-001",
"kind": "account"
},
"merchant": {
"role": "merchant",
"id": "merchant.example",
"kind": "organization"
},
"order_ref": {
"type": "order",
"id": "ord-1001"
},
"settlement": {
"status": "failed",
"method": "x402",
"settlement_ref": "settle-001",
"amount": {
"amount": "49.99",
"currency": "USDC",
"decimals": 2
}
},
"amount_breakdown": {
"subtotal": {
"amount": "49.99",
"currency": "USDC",
"decimals": 2
},
"total": {
"amount": "49.99",
"currency": "USDC",
"decimals": 2
}
}
}
Loading
Loading