Skip to main content
GET
/
profiles
/
partner-accounts
/
{profileId}
/
allowances
Check partner account allowances
curl --request GET \
  --url https://api.limitless.exchange/profiles/partner-accounts/{profileId}/allowances \
  --header 'lmts-api-key: <api-key>'
{
  "profileId": 4543,
  "partnerProfileId": 4430,
  "chainId": 84532,
  "walletAddress": "0x1a665817f063Ee15C6C2c05D4315982145825C3D",
  "ready": false,
  "summary": {
    "total": 10,
    "confirmed": 2,
    "missing": 0,
    "submitted": 8,
    "failed": 0
  },
  "targets": [
    {
      "type": "USDC_ALLOWANCE",
      "tokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "spenderOrOperator": "0x54d696A602343063000B25a51734E3BbE0Ec80a2",
      "label": "ctf-exchange",
      "requiredFor": "BUY",
      "confirmed": false,
      "status": "submitted",
      "retryable": true,
      "transactionId": "tx_abc123",
      "txHash": "0xabc123...",
      "userOperationHash": "0xdef456...",
      "errorCode": "RPC_READ_FAILED",
      "errorMessage": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://limitless-docs-ws-settlement-events.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Requires HMAC authentication with the account_creation and delegated_signing scopes. API key auth and Privy auth are not accepted.
Checks delegated-trading allowance readiness for a partner-created server-wallet sub-account. The response is based on live chain reads.
  • Route: GET /profiles/partner-accounts/:profileId/allowances
  • Auth: HMAC api-token auth
  • Scopes: account_creation + delegated_signing
  • profileId: child/server-wallet profile id that belongs to the authenticated partner

Path parameters

ParameterTypeRequiredDescription
profileIdnumberYesPartner sub-account profile id for the server-wallet child account.

Response

{
  "profileId": 4543,
  "partnerProfileId": 4430,
  "chainId": 84532,
  "walletAddress": "0x1a665817f063Ee15C6C2c05D4315982145825C3D",
  "ready": false,
  "summary": {
    "total": 10,
    "confirmed": 0,
    "missing": 2,
    "submitted": 0,
    "failed": 8
  },
  "targets": [
    {
      "type": "USDC_ALLOWANCE",
      "tokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "spenderOrOperator": "0x54d696A602343063000B25a51734E3BbE0Ec80a2",
      "label": "ctf-exchange",
      "requiredFor": "BUY",
      "confirmed": false,
      "status": "missing",
      "retryable": true
    }
  ]
}

Response fields

FieldTypeDescription
profileIdnumberChild/server-wallet profile id being checked.
partnerProfileIdnumberAuthenticated parent partner profile id.
chainIdnumberChain where allowance targets were checked.
walletAddressstringManaged server-wallet address for the child profile.
readybooleantrue when every target is confirmed on chain.
summary.totalnumberTotal target count.
summary.confirmednumberTargets confirmed on chain.
summary.missingnumberTargets still missing.
summary.submittednumberTargets submitted by the current retry response. For GET responses this is usually 0.
summary.failednumberTargets whose latest live read or retry state failed.
targets[]arrayPer-target allowance or approval state.

Target fields

FieldTypeDescription
typeUSDC_ALLOWANCE | CTF_APPROVALTarget category.
tokenAddressstringERC20 or conditional-token contract address.
spenderOrOperatorstringAllowance spender or operator address.
labelstringHuman-readable target label.
requiredForBUY | SELLTrading side that requires this approval.
confirmedbooleanWhether this target is confirmed on chain.
statusconfirmed | missing | submitted | failedCurrent target status.
retryablebooleanWhether POST /retry may attempt this target.
transactionIdstringOptional sponsored transaction id when submitted.
txHashstringOptional transaction hash when available.
userOperationHashstringOptional user operation hash when available.
errorCodestringOptional machine-readable failure code, such as RPC_READ_FAILED.
errorMessagestringOptional human-readable failure message.
  1. Poll this endpoint.
  2. If ready=true, continue with delegated trading.
  3. If targets are missing or failed and retryable=true, call Retry Partner Account Allowances.
  4. If retry submits targets, poll this endpoint again after a short delay.

Example

curl "https://api.limitless.exchange/profiles/partner-accounts/4543/allowances" \
  -H "lmts-api-key: <tokenId>" \
  -H "lmts-signature: <base64_hmac_sha256_signature>" \
  -H "lmts-timestamp: <iso_8601_timestamp>"

Authorizations

lmts-api-key
string
header
required

Scoped API token with HMAC-SHA256 signing. Requires three headers: lmts-api-key (token ID), lmts-timestamp (ISO-8601), lmts-signature (Base64-encoded HMAC). See Authentication docs for details.

Path Parameters

profileId
integer
required

Partner sub-account profile ID for the server-wallet child account.

Response

Live allowance state for the server-wallet child profile

profileId
integer
required

Child/server-wallet profile ID being checked

Example:

4543

partnerProfileId
integer
required

Authenticated parent partner profile ID

Example:

4430

chainId
integer
required

Chain where allowance targets were checked

Example:

84532

walletAddress
string
required

Managed server-wallet address for the child profile

Example:

"0x1a665817f063Ee15C6C2c05D4315982145825C3D"

ready
boolean
required

True when every target is confirmed on chain

Example:

false

summary
object
required
targets
object[]
required