@402flow/sdk 0.1.0-alpha.26 → 0.1.0-alpha.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +67 -584
- package/dist/contracts.d.ts +47 -47
- package/dist/contracts.js +7 -1
- package/dist/contracts.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,8 +1,18 @@
|
|
|
1
1
|
# @402flow/sdk
|
|
2
2
|
|
|
3
|
-
Paid
|
|
3
|
+
Paid API SDK for AI agents, tool hosts, and governed automation.
|
|
4
4
|
|
|
5
|
-
It
|
|
5
|
+
It gives AI agents, tool hosts, and automation services easy access to paid APIs while organizations keep policy, approvals, receipts, and spend controls outside the agent runtime.
|
|
6
|
+
|
|
7
|
+
Use `fetchPaid(...)` when the exact request is already known.
|
|
8
|
+
Use `preparePaidRequest(...)` when the agent needs merchant-published hints and an authoritative `nextAction` before paying.
|
|
9
|
+
|
|
10
|
+
## Why This SDK
|
|
11
|
+
|
|
12
|
+
- Inspectable paid request flow. Agents and tool hosts can prepare, revise, and execute paid HTTP requests explicitly instead of hiding everything inside one opaque pay-and-fetch call.
|
|
13
|
+
- Control-plane governance. Policy, approvals, receipts, and audit stay centralized instead of being reimplemented in every host.
|
|
14
|
+
- Agent-ready request shaping. `nextAction` gives models and tools a stable contract for revise, execute, or passthrough.
|
|
15
|
+
- Provider-neutral execution. Use the native SDK path or delegate the paid call to Dexter, pay.sh, or a host-owned executor without losing governance value.
|
|
6
16
|
|
|
7
17
|
## Install
|
|
8
18
|
|
|
@@ -10,647 +20,120 @@ It uses the 402flow control plane as the governance and execution backend, but t
|
|
|
10
20
|
npm install @402flow/sdk
|
|
11
21
|
```
|
|
12
22
|
|
|
13
|
-
|
|
23
|
+
Optional official adapters for third-party payers:
|
|
14
24
|
|
|
15
|
-
|
|
25
|
+
```bash
|
|
26
|
+
npm install @402flow/sdk @402flow/sdk-third-party-executors
|
|
27
|
+
```
|
|
16
28
|
|
|
17
|
-
|
|
29
|
+
The published package supports Node 20+.
|
|
18
30
|
|
|
19
|
-
|
|
31
|
+
## Core Surface
|
|
20
32
|
|
|
21
|
-
| API | Use when | What it
|
|
33
|
+
| API | Use it when | What it returns |
|
|
22
34
|
| --- | --- | --- |
|
|
23
|
-
| `fetchPaid(...)` | You already know the request shape |
|
|
24
|
-
| `preparePaidRequest(...)` | You want to inspect before paying |
|
|
35
|
+
| `fetchPaid(...)` | You already know the request shape | Probe, authorize, pay, and return the merchant response in one path |
|
|
36
|
+
| `preparePaidRequest(...)` | You want to inspect before paying | Payment terms, parameter hints, validation issues, and an authoritative `nextAction` |
|
|
25
37
|
| `executePreparedRequest(...)` | You already prepared the request | Executes the exact prepared request without re-probing first |
|
|
38
|
+
| `AgentHarness` | Your model host wants a `preparedId` tool contract | The same flow behind a canonical three-tool surface |
|
|
26
39
|
|
|
27
|
-
|
|
28
|
-
Use `preparePaidRequest(...)` plus `executePreparedRequest(...)` when the caller needs an explicit inspect, revise, then execute loop.
|
|
40
|
+
## Quick Start: Host-Controlled Request
|
|
29
41
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
## Runtime Notes
|
|
33
|
-
|
|
34
|
-
Two constraints matter early in real integrations:
|
|
35
|
-
|
|
36
|
-
1. paid prepare and execute flows require replayable request bodies
|
|
37
|
-
2. the current replayable body types are `string` and `URLSearchParams`
|
|
38
|
-
|
|
39
|
-
That means JSON payloads should be sent as strings, and form-style payloads should be sent as `URLSearchParams`.
|
|
40
|
-
|
|
41
|
-
The SDK exports small helpers for that:
|
|
42
|
+
This first example shows the deterministic application path. Your code already knows which merchant route and request parameters it wants to send, and the SDK handles probing, policy, payment, and receipts around that request.
|
|
42
43
|
|
|
43
44
|
```ts
|
|
44
45
|
import {
|
|
45
|
-
|
|
46
|
+
AgentPayClient,
|
|
46
47
|
createJsonRequestBody,
|
|
47
48
|
} from '@402flow/sdk';
|
|
48
49
|
|
|
49
|
-
const jsonBody = createJsonRequestBody({
|
|
50
|
-
prompt: 'foggy coastline',
|
|
51
|
-
});
|
|
52
|
-
|
|
53
|
-
const formBody = createFormUrlEncodedBody({
|
|
54
|
-
prompt: 'foggy coastline',
|
|
55
|
-
style: 'noir',
|
|
56
|
-
tags: ['coast', 'mist'],
|
|
57
|
-
});
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
`FormData`, `Blob`, streams, and framework-specific body wrappers are not currently accepted in paid flows because the SDK has to replay the exact request body through preparation and execution. Convert those upstream into a stable string or `URLSearchParams` first.
|
|
61
|
-
|
|
62
|
-
## Create A Client
|
|
63
|
-
|
|
64
|
-
Create one `AgentPayClient` per agent identity. The client binds the 402flow control-plane location and the organization plus agent selectors up front, and each request only carries request-specific context.
|
|
65
|
-
|
|
66
|
-
### Bootstrap key
|
|
67
|
-
|
|
68
|
-
For most SDK integrations, bootstrap-key auth is the recommended mode. The SDK exchanges it for a short-lived runtime token, caches that token, and refreshes it automatically before expiry.
|
|
69
|
-
|
|
70
|
-
```ts
|
|
71
|
-
import { AgentPayClient, createJsonRequestBody } from '@402flow/sdk';
|
|
72
|
-
|
|
73
50
|
const client = new AgentPayClient({
|
|
74
|
-
controlPlaneBaseUrl:
|
|
75
|
-
|
|
76
|
-
|
|
51
|
+
controlPlaneBaseUrl:
|
|
52
|
+
process.env.X402FLOW_CONTROL_PLANE_BASE_URL ?? 'https://api-staging.402flow.ai',
|
|
53
|
+
organization: process.env.X402FLOW_ORGANIZATION ?? 'acme-labs',
|
|
54
|
+
agent: process.env.X402FLOW_AGENT ?? 'research-worker',
|
|
77
55
|
auth: {
|
|
78
56
|
type: 'bootstrapKey',
|
|
79
57
|
bootstrapKey: process.env.X402FLOW_BOOTSTRAP_KEY ?? '',
|
|
80
58
|
},
|
|
81
59
|
});
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
### Runtime token
|
|
85
60
|
|
|
86
|
-
```ts
|
|
87
|
-
import { AgentPayClient } from '@402flow/sdk';
|
|
88
|
-
|
|
89
|
-
const client = new AgentPayClient({
|
|
90
|
-
controlPlaneBaseUrl: 'https://402flow.ai',
|
|
91
|
-
organization: 'acme-labs',
|
|
92
|
-
agent: 'reporting-worker',
|
|
93
|
-
auth: {
|
|
94
|
-
type: 'runtimeToken',
|
|
95
|
-
runtimeToken: process.env.X402FLOW_RUNTIME_TOKEN ?? '',
|
|
96
|
-
},
|
|
97
|
-
});
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
## Fast Path: `fetchPaid()`
|
|
101
|
-
|
|
102
|
-
Call `fetchPaid()` when you already know the merchant URL, method, headers, and body.
|
|
103
|
-
|
|
104
|
-
```ts
|
|
105
|
-
try {
|
|
106
|
-
const result = await client.fetchPaid(
|
|
107
|
-
'https://merchant.example.com/reports/daily',
|
|
108
|
-
{
|
|
109
|
-
method: 'POST',
|
|
110
|
-
headers: {
|
|
111
|
-
'content-type': 'application/json',
|
|
112
|
-
},
|
|
113
|
-
body: createJsonRequestBody({
|
|
114
|
-
date: '2026-03-25',
|
|
115
|
-
}),
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
description: 'sync daily paid report',
|
|
119
|
-
idempotencyKey: 'daily-report-2026-03-25',
|
|
120
|
-
},
|
|
121
|
-
);
|
|
122
|
-
|
|
123
|
-
const merchantBody = await result.response.json();
|
|
124
|
-
console.log('merchant response body:', merchantBody);
|
|
125
|
-
} catch (error) {
|
|
126
|
-
console.error('paid request failed', error);
|
|
127
|
-
throw error;
|
|
128
|
-
}
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
If the merchant does not require payment for that exact request, the SDK returns a passthrough response. If the merchant returns a payable challenge, the SDK resolves payment through the control plane and returns a durable paid outcome.
|
|
132
|
-
|
|
133
|
-
`result.response` is always the merchant HTTP response. SDK-owned payment metadata such as `paidRequestId`, `paymentAttemptId`, `receiptId`, and `receipt` stays on the SDK result instead of being injected into the merchant JSON body.
|
|
134
|
-
|
|
135
|
-
### Optional Attribution
|
|
136
|
-
|
|
137
|
-
Most SDK users do not need to send attribution at all.
|
|
138
|
-
|
|
139
|
-
The optional `attribution` field is for callers that already know where this paid endpoint came from and want that provenance to survive into control-plane audit, reporting, and later policy analysis.
|
|
140
|
-
|
|
141
|
-
Common cases:
|
|
142
|
-
|
|
143
|
-
1. your app found the endpoint through your own registry or catalog
|
|
144
|
-
2. your app imported the endpoint from a saved workspace config
|
|
145
|
-
3. your agent is calling a merchant directly and you want to mark that path as `direct`
|
|
146
|
-
4. your host selected the endpoint from a discovery surface such as Bazaar, Dexter, pay.sh, x402scan, or another catalog
|
|
147
|
-
|
|
148
|
-
This field does not make payment execution work. It improves lifecycle explainability.
|
|
149
|
-
|
|
150
|
-
If you do not already know the endpoint provenance, omit it.
|
|
151
|
-
|
|
152
|
-
```ts
|
|
153
61
|
const result = await client.fetchPaid(
|
|
154
|
-
'https://merchant.
|
|
62
|
+
'https://demo-merchant-staging.402flow.ai/demo-merchant/research-brief/solana-devnet',
|
|
155
63
|
{
|
|
156
64
|
method: 'POST',
|
|
157
65
|
headers: {
|
|
158
66
|
'content-type': 'application/json',
|
|
159
67
|
},
|
|
160
68
|
body: createJsonRequestBody({
|
|
161
|
-
|
|
69
|
+
topic: 'sdk integration rollout',
|
|
70
|
+
audience: 'platform engineers',
|
|
71
|
+
format: 'bullets',
|
|
162
72
|
}),
|
|
163
73
|
},
|
|
164
74
|
{
|
|
165
|
-
description: '
|
|
166
|
-
|
|
167
|
-
discoverySource: 'direct',
|
|
168
|
-
},
|
|
169
|
-
},
|
|
170
|
-
);
|
|
171
|
-
```
|
|
172
|
-
|
|
173
|
-
For the first attribution slice, `discoverySource` is the main field callers should set when they have a clear answer. The control plane derives an early endpoint-level `resourceIdentity` from the request method and URL, so callers do not need to compute that themselves.
|
|
174
|
-
|
|
175
|
-
### Interpreting Merchant Responses
|
|
176
|
-
|
|
177
|
-
The SDK gives you a stable place for payment metadata, but it does not invent a universal fulfilled-response schema for merchant content.
|
|
178
|
-
|
|
179
|
-
In practice:
|
|
180
|
-
|
|
181
|
-
1. the SDK result carries durable payment metadata such as `receiptId` and `receipt`
|
|
182
|
-
2. `result.response` carries the merchant fulfillment payload
|
|
183
|
-
3. the merchant contract decides where the useful paid content lives inside that payload
|
|
184
|
-
|
|
185
|
-
If you need request-shape guidance before execution, use `preparePaidRequest()` and inspect:
|
|
186
|
-
|
|
187
|
-
1. `prepared.hints` for authoritative request fields, examples, notes, and query/body guidance when the challenge publishes them
|
|
188
|
-
2. `prepared.challengeDetails` for raw merchant challenge data such as resource metadata, accepted payment candidates, and extensions like Bazaar discovery metadata
|
|
189
|
-
3. optional caller-supplied `externalMetadata` as advisory context only
|
|
190
|
-
|
|
191
|
-
If you do not have enough contract information to interpret a merchant response safely, return the raw merchant body and explain what is still missing instead of inventing a payload shape.
|
|
192
|
-
|
|
193
|
-
## Preparation Flow
|
|
194
|
-
|
|
195
|
-
Use `preparePaidRequest()` when the caller needs a first-class pre-execution result before paying.
|
|
196
|
-
|
|
197
|
-
```ts
|
|
198
|
-
import { createJsonRequestBody } from '@402flow/sdk';
|
|
199
|
-
|
|
200
|
-
const prepared = await client.preparePaidRequest(
|
|
201
|
-
'https://merchant.example.com/images/generate',
|
|
202
|
-
{
|
|
203
|
-
method: 'POST',
|
|
204
|
-
headers: {
|
|
205
|
-
'content-type': 'application/json',
|
|
206
|
-
},
|
|
207
|
-
body: createJsonRequestBody({
|
|
208
|
-
prompt: 'foggy coastline',
|
|
209
|
-
}),
|
|
75
|
+
description: 'generate a staged research brief',
|
|
76
|
+
idempotencyKey: 'sdk-readme-solana-devnet-brief',
|
|
210
77
|
},
|
|
211
78
|
);
|
|
212
79
|
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
} else {
|
|
216
|
-
console.log('protocol:', prepared.protocol);
|
|
217
|
-
console.log('payment requirement:', prepared.paymentRequirement);
|
|
218
|
-
console.log('request hints:', prepared.hints);
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
console.log('next action:', prepared.nextAction);
|
|
222
|
-
console.log('validation issues:', prepared.validationIssues);
|
|
80
|
+
console.log(await result.response.json());
|
|
81
|
+
console.log(result.receiptId);
|
|
223
82
|
```
|
|
224
83
|
|
|
225
|
-
This
|
|
84
|
+
This is why the request body is filled in directly in code here. `fetchPaid(...)` is the simplest integration path when your application already knows the parameters.
|
|
226
85
|
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
3. the caller wants to merge optional `externalMetadata` it already has from another system
|
|
86
|
+
Use `fetchPaid(...)` when the request is already shaped and you want the shortest path.
|
|
87
|
+
Use `preparePaidRequest(...)` when the caller needs to inspect what the merchant published, construct the right request, and execute only when `nextAction === 'execute'`.
|
|
230
88
|
|
|
231
|
-
|
|
89
|
+
## Quick Start: Agent-Driven Request Construction
|
|
232
90
|
|
|
233
|
-
|
|
234
|
-
2. inspect `kind`, `paymentRequirement`, `hints`, `validationIssues`, and `nextAction`
|
|
235
|
-
3. revise if needed
|
|
236
|
-
4. execute only once the request is understood
|
|
91
|
+
If you want the agent to decide which parameters to send, do not hardcode those decisions into the SDK call site. Instead, expose the SDK through `AgentHarness` or your own tool wrapper and let the agent react to `nextAction`, `validationIssues`, and `hints`.
|
|
237
92
|
|
|
238
|
-
|
|
93
|
+
The typical loop is:
|
|
239
94
|
|
|
240
|
-
|
|
241
|
-
|
|
95
|
+
1. the agent proposes a request
|
|
96
|
+
2. the SDK returns `nextAction`, `validationIssues`, and merchant-published `hints`
|
|
97
|
+
3. the agent revises the request until `nextAction === 'execute'`
|
|
98
|
+
4. the host executes the prepared request and reads the stored result before summarizing the outcome
|
|
242
99
|
|
|
243
|
-
|
|
244
|
-
'https://merchant.example.com/images/generate',
|
|
245
|
-
{
|
|
246
|
-
method: 'POST',
|
|
247
|
-
headers: {
|
|
248
|
-
'content-type': 'application/json',
|
|
249
|
-
},
|
|
250
|
-
body: createJsonRequestBody({
|
|
251
|
-
prompt: 'foggy coastline',
|
|
252
|
-
}),
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
externalMetadata: {
|
|
256
|
-
requestBodyType: 'json',
|
|
257
|
-
requestBodyFields: [
|
|
258
|
-
{
|
|
259
|
-
name: 'prompt',
|
|
260
|
-
type: 'string',
|
|
261
|
-
required: true,
|
|
262
|
-
},
|
|
263
|
-
],
|
|
264
|
-
},
|
|
265
|
-
},
|
|
266
|
-
);
|
|
267
|
-
```
|
|
268
|
-
|
|
269
|
-
`externalMetadata` is optional caller context. It improves preparation when the caller already has structured endpoint knowledge, but it is not required for normal SDK use.
|
|
270
|
-
|
|
271
|
-
`attribution` is separate from `externalMetadata`.
|
|
272
|
-
|
|
273
|
-
1. `externalMetadata` helps the SDK understand request shape before execution
|
|
274
|
-
2. `attribution` helps the control plane explain where the paid endpoint came from after execution
|
|
275
|
-
|
|
276
|
-
Use `externalMetadata` for request hints. Use `attribution` for provenance. Either may be omitted.
|
|
277
|
-
|
|
278
|
-
### What `ready` Means
|
|
279
|
-
|
|
280
|
-
`ready` means this exact request can proceed through governed paid execution as-is; it does not mean the SDK has inferred the best task parameters for you.
|
|
100
|
+
That is the path to use when the model is supposed to fill request parameters properly instead of relying on host code that already knows the answer.
|
|
281
101
|
|
|
282
|
-
|
|
102
|
+
## AgentHarness
|
|
283
103
|
|
|
284
|
-
|
|
285
|
-
2. `validationIssues` and `hints` are about request-shape guidance
|
|
286
|
-
3. choosing semantically correct task parameters still belongs to the caller or agent
|
|
104
|
+
`AgentHarness` is the optional model-host wrapper for the same inspect-then-execute loop.
|
|
287
105
|
|
|
288
|
-
|
|
106
|
+
It stores prepared state behind a `preparedId`, exposes a canonical three-tool contract, and keeps the rule that matters most stable across hosts:
|
|
289
107
|
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
```ts
|
|
293
|
-
import { createJsonRequestBody } from '@402flow/sdk';
|
|
294
|
-
|
|
295
|
-
const prepared = await client.preparePaidRequest(
|
|
296
|
-
'https://merchant.example.com/images/generate',
|
|
297
|
-
{
|
|
298
|
-
method: 'POST',
|
|
299
|
-
headers: {
|
|
300
|
-
'content-type': 'application/json',
|
|
301
|
-
},
|
|
302
|
-
body: createJsonRequestBody({
|
|
303
|
-
prompt: 'foggy coastline',
|
|
304
|
-
}),
|
|
305
|
-
},
|
|
306
|
-
|
|
307
|
-
const result = await client.executePreparedRequest(prepared, {
|
|
308
|
-
description: 'generate paid image',
|
|
309
|
-
attribution: {
|
|
310
|
-
discoverySource: 'manual',
|
|
311
|
-
},
|
|
312
|
-
});
|
|
313
|
-
);
|
|
314
|
-
|
|
315
|
-
if (prepared.kind === 'ready') {
|
|
316
|
-
const result = await client.executePreparedRequest(prepared, {
|
|
317
|
-
description: 'generate image',
|
|
318
|
-
idempotencyKey: 'image-generate-foggy-coastline',
|
|
319
|
-
});
|
|
320
|
-
|
|
321
|
-
console.log('paid response status:', result.response.status);
|
|
322
|
-
}
|
|
323
|
-
```
|
|
324
|
-
|
|
325
|
-
If preparation does not return `kind === 'ready'`, that is not necessarily an error. It means this exact request did not currently resolve to a payable executable path. The caller can accept that result, run a normal non-paid path, or revise and prepare again.
|
|
326
|
-
|
|
327
|
-
### Delegated Execution With Custom Executors
|
|
328
|
-
|
|
329
|
-
`executePreparedRequest()` now supports governed delegated execution through a caller-supplied executor interface.
|
|
330
|
-
|
|
331
|
-
This lets the SDK keep authorization, policy, receipts, and final outcome normalization in the 402flow control plane while handing the final paid merchant call to a provider-specific executor owned by the host app or a separate integration package.
|
|
332
|
-
|
|
333
|
-
The core SDK stays provider-neutral. That means third-party payment clients such as Dexter or pay.sh should live in the host app's own dependency graph, not inside `@402flow/sdk` itself.
|
|
334
|
-
|
|
335
|
-
The flow is:
|
|
336
|
-
|
|
337
|
-
1. prepare the exact request locally with `preparePaidRequest()`
|
|
338
|
-
2. ask the control plane to authorize delegated execution
|
|
339
|
-
3. if authorized, let the supplied executor perform the actual paid merchant request
|
|
340
|
-
4. finalize the normalized executor result back through the control plane
|
|
341
|
-
5. return the same stable SDK result or `FetchPaidError` contract the caller already uses elsewhere
|
|
342
|
-
|
|
343
|
-
If the control plane denies authorization, the delegated executor is never invoked.
|
|
344
|
-
|
|
345
|
-
```ts
|
|
346
|
-
import {
|
|
347
|
-
createJsonRequestBody,
|
|
348
|
-
type PreparedRequestExecutorInput,
|
|
349
|
-
type PreparedRequestExecutor,
|
|
350
|
-
} from '@402flow/sdk';
|
|
351
|
-
|
|
352
|
-
async function callDexter(
|
|
353
|
-
prepared: PreparedRequestExecutorInput['prepared'],
|
|
354
|
-
) {
|
|
355
|
-
// Replace this with your real Dexter SDK call.
|
|
356
|
-
return {
|
|
357
|
-
status: 200,
|
|
358
|
-
body: { ok: true },
|
|
359
|
-
settlementReference: 'settlement-ref-1',
|
|
360
|
-
paymentReference: 'payment-ref-1',
|
|
361
|
-
};
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
function mapDexterResult(
|
|
365
|
-
prepared: PreparedRequestExecutorInput['prepared'],
|
|
366
|
-
result: Awaited<ReturnType<typeof callDexter>>,
|
|
367
|
-
) {
|
|
368
|
-
return {
|
|
369
|
-
protocol: prepared.protocol,
|
|
370
|
-
executionStatus: 'succeeded' as const,
|
|
371
|
-
settlementEvidenceClass: 'settled' as const,
|
|
372
|
-
merchantOutcome: 'success_response' as const,
|
|
373
|
-
merchantResponse: {
|
|
374
|
-
status: result.status,
|
|
375
|
-
headers: {
|
|
376
|
-
'content-type': 'application/json',
|
|
377
|
-
},
|
|
378
|
-
body: JSON.stringify(result.body),
|
|
379
|
-
},
|
|
380
|
-
settlementReference: result.settlementReference,
|
|
381
|
-
paymentReference: result.paymentReference,
|
|
382
|
-
};
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
const dexterExecutor: PreparedRequestExecutor = {
|
|
386
|
-
provider: 'dexter',
|
|
387
|
-
async execute({ prepared }) {
|
|
388
|
-
const dexterResult = await callDexter(prepared);
|
|
389
|
-
return mapDexterResult(prepared, dexterResult);
|
|
390
|
-
},
|
|
391
|
-
};
|
|
392
|
-
|
|
393
|
-
const prepared = await client.preparePaidRequest(
|
|
394
|
-
'https://merchant.example.com/images/generate',
|
|
395
|
-
{
|
|
396
|
-
method: 'POST',
|
|
397
|
-
headers: {
|
|
398
|
-
'content-type': 'application/json',
|
|
399
|
-
},
|
|
400
|
-
body: createJsonRequestBody({
|
|
401
|
-
prompt: 'foggy coastline',
|
|
402
|
-
}),
|
|
403
|
-
},
|
|
404
|
-
);
|
|
405
|
-
|
|
406
|
-
if (prepared.kind === 'ready') {
|
|
407
|
-
const result = await client.executePreparedRequest(prepared, {
|
|
408
|
-
description: 'generate image through delegated execution',
|
|
409
|
-
executionProvider: 'dexter',
|
|
410
|
-
executor: dexterExecutor,
|
|
411
|
-
});
|
|
412
|
-
|
|
413
|
-
console.log('paid response status:', result.response.status);
|
|
414
|
-
}
|
|
415
|
-
```
|
|
416
|
-
|
|
417
|
-
This snippet shows the intended split directly: your host-owned code does the provider call and maps it into the delegated execution contract, while the SDK still owns authorize, finalize, and the outward result shape. For a real host-owned Dexter integration that performs the paid call, see `third-party-executors/examples/dexter-delegated-executor.mjs`.
|
|
418
|
-
|
|
419
|
-
Responsibility split:
|
|
420
|
-
|
|
421
|
-
1. the SDK asks the control plane for delegated authorization
|
|
422
|
-
2. if authorized, the SDK invokes your executor
|
|
423
|
-
3. your executor performs the provider-specific paid request and returns `SdkDelegatedExecutionResult`
|
|
424
|
-
4. the SDK finalizes that result with the control plane
|
|
425
|
-
5. the SDK returns the same outward `PaidResponse` or `FetchPaidError` contract as the direct path
|
|
426
|
-
|
|
427
|
-
If your host app wants to execute through Dexter, pay.sh, or another provider, that integration should install and own the third-party SDK directly. `@402flow/sdk` only owns the executor contract and the governed authorize/finalize flow.
|
|
428
|
-
|
|
429
|
-
Official supported adapters live in the separate `@402flow/sdk-third-party-executors` package so the main `@402flow/sdk` install path stays provider-neutral.
|
|
430
|
-
|
|
431
|
-
```bash
|
|
432
|
-
npm install @402flow/sdk @402flow/sdk-third-party-executors
|
|
433
|
-
```
|
|
434
|
-
|
|
435
|
-
If you pin versions explicitly, pin both packages to the same version:
|
|
436
|
-
|
|
437
|
-
```bash
|
|
438
|
-
npm install @402flow/sdk@<version> @402flow/sdk-third-party-executors@<version>
|
|
439
|
-
```
|
|
440
|
-
|
|
441
|
-
The adapter package is versioned and supported in lockstep with `@402flow/sdk`, so keep the two package versions aligned. In this repo, the published adapter package source lives under `third-party-executors/`.
|
|
442
|
-
|
|
443
|
-
Current official adapters:
|
|
444
|
-
|
|
445
|
-
| Adapter | Current scope | Key dependencies |
|
|
446
|
-
| --- | --- | --- |
|
|
447
|
-
| Dexter | Host-owned delegated execution against Dexter's paid request client | `@dexterai/x402` |
|
|
448
|
-
| pay.sh | Host-owned x402 Solana exact delegated execution | `@x402/core`, `@x402/svm`, `@solana/kit` |
|
|
449
|
-
|
|
450
|
-
The pay.sh adapter intentionally does not depend on `@solana/pay` today. The current proof targets pay.sh's x402 Solana exact flow, so challenge parsing, signed payment payload creation, and paid response parsing come from `@x402/core` plus `@x402/svm`, while `@solana/kit` only supplies the signer. `@solana/pay` becomes relevant when the repo adds a separate Solana Pay or MPP-specific adapter path.
|
|
451
|
-
|
|
452
|
-
For a repo-wide verification pass from the SDK root, run:
|
|
453
|
-
|
|
454
|
-
```bash
|
|
455
|
-
npm run install:all
|
|
456
|
-
npm run check:all
|
|
457
|
-
```
|
|
458
|
-
|
|
459
|
-
`npm run install:all` installs both the main SDK package and the separate `third-party-executors` package from the SDK root. `npm run check` still validates only the main SDK package. `npm run check:all` runs the main SDK checks first, then runs the separate `third-party-executors` package checks from the top level.
|
|
460
|
-
|
|
461
|
-
For a repo-local host-owned Dexter example, run:
|
|
462
|
-
|
|
463
|
-
```bash
|
|
464
|
-
cd third-party-executors
|
|
465
|
-
npm install
|
|
466
|
-
export DEXTER_EVM_PRIVATE_KEY="..."
|
|
467
|
-
|
|
468
|
-
npm run example:dexter-delegated-executor -- \
|
|
469
|
-
"https://merchant.example.com/paid-endpoint" \
|
|
470
|
-
'{"topic":"sdk integration rollout","audience":"platform engineers","format":"bullets"}'
|
|
471
|
-
```
|
|
472
|
-
|
|
473
|
-
For a repo-local host-owned pay.sh x402 example, run:
|
|
474
|
-
|
|
475
|
-
```bash
|
|
476
|
-
cd third-party-executors
|
|
477
|
-
npm install
|
|
478
|
-
npm run example:pay-sh-delegated-executor -- --help
|
|
479
|
-
```
|
|
480
|
-
|
|
481
|
-
The pay.sh example expects the standard SDK auth environment plus a local Solana signer path in `PAY_SH_SOLANA_KEYPAIR_PATH`. Run the `--help` form first to see the full required environment and argument contract.
|
|
482
|
-
|
|
483
|
-
## Prepared Result Semantics
|
|
484
|
-
|
|
485
|
-
`preparePaidRequest()` separates request checking from paid execution.
|
|
486
|
-
|
|
487
|
-
The preparation result distinguishes four important things:
|
|
488
|
-
|
|
489
|
-
1. `paymentRequirement`: normalized payment terms derived from the merchant challenge when available
|
|
490
|
-
2. `hints`: request-shape hints such as body fields, query params, path params, descriptions, examples, and notes
|
|
491
|
-
3. `validationIssues`: structured remediation diagnostics derived from the current request and defensible preparation inputs
|
|
492
|
-
4. `nextAction`: the authoritative machine contract for what to do next, such as `execute`, `revise_request`, or `treat_as_passthrough`
|
|
493
|
-
|
|
494
|
-
Each prepared hint carries `attribution` so callers can distinguish live merchant-authoritative data from advisory caller-supplied metadata.
|
|
495
|
-
|
|
496
|
-
In this model, payment terms come from the merchant challenge, optional request-shape enrichment comes from `externalMetadata`, and live confirmation is represented by the prepared `probe` result.
|
|
497
|
-
|
|
498
|
-
## Result And Error Semantics
|
|
499
|
-
|
|
500
|
-
`fetchPaid()` and `executePreparedRequest()` either:
|
|
501
|
-
|
|
502
|
-
1. return a passthrough response when the request did not require payment
|
|
503
|
-
2. return `success` with a receipt when the paid request completed successfully
|
|
504
|
-
3. throw `FetchPaidError` for all non-success paid outcomes
|
|
505
|
-
|
|
506
|
-
`FetchPaidError` kinds are:
|
|
507
|
-
|
|
508
|
-
1. `denied`
|
|
509
|
-
2. `preflight_failed`
|
|
510
|
-
3. `execution_pending`
|
|
511
|
-
4. `execution_failed`
|
|
512
|
-
5. `paid_fulfillment_failed`
|
|
513
|
-
6. `execution_inconclusive`
|
|
514
|
-
7. `request_failed`
|
|
515
|
-
|
|
516
|
-
Receipt notes:
|
|
517
|
-
|
|
518
|
-
1. `receipt.status = 'confirmed'` means the control plane has chain-backed settlement attribution for the paid attempt
|
|
519
|
-
2. `receipt.status = 'provisional'` means the paid outcome was supportable by merchant-provided evidence, but final settlement attribution is still pending reconciliation
|
|
520
|
-
3. callers should treat provisional receipts as payment-attempt evidence, not as proof of final settlement
|
|
521
|
-
4. `idempotencyKey` is optional for normal SDK use, which keeps low-value one-off integrations simple
|
|
522
|
-
5. if you safely retry the same logical paid request with the same `idempotencyKey`, the SDK returns the same durable paid outcome instead of creating a second paid attempt
|
|
523
|
-
6. if you omit `idempotencyKey`, the request still works, but you should not assume replay-safe duplicate suppression across retries
|
|
524
|
-
7. use `idempotencyKey` for retrying callers, automation loops, and higher-load integrations where duplicate suppression matters
|
|
525
|
-
|
|
526
|
-
## Receipt Lookup
|
|
527
|
-
|
|
528
|
-
```ts
|
|
529
|
-
const receipt = await client.lookupReceipt('receipt-id');
|
|
530
|
-
|
|
531
|
-
console.log(receipt.receipt.status);
|
|
532
|
-
```
|
|
533
|
-
|
|
534
|
-
## Canonical Host Metadata
|
|
535
|
-
|
|
536
|
-
If you are building a tool host, do not copy orchestration rules into ad hoc prompts. Import the canonical host-agnostic metadata from the SDK and adapt it to your model provider.
|
|
108
|
+
`nextAction` is authoritative.
|
|
537
109
|
|
|
538
110
|
```ts
|
|
539
111
|
import {
|
|
112
|
+
AgentHarness,
|
|
540
113
|
defaultHarnessInstructions,
|
|
541
114
|
defaultHarnessToolSpecs,
|
|
542
115
|
} from '@402flow/sdk';
|
|
543
116
|
|
|
544
|
-
|
|
545
|
-
console.log(defaultHarnessToolSpecs);
|
|
546
|
-
```
|
|
547
|
-
|
|
548
|
-
`defaultHarnessToolSpecs` defines the canonical three-tool contract:
|
|
549
|
-
|
|
550
|
-
1. `prepare_paid_request`
|
|
551
|
-
2. `execute_prepared_request`
|
|
552
|
-
3. `get_execution_result`
|
|
553
|
-
|
|
554
|
-
Those descriptions encode the orchestration rules, including:
|
|
555
|
-
|
|
556
|
-
1. `nextAction` is authoritative
|
|
557
|
-
2. execute only after `nextAction === 'execute'`
|
|
558
|
-
3. read the stored execution result before summarizing the outcome
|
|
559
|
-
|
|
560
|
-
Keep provider-specific tool objects in your host adapter, not in the SDK core package.
|
|
561
|
-
|
|
562
|
-
## Tiny OpenAI Tools Host
|
|
563
|
-
|
|
564
|
-
If you want a minimal real host integration instead of the larger evaluation harness, use the tiny OpenAI Responses example in `examples/openai-tools-quickstart.mjs`.
|
|
565
|
-
|
|
566
|
-
For repo-local example runs, create `.env` from `.env.example` in the SDK root. The SDK examples load that file directly, so scenario runs stay self-contained in this repo whether they point at a local control plane or a hosted environment.
|
|
117
|
+
const harness = new AgentHarness({ client });
|
|
567
118
|
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
2. wrap it with optional `AgentHarness` so tool calls can pass `preparedId`
|
|
572
|
-
3. build provider-specific tool objects from `defaultHarnessToolSpecs`
|
|
573
|
-
4. expose `prepare_paid_request`, `execute_prepared_request`, and `get_execution_result`
|
|
574
|
-
|
|
575
|
-
Run it with one prompt. Either populate `.env` from `.env.example`, or export the same values in your shell for a one-off run:
|
|
576
|
-
|
|
577
|
-
```bash
|
|
578
|
-
cp .env.example .env
|
|
579
|
-
export OPENAI_API_KEY="..."
|
|
580
|
-
export X402FLOW_CONTROL_PLANE_BASE_URL="https://402flow.ai"
|
|
581
|
-
export X402FLOW_ORGANIZATION="acme-labs"
|
|
582
|
-
export X402FLOW_AGENT="reporting-worker"
|
|
583
|
-
export X402FLOW_BOOTSTRAP_KEY="..."
|
|
584
|
-
|
|
585
|
-
npm run example:openai-tools-quickstart -- \
|
|
586
|
-
"Prepare and execute a paid POST request to http://127.0.0.1:4123/demo-merchant/research-brief/solana-devnet with JSON body {\"topic\":\"sdk integration rollout\",\"audience\":\"platform engineers\",\"format\":\"bullets\"}"
|
|
587
|
-
```
|
|
588
|
-
|
|
589
|
-
Use this when you want the shortest real host integration path. For now, this quickstart defaults to the self-hosted first-party demo merchant in `agent-pay` so SDK adoption starts from the canonical proving ground. Switch the merchant URL to the public AWS demo-merchant host once that deployment is live.
|
|
590
|
-
|
|
591
|
-
## Optional `AgentHarness`
|
|
592
|
-
|
|
593
|
-
`AgentHarness` is an optional preparedId-based wrapper for tool hosts that do not want to manage in-flight prepared request objects themselves. It is a convenience layer on top of `AgentPayClient`, not a required abstraction.
|
|
594
|
-
|
|
595
|
-
Key behavior:
|
|
596
|
-
|
|
597
|
-
1. preparations are stored in memory behind a `preparedId`
|
|
598
|
-
2. a newer active preparation for the same method plus origin plus pathname supersedes the older one
|
|
599
|
-
3. duplicate execute calls for the same consumed `preparedId` are rejected locally as already consumed
|
|
600
|
-
4. hosts should call `getExecutionResult(preparedId)` after execution to read the durable stored outcome
|
|
601
|
-
5. host-facing prepare results include `costSummary`, for example `Costs 0.001000 USDC on Base Sepolia (exact).`
|
|
602
|
-
|
|
603
|
-
For harness usage, presets, transcripts, and scenario packs, see:
|
|
604
|
-
|
|
605
|
-
1. [docs/evaluation-harness.md](docs/evaluation-harness.md)
|
|
606
|
-
2. [docs/harness-scenarios.md](docs/harness-scenarios.md)
|
|
607
|
-
|
|
608
|
-
For the canonical cross-repo core proving sweep (first-party + mock), run:
|
|
609
|
-
|
|
610
|
-
```bash
|
|
611
|
-
pnpm scenario:core
|
|
612
|
-
```
|
|
613
|
-
|
|
614
|
-
`pnpm scenario:core` runs first-party + mock in a single pass and keeps one combined artifact set under `tmp/`.
|
|
615
|
-
|
|
616
|
-
Additional scenario commands:
|
|
617
|
-
|
|
618
|
-
1. `pnpm scenario:core`: core proving sweep (first-party + mock)
|
|
619
|
-
2. `pnpm scenario:first-party`: first-party self-hosted demo-merchant scenarios only
|
|
620
|
-
3. `pnpm scenario:third-party`: third-party merchant compatibility scenarios only
|
|
621
|
-
4. `pnpm scenario:mock`: fixture-only mock outcomes, no live merchant required
|
|
622
|
-
|
|
623
|
-
`pnpm scenario:all` now literally runs all scenarios (first-party + third-party + mock).
|
|
624
|
-
|
|
625
|
-
As the public AWS demo-merchant host comes online, keep these command boundaries and flip first-party scenario fixtures with one env variable:
|
|
626
|
-
|
|
627
|
-
```bash
|
|
628
|
-
export X402FLOW_FIRST_PARTY_MERCHANT_BASE_URL="https://demo-merchant.402flow.ai"
|
|
119
|
+
console.log(defaultHarnessInstructions);
|
|
120
|
+
console.log(defaultHarnessToolSpecs.map((spec) => spec.name));
|
|
121
|
+
// [ 'prepare_paid_request', 'execute_prepared_request', 'get_execution_result' ]
|
|
629
122
|
```
|
|
630
123
|
|
|
631
|
-
|
|
124
|
+
Use this path when you want the model to construct a correct request instead of guessing its way into a paid call.
|
|
632
125
|
|
|
633
|
-
##
|
|
126
|
+
## Governed Third-Party Execution
|
|
634
127
|
|
|
635
|
-
|
|
128
|
+
402flow can execute paid x402 requests natively, or you can delegate final payment execution to Dexter, pay.sh, or another executor. In both cases, 402flow authorizes the attempt before execution and finalizes the normalized result afterward, keeping policy, approvals, receipts, and audit centralized.
|
|
636
129
|
|
|
637
|
-
Main SDK package:
|
|
638
130
|
|
|
639
|
-
|
|
640
|
-
npm run install:all
|
|
641
|
-
npm run check:all
|
|
642
|
-
npm run pack:check
|
|
643
|
-
npm publish --access public
|
|
644
|
-
```
|
|
131
|
+
Official adapters live in `@402flow/sdk-third-party-executors`, and the repo-local source for those adapters lives under `third-party-executors/`.
|
|
645
132
|
|
|
646
|
-
|
|
133
|
+
## Further Reading
|
|
647
134
|
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
npm run check
|
|
654
|
-
npm run pack:check
|
|
655
|
-
npm publish --access public
|
|
656
|
-
```
|
|
135
|
+
- [Detailed SDK guide](docs/sdk-guide.md)
|
|
136
|
+
- [Evaluation harness](docs/evaluation-harness.md)
|
|
137
|
+
- [Harness scenarios](docs/harness-scenarios.md)
|
|
138
|
+
- [Dexter and pay.sh executors](third-party-executors/README.md)
|
|
139
|
+
- [Publishing and release checks](docs/releasing.md)
|
package/dist/contracts.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export declare const paidRequestHttpMethodSchema: z.ZodEnum<["GET", "POST", "PUT
|
|
|
32
32
|
export type PaidRequestHttpMethod = z.infer<typeof paidRequestHttpMethodSchema>;
|
|
33
33
|
export declare const paidRequestExecutionProviderSchema: z.ZodString;
|
|
34
34
|
export type PaidRequestExecutionProvider = z.infer<typeof paidRequestExecutionProviderSchema>;
|
|
35
|
-
export declare const paidRequestReasonCodeSchema: z.ZodEnum<["policy_allow", "policy_denied", "policy_review_required", "challenge_candidate_malformed", "challenge_no_supported_candidates", "challenge_mixed_environment_candidates", "challenge_execution_identity_unavailable", "challenge_execution_identity_ambiguous", "payment_execution_in_progress", "preflight_incompatible", "merchant_rejected", "merchant_execution_failed", "settlement_proof_conflict", "merchant_transport_lost"]>;
|
|
35
|
+
export declare const paidRequestReasonCodeSchema: z.ZodEnum<["policy_allow", "policy_denied", "policy_review_required", "challenge_candidate_malformed", "challenge_no_supported_candidates", "challenge_mixed_environment_candidates", "challenge_execution_identity_unavailable", "challenge_execution_identity_ambiguous", "payment_execution_in_progress", "preflight_incompatible", "preflight_dependency_failed", "merchant_rejected", "merchant_execution_failed", "settlement_proof_conflict", "merchant_transport_lost"]>;
|
|
36
36
|
export type PaidRequestReasonCode = z.infer<typeof paidRequestReasonCodeSchema>;
|
|
37
37
|
export declare const defaultMoneyPrecision = 6;
|
|
38
38
|
export declare const externalIdSchema: z.ZodString;
|
|
@@ -4782,7 +4782,7 @@ export declare const sdkDelegatedExecutionStatusSchema: z.ZodEnum<["succeeded",
|
|
|
4782
4782
|
export type SdkDelegatedExecutionStatus = z.infer<typeof sdkDelegatedExecutionStatusSchema>;
|
|
4783
4783
|
export declare const sdkDelegatedMerchantOutcomeSchema: z.ZodEnum<["success_response", "failure_response", "no_response", "unknown"]>;
|
|
4784
4784
|
export type SdkDelegatedMerchantOutcome = z.infer<typeof sdkDelegatedMerchantOutcomeSchema>;
|
|
4785
|
-
export declare const sdkDelegatedExecutionDiagnosticCodeSchema: z.ZodEnum<["preflight_incompatible", "merchant_rejected", "merchant_execution_failed", "merchant_transport_lost", "settlement_proof_conflict"]>;
|
|
4785
|
+
export declare const sdkDelegatedExecutionDiagnosticCodeSchema: z.ZodEnum<["preflight_incompatible", "preflight_dependency_failed", "merchant_rejected", "merchant_execution_failed", "merchant_transport_lost", "settlement_proof_conflict"]>;
|
|
4786
4786
|
export type SdkDelegatedExecutionDiagnosticCode = z.infer<typeof sdkDelegatedExecutionDiagnosticCodeSchema>;
|
|
4787
4787
|
export declare const sdkDelegatedExecutionResultSchema: z.ZodObject<{
|
|
4788
4788
|
protocol: z.ZodEnum<["x402", "l402"]>;
|
|
@@ -4807,13 +4807,13 @@ export declare const sdkDelegatedExecutionResultSchema: z.ZodObject<{
|
|
|
4807
4807
|
body?: string | undefined;
|
|
4808
4808
|
}>>;
|
|
4809
4809
|
diagnostic: z.ZodOptional<z.ZodObject<{
|
|
4810
|
-
code: z.ZodEnum<["preflight_incompatible", "merchant_rejected", "merchant_execution_failed", "merchant_transport_lost", "settlement_proof_conflict"]>;
|
|
4810
|
+
code: z.ZodEnum<["preflight_incompatible", "preflight_dependency_failed", "merchant_rejected", "merchant_execution_failed", "merchant_transport_lost", "settlement_proof_conflict"]>;
|
|
4811
4811
|
message: z.ZodOptional<z.ZodString>;
|
|
4812
4812
|
}, "strip", z.ZodTypeAny, {
|
|
4813
|
-
code: "preflight_incompatible" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
4813
|
+
code: "preflight_incompatible" | "preflight_dependency_failed" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
4814
4814
|
message?: string | undefined;
|
|
4815
4815
|
}, {
|
|
4816
|
-
code: "preflight_incompatible" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
4816
|
+
code: "preflight_incompatible" | "preflight_dependency_failed" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
4817
4817
|
message?: string | undefined;
|
|
4818
4818
|
}>>;
|
|
4819
4819
|
protocolArtifacts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -4832,7 +4832,7 @@ export declare const sdkDelegatedExecutionResultSchema: z.ZodObject<{
|
|
|
4832
4832
|
body: string;
|
|
4833
4833
|
} | undefined;
|
|
4834
4834
|
diagnostic?: {
|
|
4835
|
-
code: "preflight_incompatible" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
4835
|
+
code: "preflight_incompatible" | "preflight_dependency_failed" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
4836
4836
|
message?: string | undefined;
|
|
4837
4837
|
} | undefined;
|
|
4838
4838
|
protocolArtifacts?: Record<string, unknown> | undefined;
|
|
@@ -4851,7 +4851,7 @@ export declare const sdkDelegatedExecutionResultSchema: z.ZodObject<{
|
|
|
4851
4851
|
body?: string | undefined;
|
|
4852
4852
|
} | undefined;
|
|
4853
4853
|
diagnostic?: {
|
|
4854
|
-
code: "preflight_incompatible" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
4854
|
+
code: "preflight_incompatible" | "preflight_dependency_failed" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
4855
4855
|
message?: string | undefined;
|
|
4856
4856
|
} | undefined;
|
|
4857
4857
|
protocolArtifacts?: Record<string, unknown> | undefined;
|
|
@@ -4883,13 +4883,13 @@ export declare const sdkPaymentFinalizationRequestSchema: z.ZodObject<{
|
|
|
4883
4883
|
body?: string | undefined;
|
|
4884
4884
|
}>>;
|
|
4885
4885
|
diagnostic: z.ZodOptional<z.ZodObject<{
|
|
4886
|
-
code: z.ZodEnum<["preflight_incompatible", "merchant_rejected", "merchant_execution_failed", "merchant_transport_lost", "settlement_proof_conflict"]>;
|
|
4886
|
+
code: z.ZodEnum<["preflight_incompatible", "preflight_dependency_failed", "merchant_rejected", "merchant_execution_failed", "merchant_transport_lost", "settlement_proof_conflict"]>;
|
|
4887
4887
|
message: z.ZodOptional<z.ZodString>;
|
|
4888
4888
|
}, "strip", z.ZodTypeAny, {
|
|
4889
|
-
code: "preflight_incompatible" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
4889
|
+
code: "preflight_incompatible" | "preflight_dependency_failed" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
4890
4890
|
message?: string | undefined;
|
|
4891
4891
|
}, {
|
|
4892
|
-
code: "preflight_incompatible" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
4892
|
+
code: "preflight_incompatible" | "preflight_dependency_failed" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
4893
4893
|
message?: string | undefined;
|
|
4894
4894
|
}>>;
|
|
4895
4895
|
protocolArtifacts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -4908,7 +4908,7 @@ export declare const sdkPaymentFinalizationRequestSchema: z.ZodObject<{
|
|
|
4908
4908
|
body: string;
|
|
4909
4909
|
} | undefined;
|
|
4910
4910
|
diagnostic?: {
|
|
4911
|
-
code: "preflight_incompatible" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
4911
|
+
code: "preflight_incompatible" | "preflight_dependency_failed" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
4912
4912
|
message?: string | undefined;
|
|
4913
4913
|
} | undefined;
|
|
4914
4914
|
protocolArtifacts?: Record<string, unknown> | undefined;
|
|
@@ -4927,7 +4927,7 @@ export declare const sdkPaymentFinalizationRequestSchema: z.ZodObject<{
|
|
|
4927
4927
|
body?: string | undefined;
|
|
4928
4928
|
} | undefined;
|
|
4929
4929
|
diagnostic?: {
|
|
4930
|
-
code: "preflight_incompatible" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
4930
|
+
code: "preflight_incompatible" | "preflight_dependency_failed" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
4931
4931
|
message?: string | undefined;
|
|
4932
4932
|
} | undefined;
|
|
4933
4933
|
protocolArtifacts?: Record<string, unknown> | undefined;
|
|
@@ -4950,7 +4950,7 @@ export declare const sdkPaymentFinalizationRequestSchema: z.ZodObject<{
|
|
|
4950
4950
|
body: string;
|
|
4951
4951
|
} | undefined;
|
|
4952
4952
|
diagnostic?: {
|
|
4953
|
-
code: "preflight_incompatible" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
4953
|
+
code: "preflight_incompatible" | "preflight_dependency_failed" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
4954
4954
|
message?: string | undefined;
|
|
4955
4955
|
} | undefined;
|
|
4956
4956
|
protocolArtifacts?: Record<string, unknown> | undefined;
|
|
@@ -4973,7 +4973,7 @@ export declare const sdkPaymentFinalizationRequestSchema: z.ZodObject<{
|
|
|
4973
4973
|
body?: string | undefined;
|
|
4974
4974
|
} | undefined;
|
|
4975
4975
|
diagnostic?: {
|
|
4976
|
-
code: "preflight_incompatible" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
4976
|
+
code: "preflight_incompatible" | "preflight_dependency_failed" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
4977
4977
|
message?: string | undefined;
|
|
4978
4978
|
} | undefined;
|
|
4979
4979
|
protocolArtifacts?: Record<string, unknown> | undefined;
|
|
@@ -4984,19 +4984,19 @@ export declare const sdkPaymentAuthorizationAuthorizedResponseSchema: z.ZodObjec
|
|
|
4984
4984
|
outcome: z.ZodLiteral<"authorized">;
|
|
4985
4985
|
paidRequestId: z.ZodString;
|
|
4986
4986
|
paymentAttemptId: z.ZodString;
|
|
4987
|
-
reasonCode: z.ZodEnum<["policy_allow", "policy_denied", "policy_review_required", "challenge_candidate_malformed", "challenge_no_supported_candidates", "challenge_mixed_environment_candidates", "challenge_execution_identity_unavailable", "challenge_execution_identity_ambiguous", "payment_execution_in_progress", "preflight_incompatible", "merchant_rejected", "merchant_execution_failed", "settlement_proof_conflict", "merchant_transport_lost"]>;
|
|
4987
|
+
reasonCode: z.ZodEnum<["policy_allow", "policy_denied", "policy_review_required", "challenge_candidate_malformed", "challenge_no_supported_candidates", "challenge_mixed_environment_candidates", "challenge_execution_identity_unavailable", "challenge_execution_identity_ambiguous", "payment_execution_in_progress", "preflight_incompatible", "preflight_dependency_failed", "merchant_rejected", "merchant_execution_failed", "settlement_proof_conflict", "merchant_transport_lost"]>;
|
|
4988
4988
|
reason: z.ZodString;
|
|
4989
4989
|
}, "strip", z.ZodTypeAny, {
|
|
4990
4990
|
paidRequestId: string;
|
|
4991
4991
|
paymentAttemptId: string;
|
|
4992
4992
|
outcome: "authorized";
|
|
4993
|
-
reasonCode: "policy_allow" | "policy_denied" | "policy_review_required" | "challenge_candidate_malformed" | "challenge_no_supported_candidates" | "challenge_mixed_environment_candidates" | "challenge_execution_identity_unavailable" | "challenge_execution_identity_ambiguous" | "payment_execution_in_progress" | "preflight_incompatible" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
4993
|
+
reasonCode: "policy_allow" | "policy_denied" | "policy_review_required" | "challenge_candidate_malformed" | "challenge_no_supported_candidates" | "challenge_mixed_environment_candidates" | "challenge_execution_identity_unavailable" | "challenge_execution_identity_ambiguous" | "payment_execution_in_progress" | "preflight_incompatible" | "preflight_dependency_failed" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
4994
4994
|
reason: string;
|
|
4995
4995
|
}, {
|
|
4996
4996
|
paidRequestId: string;
|
|
4997
4997
|
paymentAttemptId: string;
|
|
4998
4998
|
outcome: "authorized";
|
|
4999
|
-
reasonCode: "policy_allow" | "policy_denied" | "policy_review_required" | "challenge_candidate_malformed" | "challenge_no_supported_candidates" | "challenge_mixed_environment_candidates" | "challenge_execution_identity_unavailable" | "challenge_execution_identity_ambiguous" | "payment_execution_in_progress" | "preflight_incompatible" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
4999
|
+
reasonCode: "policy_allow" | "policy_denied" | "policy_review_required" | "challenge_candidate_malformed" | "challenge_no_supported_candidates" | "challenge_mixed_environment_candidates" | "challenge_execution_identity_unavailable" | "challenge_execution_identity_ambiguous" | "payment_execution_in_progress" | "preflight_incompatible" | "preflight_dependency_failed" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
5000
5000
|
reason: string;
|
|
5001
5001
|
}>;
|
|
5002
5002
|
export type SdkPaymentAuthorizationAuthorizedResponse = z.infer<typeof sdkPaymentAuthorizationAuthorizedResponseSchema>;
|
|
@@ -5004,7 +5004,7 @@ export declare const sdkPaymentDecisionAllowResponseSchema: z.ZodObject<{
|
|
|
5004
5004
|
outcome: z.ZodLiteral<"allow">;
|
|
5005
5005
|
paidRequestId: z.ZodString;
|
|
5006
5006
|
paymentAttemptId: z.ZodString;
|
|
5007
|
-
reasonCode: z.ZodEnum<["policy_allow", "policy_denied", "policy_review_required", "challenge_candidate_malformed", "challenge_no_supported_candidates", "challenge_mixed_environment_candidates", "challenge_execution_identity_unavailable", "challenge_execution_identity_ambiguous", "payment_execution_in_progress", "preflight_incompatible", "merchant_rejected", "merchant_execution_failed", "settlement_proof_conflict", "merchant_transport_lost"]>;
|
|
5007
|
+
reasonCode: z.ZodEnum<["policy_allow", "policy_denied", "policy_review_required", "challenge_candidate_malformed", "challenge_no_supported_candidates", "challenge_mixed_environment_candidates", "challenge_execution_identity_unavailable", "challenge_execution_identity_ambiguous", "payment_execution_in_progress", "preflight_incompatible", "preflight_dependency_failed", "merchant_rejected", "merchant_execution_failed", "settlement_proof_conflict", "merchant_transport_lost"]>;
|
|
5008
5008
|
reason: z.ZodString;
|
|
5009
5009
|
merchantResponse: z.ZodObject<{
|
|
5010
5010
|
status: z.ZodNumber;
|
|
@@ -5158,7 +5158,7 @@ export declare const sdkPaymentDecisionAllowResponseSchema: z.ZodObject<{
|
|
|
5158
5158
|
body: string;
|
|
5159
5159
|
};
|
|
5160
5160
|
outcome: "allow";
|
|
5161
|
-
reasonCode: "policy_allow" | "policy_denied" | "policy_review_required" | "challenge_candidate_malformed" | "challenge_no_supported_candidates" | "challenge_mixed_environment_candidates" | "challenge_execution_identity_unavailable" | "challenge_execution_identity_ambiguous" | "payment_execution_in_progress" | "preflight_incompatible" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
5161
|
+
reasonCode: "policy_allow" | "policy_denied" | "policy_review_required" | "challenge_candidate_malformed" | "challenge_no_supported_candidates" | "challenge_mixed_environment_candidates" | "challenge_execution_identity_unavailable" | "challenge_execution_identity_ambiguous" | "payment_execution_in_progress" | "preflight_incompatible" | "preflight_dependency_failed" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
5162
5162
|
reason: string;
|
|
5163
5163
|
receipt: {
|
|
5164
5164
|
status: "confirmed" | "provisional" | "expired_unconfirmed" | "refunded" | "void";
|
|
@@ -5205,7 +5205,7 @@ export declare const sdkPaymentDecisionAllowResponseSchema: z.ZodObject<{
|
|
|
5205
5205
|
body?: string | undefined;
|
|
5206
5206
|
};
|
|
5207
5207
|
outcome: "allow";
|
|
5208
|
-
reasonCode: "policy_allow" | "policy_denied" | "policy_review_required" | "challenge_candidate_malformed" | "challenge_no_supported_candidates" | "challenge_mixed_environment_candidates" | "challenge_execution_identity_unavailable" | "challenge_execution_identity_ambiguous" | "payment_execution_in_progress" | "preflight_incompatible" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
5208
|
+
reasonCode: "policy_allow" | "policy_denied" | "policy_review_required" | "challenge_candidate_malformed" | "challenge_no_supported_candidates" | "challenge_mixed_environment_candidates" | "challenge_execution_identity_unavailable" | "challenge_execution_identity_ambiguous" | "payment_execution_in_progress" | "preflight_incompatible" | "preflight_dependency_failed" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
5209
5209
|
reason: string;
|
|
5210
5210
|
receipt: {
|
|
5211
5211
|
status: "confirmed" | "provisional" | "expired_unconfirmed" | "refunded" | "void";
|
|
@@ -5546,21 +5546,21 @@ export declare const sdkPaymentDecisionPreflightFailedResponseSchema: z.ZodObjec
|
|
|
5546
5546
|
outcome: z.ZodLiteral<"preflight_failed">;
|
|
5547
5547
|
paidRequestId: z.ZodString;
|
|
5548
5548
|
paymentAttemptId: z.ZodString;
|
|
5549
|
-
reasonCode: z.
|
|
5549
|
+
reasonCode: z.ZodEnum<["preflight_incompatible", "preflight_dependency_failed"]>;
|
|
5550
5550
|
reason: z.ZodString;
|
|
5551
5551
|
evidence: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5552
5552
|
}, "strip", z.ZodTypeAny, {
|
|
5553
5553
|
paidRequestId: string;
|
|
5554
5554
|
paymentAttemptId: string;
|
|
5555
5555
|
outcome: "preflight_failed";
|
|
5556
|
-
reasonCode: "preflight_incompatible";
|
|
5556
|
+
reasonCode: "preflight_incompatible" | "preflight_dependency_failed";
|
|
5557
5557
|
reason: string;
|
|
5558
5558
|
evidence?: Record<string, unknown> | undefined;
|
|
5559
5559
|
}, {
|
|
5560
5560
|
paidRequestId: string;
|
|
5561
5561
|
paymentAttemptId: string;
|
|
5562
5562
|
outcome: "preflight_failed";
|
|
5563
|
-
reasonCode: "preflight_incompatible";
|
|
5563
|
+
reasonCode: "preflight_incompatible" | "preflight_dependency_failed";
|
|
5564
5564
|
reason: string;
|
|
5565
5565
|
evidence?: Record<string, unknown> | undefined;
|
|
5566
5566
|
}>;
|
|
@@ -5608,18 +5608,18 @@ export declare const sdkPaymentDecisionInconclusiveResponseSchema: z.ZodObject<{
|
|
|
5608
5608
|
export declare const sdkPaymentDecisionDenyResponseSchema: z.ZodObject<{
|
|
5609
5609
|
outcome: z.ZodLiteral<"deny">;
|
|
5610
5610
|
paidRequestId: z.ZodOptional<z.ZodString>;
|
|
5611
|
-
reasonCode: z.ZodEnum<["policy_allow", "policy_denied", "policy_review_required", "challenge_candidate_malformed", "challenge_no_supported_candidates", "challenge_mixed_environment_candidates", "challenge_execution_identity_unavailable", "challenge_execution_identity_ambiguous", "payment_execution_in_progress", "preflight_incompatible", "merchant_rejected", "merchant_execution_failed", "settlement_proof_conflict", "merchant_transport_lost"]>;
|
|
5611
|
+
reasonCode: z.ZodEnum<["policy_allow", "policy_denied", "policy_review_required", "challenge_candidate_malformed", "challenge_no_supported_candidates", "challenge_mixed_environment_candidates", "challenge_execution_identity_unavailable", "challenge_execution_identity_ambiguous", "payment_execution_in_progress", "preflight_incompatible", "preflight_dependency_failed", "merchant_rejected", "merchant_execution_failed", "settlement_proof_conflict", "merchant_transport_lost"]>;
|
|
5612
5612
|
reason: z.ZodString;
|
|
5613
5613
|
policyReviewEventId: z.ZodOptional<z.ZodString>;
|
|
5614
5614
|
}, "strip", z.ZodTypeAny, {
|
|
5615
5615
|
outcome: "deny";
|
|
5616
|
-
reasonCode: "policy_allow" | "policy_denied" | "policy_review_required" | "challenge_candidate_malformed" | "challenge_no_supported_candidates" | "challenge_mixed_environment_candidates" | "challenge_execution_identity_unavailable" | "challenge_execution_identity_ambiguous" | "payment_execution_in_progress" | "preflight_incompatible" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
5616
|
+
reasonCode: "policy_allow" | "policy_denied" | "policy_review_required" | "challenge_candidate_malformed" | "challenge_no_supported_candidates" | "challenge_mixed_environment_candidates" | "challenge_execution_identity_unavailable" | "challenge_execution_identity_ambiguous" | "payment_execution_in_progress" | "preflight_incompatible" | "preflight_dependency_failed" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
5617
5617
|
reason: string;
|
|
5618
5618
|
paidRequestId?: string | undefined;
|
|
5619
5619
|
policyReviewEventId?: string | undefined;
|
|
5620
5620
|
}, {
|
|
5621
5621
|
outcome: "deny";
|
|
5622
|
-
reasonCode: "policy_allow" | "policy_denied" | "policy_review_required" | "challenge_candidate_malformed" | "challenge_no_supported_candidates" | "challenge_mixed_environment_candidates" | "challenge_execution_identity_unavailable" | "challenge_execution_identity_ambiguous" | "payment_execution_in_progress" | "preflight_incompatible" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
5622
|
+
reasonCode: "policy_allow" | "policy_denied" | "policy_review_required" | "challenge_candidate_malformed" | "challenge_no_supported_candidates" | "challenge_mixed_environment_candidates" | "challenge_execution_identity_unavailable" | "challenge_execution_identity_ambiguous" | "payment_execution_in_progress" | "preflight_incompatible" | "preflight_dependency_failed" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
5623
5623
|
reason: string;
|
|
5624
5624
|
paidRequestId?: string | undefined;
|
|
5625
5625
|
policyReviewEventId?: string | undefined;
|
|
@@ -5629,7 +5629,7 @@ export declare const sdkPaymentDecisionResponseSchema: z.ZodDiscriminatedUnion<"
|
|
|
5629
5629
|
outcome: z.ZodLiteral<"allow">;
|
|
5630
5630
|
paidRequestId: z.ZodString;
|
|
5631
5631
|
paymentAttemptId: z.ZodString;
|
|
5632
|
-
reasonCode: z.ZodEnum<["policy_allow", "policy_denied", "policy_review_required", "challenge_candidate_malformed", "challenge_no_supported_candidates", "challenge_mixed_environment_candidates", "challenge_execution_identity_unavailable", "challenge_execution_identity_ambiguous", "payment_execution_in_progress", "preflight_incompatible", "merchant_rejected", "merchant_execution_failed", "settlement_proof_conflict", "merchant_transport_lost"]>;
|
|
5632
|
+
reasonCode: z.ZodEnum<["policy_allow", "policy_denied", "policy_review_required", "challenge_candidate_malformed", "challenge_no_supported_candidates", "challenge_mixed_environment_candidates", "challenge_execution_identity_unavailable", "challenge_execution_identity_ambiguous", "payment_execution_in_progress", "preflight_incompatible", "preflight_dependency_failed", "merchant_rejected", "merchant_execution_failed", "settlement_proof_conflict", "merchant_transport_lost"]>;
|
|
5633
5633
|
reason: z.ZodString;
|
|
5634
5634
|
merchantResponse: z.ZodObject<{
|
|
5635
5635
|
status: z.ZodNumber;
|
|
@@ -5783,7 +5783,7 @@ export declare const sdkPaymentDecisionResponseSchema: z.ZodDiscriminatedUnion<"
|
|
|
5783
5783
|
body: string;
|
|
5784
5784
|
};
|
|
5785
5785
|
outcome: "allow";
|
|
5786
|
-
reasonCode: "policy_allow" | "policy_denied" | "policy_review_required" | "challenge_candidate_malformed" | "challenge_no_supported_candidates" | "challenge_mixed_environment_candidates" | "challenge_execution_identity_unavailable" | "challenge_execution_identity_ambiguous" | "payment_execution_in_progress" | "preflight_incompatible" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
5786
|
+
reasonCode: "policy_allow" | "policy_denied" | "policy_review_required" | "challenge_candidate_malformed" | "challenge_no_supported_candidates" | "challenge_mixed_environment_candidates" | "challenge_execution_identity_unavailable" | "challenge_execution_identity_ambiguous" | "payment_execution_in_progress" | "preflight_incompatible" | "preflight_dependency_failed" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
5787
5787
|
reason: string;
|
|
5788
5788
|
receipt: {
|
|
5789
5789
|
status: "confirmed" | "provisional" | "expired_unconfirmed" | "refunded" | "void";
|
|
@@ -5830,7 +5830,7 @@ export declare const sdkPaymentDecisionResponseSchema: z.ZodDiscriminatedUnion<"
|
|
|
5830
5830
|
body?: string | undefined;
|
|
5831
5831
|
};
|
|
5832
5832
|
outcome: "allow";
|
|
5833
|
-
reasonCode: "policy_allow" | "policy_denied" | "policy_review_required" | "challenge_candidate_malformed" | "challenge_no_supported_candidates" | "challenge_mixed_environment_candidates" | "challenge_execution_identity_unavailable" | "challenge_execution_identity_ambiguous" | "payment_execution_in_progress" | "preflight_incompatible" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
5833
|
+
reasonCode: "policy_allow" | "policy_denied" | "policy_review_required" | "challenge_candidate_malformed" | "challenge_no_supported_candidates" | "challenge_mixed_environment_candidates" | "challenge_execution_identity_unavailable" | "challenge_execution_identity_ambiguous" | "payment_execution_in_progress" | "preflight_incompatible" | "preflight_dependency_failed" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
5834
5834
|
reason: string;
|
|
5835
5835
|
receipt: {
|
|
5836
5836
|
status: "confirmed" | "provisional" | "expired_unconfirmed" | "refunded" | "void";
|
|
@@ -6142,21 +6142,21 @@ export declare const sdkPaymentDecisionResponseSchema: z.ZodDiscriminatedUnion<"
|
|
|
6142
6142
|
outcome: z.ZodLiteral<"preflight_failed">;
|
|
6143
6143
|
paidRequestId: z.ZodString;
|
|
6144
6144
|
paymentAttemptId: z.ZodString;
|
|
6145
|
-
reasonCode: z.
|
|
6145
|
+
reasonCode: z.ZodEnum<["preflight_incompatible", "preflight_dependency_failed"]>;
|
|
6146
6146
|
reason: z.ZodString;
|
|
6147
6147
|
evidence: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6148
6148
|
}, "strip", z.ZodTypeAny, {
|
|
6149
6149
|
paidRequestId: string;
|
|
6150
6150
|
paymentAttemptId: string;
|
|
6151
6151
|
outcome: "preflight_failed";
|
|
6152
|
-
reasonCode: "preflight_incompatible";
|
|
6152
|
+
reasonCode: "preflight_incompatible" | "preflight_dependency_failed";
|
|
6153
6153
|
reason: string;
|
|
6154
6154
|
evidence?: Record<string, unknown> | undefined;
|
|
6155
6155
|
}, {
|
|
6156
6156
|
paidRequestId: string;
|
|
6157
6157
|
paymentAttemptId: string;
|
|
6158
6158
|
outcome: "preflight_failed";
|
|
6159
|
-
reasonCode: "preflight_incompatible";
|
|
6159
|
+
reasonCode: "preflight_incompatible" | "preflight_dependency_failed";
|
|
6160
6160
|
reason: string;
|
|
6161
6161
|
evidence?: Record<string, unknown> | undefined;
|
|
6162
6162
|
}>, z.ZodObject<{
|
|
@@ -6227,18 +6227,18 @@ export declare const sdkPaymentDecisionResponseSchema: z.ZodDiscriminatedUnion<"
|
|
|
6227
6227
|
}>, z.ZodObject<{
|
|
6228
6228
|
outcome: z.ZodLiteral<"deny">;
|
|
6229
6229
|
paidRequestId: z.ZodOptional<z.ZodString>;
|
|
6230
|
-
reasonCode: z.ZodEnum<["policy_allow", "policy_denied", "policy_review_required", "challenge_candidate_malformed", "challenge_no_supported_candidates", "challenge_mixed_environment_candidates", "challenge_execution_identity_unavailable", "challenge_execution_identity_ambiguous", "payment_execution_in_progress", "preflight_incompatible", "merchant_rejected", "merchant_execution_failed", "settlement_proof_conflict", "merchant_transport_lost"]>;
|
|
6230
|
+
reasonCode: z.ZodEnum<["policy_allow", "policy_denied", "policy_review_required", "challenge_candidate_malformed", "challenge_no_supported_candidates", "challenge_mixed_environment_candidates", "challenge_execution_identity_unavailable", "challenge_execution_identity_ambiguous", "payment_execution_in_progress", "preflight_incompatible", "preflight_dependency_failed", "merchant_rejected", "merchant_execution_failed", "settlement_proof_conflict", "merchant_transport_lost"]>;
|
|
6231
6231
|
reason: z.ZodString;
|
|
6232
6232
|
policyReviewEventId: z.ZodOptional<z.ZodString>;
|
|
6233
6233
|
}, "strip", z.ZodTypeAny, {
|
|
6234
6234
|
outcome: "deny";
|
|
6235
|
-
reasonCode: "policy_allow" | "policy_denied" | "policy_review_required" | "challenge_candidate_malformed" | "challenge_no_supported_candidates" | "challenge_mixed_environment_candidates" | "challenge_execution_identity_unavailable" | "challenge_execution_identity_ambiguous" | "payment_execution_in_progress" | "preflight_incompatible" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
6235
|
+
reasonCode: "policy_allow" | "policy_denied" | "policy_review_required" | "challenge_candidate_malformed" | "challenge_no_supported_candidates" | "challenge_mixed_environment_candidates" | "challenge_execution_identity_unavailable" | "challenge_execution_identity_ambiguous" | "payment_execution_in_progress" | "preflight_incompatible" | "preflight_dependency_failed" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
6236
6236
|
reason: string;
|
|
6237
6237
|
paidRequestId?: string | undefined;
|
|
6238
6238
|
policyReviewEventId?: string | undefined;
|
|
6239
6239
|
}, {
|
|
6240
6240
|
outcome: "deny";
|
|
6241
|
-
reasonCode: "policy_allow" | "policy_denied" | "policy_review_required" | "challenge_candidate_malformed" | "challenge_no_supported_candidates" | "challenge_mixed_environment_candidates" | "challenge_execution_identity_unavailable" | "challenge_execution_identity_ambiguous" | "payment_execution_in_progress" | "preflight_incompatible" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
6241
|
+
reasonCode: "policy_allow" | "policy_denied" | "policy_review_required" | "challenge_candidate_malformed" | "challenge_no_supported_candidates" | "challenge_mixed_environment_candidates" | "challenge_execution_identity_unavailable" | "challenge_execution_identity_ambiguous" | "payment_execution_in_progress" | "preflight_incompatible" | "preflight_dependency_failed" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
6242
6242
|
reason: string;
|
|
6243
6243
|
paidRequestId?: string | undefined;
|
|
6244
6244
|
policyReviewEventId?: string | undefined;
|
|
@@ -6248,25 +6248,25 @@ export declare const sdkPaymentAuthorizationResponseSchema: z.ZodDiscriminatedUn
|
|
|
6248
6248
|
outcome: z.ZodLiteral<"authorized">;
|
|
6249
6249
|
paidRequestId: z.ZodString;
|
|
6250
6250
|
paymentAttemptId: z.ZodString;
|
|
6251
|
-
reasonCode: z.ZodEnum<["policy_allow", "policy_denied", "policy_review_required", "challenge_candidate_malformed", "challenge_no_supported_candidates", "challenge_mixed_environment_candidates", "challenge_execution_identity_unavailable", "challenge_execution_identity_ambiguous", "payment_execution_in_progress", "preflight_incompatible", "merchant_rejected", "merchant_execution_failed", "settlement_proof_conflict", "merchant_transport_lost"]>;
|
|
6251
|
+
reasonCode: z.ZodEnum<["policy_allow", "policy_denied", "policy_review_required", "challenge_candidate_malformed", "challenge_no_supported_candidates", "challenge_mixed_environment_candidates", "challenge_execution_identity_unavailable", "challenge_execution_identity_ambiguous", "payment_execution_in_progress", "preflight_incompatible", "preflight_dependency_failed", "merchant_rejected", "merchant_execution_failed", "settlement_proof_conflict", "merchant_transport_lost"]>;
|
|
6252
6252
|
reason: z.ZodString;
|
|
6253
6253
|
}, "strip", z.ZodTypeAny, {
|
|
6254
6254
|
paidRequestId: string;
|
|
6255
6255
|
paymentAttemptId: string;
|
|
6256
6256
|
outcome: "authorized";
|
|
6257
|
-
reasonCode: "policy_allow" | "policy_denied" | "policy_review_required" | "challenge_candidate_malformed" | "challenge_no_supported_candidates" | "challenge_mixed_environment_candidates" | "challenge_execution_identity_unavailable" | "challenge_execution_identity_ambiguous" | "payment_execution_in_progress" | "preflight_incompatible" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
6257
|
+
reasonCode: "policy_allow" | "policy_denied" | "policy_review_required" | "challenge_candidate_malformed" | "challenge_no_supported_candidates" | "challenge_mixed_environment_candidates" | "challenge_execution_identity_unavailable" | "challenge_execution_identity_ambiguous" | "payment_execution_in_progress" | "preflight_incompatible" | "preflight_dependency_failed" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
6258
6258
|
reason: string;
|
|
6259
6259
|
}, {
|
|
6260
6260
|
paidRequestId: string;
|
|
6261
6261
|
paymentAttemptId: string;
|
|
6262
6262
|
outcome: "authorized";
|
|
6263
|
-
reasonCode: "policy_allow" | "policy_denied" | "policy_review_required" | "challenge_candidate_malformed" | "challenge_no_supported_candidates" | "challenge_mixed_environment_candidates" | "challenge_execution_identity_unavailable" | "challenge_execution_identity_ambiguous" | "payment_execution_in_progress" | "preflight_incompatible" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
6263
|
+
reasonCode: "policy_allow" | "policy_denied" | "policy_review_required" | "challenge_candidate_malformed" | "challenge_no_supported_candidates" | "challenge_mixed_environment_candidates" | "challenge_execution_identity_unavailable" | "challenge_execution_identity_ambiguous" | "payment_execution_in_progress" | "preflight_incompatible" | "preflight_dependency_failed" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
6264
6264
|
reason: string;
|
|
6265
6265
|
}>, z.ZodObject<{
|
|
6266
6266
|
outcome: z.ZodLiteral<"allow">;
|
|
6267
6267
|
paidRequestId: z.ZodString;
|
|
6268
6268
|
paymentAttemptId: z.ZodString;
|
|
6269
|
-
reasonCode: z.ZodEnum<["policy_allow", "policy_denied", "policy_review_required", "challenge_candidate_malformed", "challenge_no_supported_candidates", "challenge_mixed_environment_candidates", "challenge_execution_identity_unavailable", "challenge_execution_identity_ambiguous", "payment_execution_in_progress", "preflight_incompatible", "merchant_rejected", "merchant_execution_failed", "settlement_proof_conflict", "merchant_transport_lost"]>;
|
|
6269
|
+
reasonCode: z.ZodEnum<["policy_allow", "policy_denied", "policy_review_required", "challenge_candidate_malformed", "challenge_no_supported_candidates", "challenge_mixed_environment_candidates", "challenge_execution_identity_unavailable", "challenge_execution_identity_ambiguous", "payment_execution_in_progress", "preflight_incompatible", "preflight_dependency_failed", "merchant_rejected", "merchant_execution_failed", "settlement_proof_conflict", "merchant_transport_lost"]>;
|
|
6270
6270
|
reason: z.ZodString;
|
|
6271
6271
|
merchantResponse: z.ZodObject<{
|
|
6272
6272
|
status: z.ZodNumber;
|
|
@@ -6420,7 +6420,7 @@ export declare const sdkPaymentAuthorizationResponseSchema: z.ZodDiscriminatedUn
|
|
|
6420
6420
|
body: string;
|
|
6421
6421
|
};
|
|
6422
6422
|
outcome: "allow";
|
|
6423
|
-
reasonCode: "policy_allow" | "policy_denied" | "policy_review_required" | "challenge_candidate_malformed" | "challenge_no_supported_candidates" | "challenge_mixed_environment_candidates" | "challenge_execution_identity_unavailable" | "challenge_execution_identity_ambiguous" | "payment_execution_in_progress" | "preflight_incompatible" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
6423
|
+
reasonCode: "policy_allow" | "policy_denied" | "policy_review_required" | "challenge_candidate_malformed" | "challenge_no_supported_candidates" | "challenge_mixed_environment_candidates" | "challenge_execution_identity_unavailable" | "challenge_execution_identity_ambiguous" | "payment_execution_in_progress" | "preflight_incompatible" | "preflight_dependency_failed" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
6424
6424
|
reason: string;
|
|
6425
6425
|
receipt: {
|
|
6426
6426
|
status: "confirmed" | "provisional" | "expired_unconfirmed" | "refunded" | "void";
|
|
@@ -6467,7 +6467,7 @@ export declare const sdkPaymentAuthorizationResponseSchema: z.ZodDiscriminatedUn
|
|
|
6467
6467
|
body?: string | undefined;
|
|
6468
6468
|
};
|
|
6469
6469
|
outcome: "allow";
|
|
6470
|
-
reasonCode: "policy_allow" | "policy_denied" | "policy_review_required" | "challenge_candidate_malformed" | "challenge_no_supported_candidates" | "challenge_mixed_environment_candidates" | "challenge_execution_identity_unavailable" | "challenge_execution_identity_ambiguous" | "payment_execution_in_progress" | "preflight_incompatible" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
6470
|
+
reasonCode: "policy_allow" | "policy_denied" | "policy_review_required" | "challenge_candidate_malformed" | "challenge_no_supported_candidates" | "challenge_mixed_environment_candidates" | "challenge_execution_identity_unavailable" | "challenge_execution_identity_ambiguous" | "payment_execution_in_progress" | "preflight_incompatible" | "preflight_dependency_failed" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
6471
6471
|
reason: string;
|
|
6472
6472
|
receipt: {
|
|
6473
6473
|
status: "confirmed" | "provisional" | "expired_unconfirmed" | "refunded" | "void";
|
|
@@ -6779,21 +6779,21 @@ export declare const sdkPaymentAuthorizationResponseSchema: z.ZodDiscriminatedUn
|
|
|
6779
6779
|
outcome: z.ZodLiteral<"preflight_failed">;
|
|
6780
6780
|
paidRequestId: z.ZodString;
|
|
6781
6781
|
paymentAttemptId: z.ZodString;
|
|
6782
|
-
reasonCode: z.
|
|
6782
|
+
reasonCode: z.ZodEnum<["preflight_incompatible", "preflight_dependency_failed"]>;
|
|
6783
6783
|
reason: z.ZodString;
|
|
6784
6784
|
evidence: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6785
6785
|
}, "strip", z.ZodTypeAny, {
|
|
6786
6786
|
paidRequestId: string;
|
|
6787
6787
|
paymentAttemptId: string;
|
|
6788
6788
|
outcome: "preflight_failed";
|
|
6789
|
-
reasonCode: "preflight_incompatible";
|
|
6789
|
+
reasonCode: "preflight_incompatible" | "preflight_dependency_failed";
|
|
6790
6790
|
reason: string;
|
|
6791
6791
|
evidence?: Record<string, unknown> | undefined;
|
|
6792
6792
|
}, {
|
|
6793
6793
|
paidRequestId: string;
|
|
6794
6794
|
paymentAttemptId: string;
|
|
6795
6795
|
outcome: "preflight_failed";
|
|
6796
|
-
reasonCode: "preflight_incompatible";
|
|
6796
|
+
reasonCode: "preflight_incompatible" | "preflight_dependency_failed";
|
|
6797
6797
|
reason: string;
|
|
6798
6798
|
evidence?: Record<string, unknown> | undefined;
|
|
6799
6799
|
}>, z.ZodObject<{
|
|
@@ -6864,18 +6864,18 @@ export declare const sdkPaymentAuthorizationResponseSchema: z.ZodDiscriminatedUn
|
|
|
6864
6864
|
}>, z.ZodObject<{
|
|
6865
6865
|
outcome: z.ZodLiteral<"deny">;
|
|
6866
6866
|
paidRequestId: z.ZodOptional<z.ZodString>;
|
|
6867
|
-
reasonCode: z.ZodEnum<["policy_allow", "policy_denied", "policy_review_required", "challenge_candidate_malformed", "challenge_no_supported_candidates", "challenge_mixed_environment_candidates", "challenge_execution_identity_unavailable", "challenge_execution_identity_ambiguous", "payment_execution_in_progress", "preflight_incompatible", "merchant_rejected", "merchant_execution_failed", "settlement_proof_conflict", "merchant_transport_lost"]>;
|
|
6867
|
+
reasonCode: z.ZodEnum<["policy_allow", "policy_denied", "policy_review_required", "challenge_candidate_malformed", "challenge_no_supported_candidates", "challenge_mixed_environment_candidates", "challenge_execution_identity_unavailable", "challenge_execution_identity_ambiguous", "payment_execution_in_progress", "preflight_incompatible", "preflight_dependency_failed", "merchant_rejected", "merchant_execution_failed", "settlement_proof_conflict", "merchant_transport_lost"]>;
|
|
6868
6868
|
reason: z.ZodString;
|
|
6869
6869
|
policyReviewEventId: z.ZodOptional<z.ZodString>;
|
|
6870
6870
|
}, "strip", z.ZodTypeAny, {
|
|
6871
6871
|
outcome: "deny";
|
|
6872
|
-
reasonCode: "policy_allow" | "policy_denied" | "policy_review_required" | "challenge_candidate_malformed" | "challenge_no_supported_candidates" | "challenge_mixed_environment_candidates" | "challenge_execution_identity_unavailable" | "challenge_execution_identity_ambiguous" | "payment_execution_in_progress" | "preflight_incompatible" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
6872
|
+
reasonCode: "policy_allow" | "policy_denied" | "policy_review_required" | "challenge_candidate_malformed" | "challenge_no_supported_candidates" | "challenge_mixed_environment_candidates" | "challenge_execution_identity_unavailable" | "challenge_execution_identity_ambiguous" | "payment_execution_in_progress" | "preflight_incompatible" | "preflight_dependency_failed" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
6873
6873
|
reason: string;
|
|
6874
6874
|
paidRequestId?: string | undefined;
|
|
6875
6875
|
policyReviewEventId?: string | undefined;
|
|
6876
6876
|
}, {
|
|
6877
6877
|
outcome: "deny";
|
|
6878
|
-
reasonCode: "policy_allow" | "policy_denied" | "policy_review_required" | "challenge_candidate_malformed" | "challenge_no_supported_candidates" | "challenge_mixed_environment_candidates" | "challenge_execution_identity_unavailable" | "challenge_execution_identity_ambiguous" | "payment_execution_in_progress" | "preflight_incompatible" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
6878
|
+
reasonCode: "policy_allow" | "policy_denied" | "policy_review_required" | "challenge_candidate_malformed" | "challenge_no_supported_candidates" | "challenge_mixed_environment_candidates" | "challenge_execution_identity_unavailable" | "challenge_execution_identity_ambiguous" | "payment_execution_in_progress" | "preflight_incompatible" | "preflight_dependency_failed" | "merchant_rejected" | "merchant_execution_failed" | "settlement_proof_conflict" | "merchant_transport_lost";
|
|
6879
6879
|
reason: string;
|
|
6880
6880
|
paidRequestId?: string | undefined;
|
|
6881
6881
|
policyReviewEventId?: string | undefined;
|
package/dist/contracts.js
CHANGED
|
@@ -70,6 +70,7 @@ export const paidRequestReasonCodeSchema = z.enum([
|
|
|
70
70
|
'challenge_execution_identity_ambiguous',
|
|
71
71
|
'payment_execution_in_progress',
|
|
72
72
|
'preflight_incompatible',
|
|
73
|
+
'preflight_dependency_failed',
|
|
73
74
|
'merchant_rejected',
|
|
74
75
|
'merchant_execution_failed',
|
|
75
76
|
'settlement_proof_conflict',
|
|
@@ -425,6 +426,7 @@ export const sdkDelegatedMerchantOutcomeSchema = z.enum([
|
|
|
425
426
|
]);
|
|
426
427
|
export const sdkDelegatedExecutionDiagnosticCodeSchema = z.enum([
|
|
427
428
|
'preflight_incompatible',
|
|
429
|
+
'preflight_dependency_failed',
|
|
428
430
|
'merchant_rejected',
|
|
429
431
|
'merchant_execution_failed',
|
|
430
432
|
'merchant_transport_lost',
|
|
@@ -473,6 +475,10 @@ const sdkMerchantFailureReasonCodeSchema = z.enum([
|
|
|
473
475
|
'merchant_rejected',
|
|
474
476
|
'merchant_execution_failed',
|
|
475
477
|
]);
|
|
478
|
+
const sdkPreflightFailureReasonCodeSchema = z.enum([
|
|
479
|
+
'preflight_incompatible',
|
|
480
|
+
'preflight_dependency_failed',
|
|
481
|
+
]);
|
|
476
482
|
export const sdkPaymentDecisionPaidFulfillmentFailedResponseSchema = z.object({
|
|
477
483
|
outcome: z.literal('paid_fulfillment_failed'),
|
|
478
484
|
paidRequestId: z.string().uuid(),
|
|
@@ -498,7 +504,7 @@ export const sdkPaymentDecisionPreflightFailedResponseSchema = z.object({
|
|
|
498
504
|
outcome: z.literal('preflight_failed'),
|
|
499
505
|
paidRequestId: z.string().uuid(),
|
|
500
506
|
paymentAttemptId: z.string().uuid(),
|
|
501
|
-
reasonCode:
|
|
507
|
+
reasonCode: sdkPreflightFailureReasonCodeSchema,
|
|
502
508
|
reason: z.string().min(1),
|
|
503
509
|
evidence: z.record(z.unknown()).optional(),
|
|
504
510
|
});
|
package/dist/contracts.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contracts.js","sourceRoot":"","sources":["../src/contracts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;AAKrE,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,IAAI,CAAC;IAClD,MAAM;IACN,cAAc;IACd,6BAA6B;IAC7B,SAAS;CACV,CAAC,CAAC;AAKH,MAAM,CAAC,MAAM,uBAAuB,GA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