You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 69a76ca
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .speakeasy/out.openapi.yaml
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -43303,6 +43303,22 @@ paths:
43303
43303
- $ref: "#/components/parameters/AppDisplayName"
43304
43304
- $ref: "#/components/parameters/AppCategories"
43305
43305
/credits/purchases:
43306
+
get:
43307
+
operationId: 'getCreditPurchasesSetupGuide'
43308
+
responses:
43309
+
'200':
43310
+
content:
43311
+
text/markdown:
43312
+
schema:
43313
+
type: 'string'
43314
+
description: 'Markdown document, readable without a key.'
43315
+
security: []
43316
+
summary: 'Agent setup guide, served at the purchases collection'
43317
+
tags:
43318
+
- 'Credits'
43319
+
x-fern-ignore: true
43320
+
x-hidden: true
43321
+
x-speakeasy-ignore: true
43306
43322
post:
43307
43323
description: 'Starts an agent credit purchase paid with a Machine Payments Protocol (MPP) credential: USDC on Tempo, or a card when one is offered. The first call answers `402` with one `WWW-Authenticate: Payment ...` challenge per payment option; pay one of them and retry the same request, same `Idempotency-Key`, with the signed credential in `Payment-Authorization: Payment ...` (or in `Authorization: Payment ...` when the management key is sent as `X-Api-Key`). A paid request answers `202`: the transfer was broadcast or the card was charged, and the payment is still being confirmed, so credits arrive asynchronously. Poll the URL in the `Location` header, `GET /api/v1/credits/purchases/{id}`, until `status` is `credited` or `failed`.'
0 commit comments