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>"
}Updates the x402 payment configuration
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>"
}API key in the format: Bearer {api_token}
Was this page helpful?