PaydayAPI
API reference · OTC

Get the locker settings

GEThttps://payday.direct/api/otc/config

Which network the locker runs on, whether it is ready or paused, the fee, the expiry presets and limits, and the vault owner address left out of holder payouts.

No API key.

Responses

200OK

Response fields

okboolean
cluster"devnet" | "mainnet"
programIdstring
The locker program
readyboolean
The program's config exists on this network
pausedboolean
New listings and fills are paused; cancel and return still work
feeBpsinteger
Fee on a fill in basis points (500 = 5%)
usdcMintstring | null
Not used in v1
vaultAuthoritystring
The one address that owns every vault; left out of every holder payout
presetsobject[]
Expiry presets
presets[].keystring
presets[].secsinteger
presets[].labelstring
presets[].defboolean
minExpirySecsinteger
maxExpirySecsinteger
maxOffsetBpsinteger
Market offset bound either way
slippageBpsinteger
Room added to a market fill's price limit
farBpsinteger
How far from market a price is before the page asks to confirm
originstring
The site private offer links open on