Billing

Look up organization billing state

Returns balance, tier, lease expiry, and auto-recharge config for the organization associated with a wallet or email. Provide exactly one of wallet or email. Wallet lookups require either an admin key or a SIWX header signed by the queried wallet. Email lookups require admin key.

get/orgs/v1/lookup

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/orgs/v1/lookup
  • Auth: one of:
    • API key in header SIGN-IN-WITH-X
    • API key in header x-admin-key

Query parameters

walletstring

Ethereum wallet address

emailstring email

Email organization address

Response

Organization billing state

allowance_usd_microsinteger required

Available balance in micro-USD (1 USD = 1,000,000)

Changes

No recorded changes to this operation across all 1 revision of this API.