← Back to Financial Datasets
POST/agent/checkout-link
Agent Checkout Link
Mint a Stripe Checkout link that funds the account tied to the API key. Give the returned checkout_url to the account owner; they pay in the browser with no login.
Financial Datasets·$0.01 per call
Example code
// Using @orth/sdk - The simplest way to call APIs
// Install: npm install @orth/sdk
import Orthogonal from "@orth/sdk";
const orthogonal = new Orthogonal({
apiKey: process.env.ORTHOGONAL_API_KEY,
});
const output = await orthogonal.run({
api: "financial-datasets",
path: "/agent/checkout-link"
});
console.log(output);Body parameters
amount_to_add
number
Dollars of credit to purchase. Optional; defaults to the $20 minimum.