Skip to content

Commit dbacbc9

Browse files
authored
Update 900-authorize.receipt.valid.json
1 parent 1fbc580 commit dbacbc9

1 file changed

Lines changed: 9 additions & 35 deletions

File tree

examples/v1.0.0/commercial/authorize/valid/900-authorize.receipt.valid.json

Lines changed: 9 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -2,53 +2,27 @@
22
"x402": {
33
"verb": "authorize",
44
"version": "1.0.0",
5-
"request_id": "req-auth-2025-12-07-0001",
6-
"network": "eip155:1"
5+
"idempotency_key": "auth-demo-001"
76
},
87
"trace": {
9-
"trace_id": "trace-auth-0001",
10-
"started_at": "2025-12-07T18:40:00Z",
11-
"completed_at": "2025-12-07T18:40:01Z",
12-
"duration_ms": 870,
13-
"provider": "commandlayer-demo",
14-
"region": "us-east-1",
15-
"model": "authorize-engine-001",
16-
"tags": ["authorize", "example", "v1.0.0"]
8+
"trace_id": "01JAG7S5Z3J1D4K7W9R2X8MNVQ",
9+
"span_id": "SPAN-001"
1710
},
1811
"status": "success",
1912
"result": {
20-
"authorization_id": "auth_9a8b7c",
13+
"authorization_id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
2114
"status": "authorized",
2215
"amount": {
23-
"value": "100.00",
24-
"asset": "USDC",
25-
"pricing_tier": "standard",
26-
"metadata": {
27-
"currency": "USD"
28-
}
16+
"value": "10.50",
17+
"asset": "USDC"
2918
},
3019
"settlement": {
3120
"chain": "eip155:1",
32-
"recipient": "merchant.eth",
33-
"refund_address": "buyer.eth",
34-
"merchant_id": "m_001",
35-
"metadata": {
36-
"channel": "online",
37-
"country": "US"
38-
}
21+
"recipient": "0x0000000000000000000000000000000000000001"
3922
},
40-
"expires_at": "2025-12-10T00:00:00Z",
23+
"expires_at": "2026-12-31T23:59:59Z",
4124
"metadata": {
42-
"psp": "stripe",
43-
"network": "visa",
44-
"auth_method": "3DS"
25+
"note": "example valid authorize receipt"
4526
}
46-
},
47-
"usage": {
48-
"tokens": 1500,
49-
"input_tokens": 900,
50-
"output_tokens": 600,
51-
"total_tokens": 1500,
52-
"cost": 0.0042
5327
}
5428
}

0 commit comments

Comments
 (0)