Skip to main content
PATCH
/
x402_configuration
Typescript (SDK)
import { Crevio } from "@crevio/sdk";

const crevio = new Crevio({
  apiKey: process.env["CREVIO_API_KEY"] ?? "",
});

async function run() {
  const result = await crevio.x402Configuration.update({});

  console.log(result);
}

run();
{
  "object": "<string>",
  "x402_enabled": {},
  "x402_wallet_address": {},
  "x402_chain": {},
  "currency": "<string>"
}

Authorizations

Authorization
string
header
required

API key in the format: Bearer {api_token}

Body

application/json
x402_enabled
boolean
x402_wallet_address
string | null
x402_chain
string | null

Response

X402 configuration updated

object
string
required
x402_enabled
object
required
x402_wallet_address
object
required
x402_chain
object
required
currency
string
required