API reference · OTC
Get the locker settings
GET
https://payday.direct/api/otc/configWhich 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
okbooleancluster"devnet" | "mainnet"programIdstringThe locker program
readybooleanThe program's config exists on this network
pausedbooleanNew listings and fills are paused; cancel and return still work
feeBpsintegerFee on a fill in basis points (500 = 5%)
usdcMintstring | nullNot used in v1
vaultAuthoritystringThe one address that owns every vault; left out of every holder payout
presetsobject[]Expiry presets
presets[].keystringpresets[].secsintegerpresets[].labelstringpresets[].defbooleanminExpirySecsintegermaxExpirySecsintegermaxOffsetBpsintegerMarket offset bound either way
slippageBpsintegerRoom added to a market fill's price limit
farBpsintegerHow far from market a price is before the page asks to confirm
originstringThe site private offer links open on