Agent Account

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, and the account is credited within seconds. Links expire after 24 hours; mint a fresh one anytime.

post/agent/checkout-link

Request

  • Base URL
    https://api.financialdatasets.ai
  • Auth
    API key in header X-API-KEY

Request body

amount_to_addnumber

Dollars of credit to purchase. Optional; defaults to the $20 minimum.

Response

Checkout link created.

checkout_urlstring

Stripe Checkout page; give this to the account owner.

amountnumber

Dollar amount the link charges.

messagestring

Changes