/ Docs
APIWallet

Allocate

Move EUR from the wallet into the org's OpenRouter key limit. Owner only.

POST
/v1/orgs/{org_id}/wallet/allocate

Authorization

BearerAuth
AuthorizationBearer <token>

Botyard API key — see /docs/authentication.

In: header

Path Parameters

org_id*Org Id

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Allocate EUR from the wallet to the org's OpenRouter key limit.

Response Body

application/json

curl -X POST "https://example.com/v1/orgs/string/wallet/allocate" \  -H "Content-Type: application/json" \  -d '{    "amount_eur": 1,    "idempotency_key": "string"  }'
{
  "balance_eur": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "error_code": "string",
  "errors": [
    {
      "pointer": "string",
      "detail": "string",
      "type": "string"
    }
  ],
  "trace_id": "string"
}