Skip to content

Commit fa658aa

Browse files
openrouter-docs-sync[bot]OpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#1323)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent b0fe9c9 commit fa658aa

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42882,6 +42882,22 @@ paths:
4288242882
x-speakeasy-ignore: true
4288342883
x-speakeasy-name-override: 'createCoinbaseCharge'
4288442884
/credits/purchases:
42885+
get:
42886+
operationId: 'getCreditPurchasesSetupGuide'
42887+
responses:
42888+
'200':
42889+
content:
42890+
text/markdown:
42891+
schema:
42892+
type: 'string'
42893+
description: 'Markdown document, readable without a key.'
42894+
security: []
42895+
summary: 'Agent setup guide, served at the purchases collection'
42896+
tags:
42897+
- 'Credits'
42898+
x-fern-ignore: true
42899+
x-hidden: true
42900+
x-speakeasy-ignore: true
4288542901
post:
4288642902
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`.'
4288742903
operationId: 'createCreditsPurchases'

0 commit comments

Comments
 (0)