Skip to main content
POST
/
consumer
/
v1
/
bootstrap
Bootstrap consumer API access
curl --request POST \
  --url https://api.machines.cash/consumer/v1/bootstrap \
  --header 'Content-Type: application/json' \
  --data '
{
  "address": "0x0000000000000000000000000000000000000000",
  "signature": "0xabc",
  "nonce": "nonce_123",
  "issuedAt": "2026-02-13T00:00:00.000Z",
  "expiresAt": "2026-02-13T00:05:00.000Z"
}
'
{
  "ok": true,
  "data": {},
  "summary": "success"
}

Body

application/json
address
string
required
signature
string
required
nonce
string
required
issuedAt
string<date-time>
required
expiresAt
string<date-time>
required
connector
string
chainId
string
walletLabel
string
scopes
enum<string>[]
Available options:
users.read,
users.write,
kyc.read,
kyc.write,
agreements.read,
agreements.write,
onboarding.read,
onboarding.write,
cards.read,
cards.write,
cards.secrets.read,
folders.read,
folders.write,
balances.read,
contracts.read,
contracts.write,
deposits.read,
deposits.write,
deposits-swapped.read,
deposits-swapped.write,
withdrawals.write,
transactions.read,
tokens.read,
encryption.read,
encryption.write,
identity.read,
identity.write,
payments.read,
payments.write,
subscriptions.read,
subscriptions.write,
notifications.read,
notifications.write,
referrals.read,
referrals.write,
bills.read,
bills.write,
support.read,
spotlight.read,
keys.read,
keys.write,
sessions.write
sessionScopes
enum<string>[]
Available options:
users.read,
users.write,
kyc.read,
kyc.write,
agreements.read,
agreements.write,
onboarding.read,
onboarding.write,
cards.read,
cards.write,
cards.secrets.read,
folders.read,
folders.write,
balances.read,
contracts.read,
contracts.write,
deposits.read,
deposits.write,
deposits-swapped.read,
deposits-swapped.write,
withdrawals.write,
transactions.read,
tokens.read,
encryption.read,
encryption.write,
identity.read,
identity.write,
payments.read,
payments.write,
subscriptions.read,
subscriptions.write,
notifications.read,
notifications.write,
referrals.read,
referrals.write,
bills.read,
bills.write,
support.read,
spotlight.read,
keys.read,
keys.write,
sessions.write
sessionTtlSeconds
integer
Required range: 60 <= x <= 86400
policy
object
sessionPolicy
object

Response

Success

consumerApiKey
string
required
consumerKeyId
string
required
sessionToken
string
required
sessionId
string
required
walletAddress
string
required
expiresAt
string<date-time>
required
scopes
enum<string>[]
required
Available options:
users.read,
users.write,
kyc.read,
kyc.write,
agreements.read,
agreements.write,
onboarding.read,
onboarding.write,
cards.read,
cards.write,
cards.secrets.read,
folders.read,
folders.write,
balances.read,
contracts.read,
contracts.write,
deposits.read,
deposits.write,
deposits-swapped.read,
deposits-swapped.write,
withdrawals.write,
transactions.read,
tokens.read,
encryption.read,
encryption.write,
identity.read,
identity.write,
payments.read,
payments.write,
subscriptions.read,
subscriptions.write,
notifications.read,
notifications.write,
referrals.read,
referrals.write,
bills.read,
bills.write,
support.read,
spotlight.read,
keys.read,
keys.write,
sessions.write
userId
string | null