---
title: "Get All Standing Orders"
method: POST
path: "/get-all"
tags: ["Consumer"]
---

# Get All Standing Orders

`POST /get-all`

Fetch all standing orders

## Request body

- GetStandingOrderRequest
  - `userId` string, required — Unique user ID for whom to fetch records
  - `startDate` string, unix-timestamp, required — Unix timestamp of the start date
  - `endDate` string, unix-timestamp, required — Unix timestamp of the end date
  - `page` number, required — Page number
  - `limit` number — Number of records per page

## Response `201`

success

- GetStandingOrderResponse
  - `orders` StandingOrderResult[], required
    - `id` string — The unique identifier for the standing order
    - `userId` string — The user ID for the standing order
    - `status` string — The status of the standing order
    - `currency` string — The destination currency of the standing order (what deposits are converted into)
    - `sourceCurrency` string — The currency of the root (debit) account this standing order draws from
    - `network` BlockchainNetwork
      - `name` string, required
      - `type` string
      - `contractAddress` string
    - `address` string — The address of the standing order
    - `proposedRate` string — The last proposed rate (if set)
    - `parentWalletId` string — The wallet ID to which the rootAccountId belongs
    - `rootAccountId` string — The root account used as the debit account for this standing order
    - `whitelistedAddressId` string — The whitelisted address ID of the standing order
    - `whitelistedIbanId` string — The whitelisted IBAN ID of the standing order
    - `iban` string — IBAN if applicable to which this SO is paid out
    - `bic` string — BIC if applicable to which this SO is paid out
    - `standingOrderDirection` 'CRYPTO_TO_FIAT' | 'FIAT_TO_CRYPTO' — Direction of the SO
    - `action` 'SWAP_ONLY' | 'SWAP_AND_WITHDRAW' — Execution mode of the SO. `SWAP_AND_WITHDRAW` performs swap then external payout. `SWAP_ONLY` performs only the swap (internal). Older SOs without this field behave as `SWAP_AND_WITHDRAW`.
    - `createdAt` string, date-time — The date and time the standing order was created
    - `lastUpdatedAt` string, date-time — The date and time the standing order was last updated
    - `swaps` TxType[] — The swaps for the standing order
      - `id` string, required
      - `accountId` string
      - `syncedOwnerId` string
      - `sourceSyncedOwnerId` string
      - `destinationSyncedOwnerId` string
      - `credit` union
        - string
        - number
      - `debit` union
        - string
        - number
      - `timestamp` string, date-time
      - `txType` string
      - `txSubType` string
      - `memo` string
      - `memoPayer` string
      - `payeeAddresses` string[]
      - `otherCryptoIdentifier` string
      - `recipientCurrency` string
      - `senderCurrency` string
      - `currency` string
      - `pending` boolean
      - `approved` boolean
      - `strigaFee` string
      - `strigaFeeCurrency` string
      - `exchangeRate` string
      - `order` object
        - `price` string
        - `debit` string
        - `credit` string
      - `balanceBefore` object
        - `amount` string
        - `balance` string
        - `currency` string
      - `balanceAfter` object
        - `amount` string
        - `balance` string
        - `currency` string
      - `relatedCardTransactionId` string
      - `isCardAuthorizationHold` boolean
      - `relatedCardId` string
      - `relatedCardSettlementId` string
      - `cardTransactionAmount` string
      - `cardTransactionCurrency` string
      - `bankingTransactionId` string
      - `bankingTransactionShortId` string
      - `bankingTransactionAmount` string
      - `bankingSenderBic` string
      - `bankingSenderIban` string
      - `bankingSenderName` string
      - `bankingPaymentType` string
      - `bankingSenderInformation` string
      - `bankingSenderRoutingCodes` string
      - `bankingSenderAccountNumber` string
      - `bankingBeneficiaryBic` string
      - `bankingBeneficiaryIban` string
      - `blockchainSourceAddress` string
      - `txHash` string
      - `blockchainDepositAddress` string
      - `blockInfo` object
        - `blockHash` string
        - `blockHeight` string
      - `blockchainConfirmations` number
      - `blockchainTransactionAmount` string
      - `error` string
      - `feeEstimate` string
      - `feeDetails` string
      - `blockchainNetwork` string
    - `payouts` TxType[] — The payouts for the standing order
      - `id` string, required
      - `accountId` string
      - `syncedOwnerId` string
      - `sourceSyncedOwnerId` string
      - `destinationSyncedOwnerId` string
      - `credit` union
        - string
        - number
      - `debit` union
        - string
        - number
      - `timestamp` string, date-time
      - `txType` string
      - `txSubType` string
      - `memo` string
      - `memoPayer` string
      - `payeeAddresses` string[]
      - `otherCryptoIdentifier` string
      - `recipientCurrency` string
      - `senderCurrency` string
      - `currency` string
      - `pending` boolean
      - `approved` boolean
      - `strigaFee` string
      - `strigaFeeCurrency` string
      - `exchangeRate` string
      - `order` object
        - `price` string
        - `debit` string
        - `credit` string
      - `balanceBefore` object
        - `amount` string
        - `balance` string
        - `currency` string
      - `balanceAfter` object
        - `amount` string
        - `balance` string
        - `currency` string
      - `relatedCardTransactionId` string
      - `isCardAuthorizationHold` boolean
      - `relatedCardId` string
      - `relatedCardSettlementId` string
      - `cardTransactionAmount` string
      - `cardTransactionCurrency` string
      - `bankingTransactionId` string
      - `bankingTransactionShortId` string
      - `bankingTransactionAmount` string
      - `bankingSenderBic` string
      - `bankingSenderIban` string
      - `bankingSenderName` string
      - `bankingPaymentType` string
      - `bankingSenderInformation` string
      - `bankingSenderRoutingCodes` string
      - `bankingSenderAccountNumber` string
      - `bankingBeneficiaryBic` string
      - `bankingBeneficiaryIban` string
      - `blockchainSourceAddress` string
      - `txHash` string
      - `blockchainDepositAddress` string
      - `blockInfo` object
        - `blockHash` string
        - `blockHeight` string
      - `blockchainConfirmations` number
      - `blockchainTransactionAmount` string
      - `error` string
      - `feeEstimate` string
      - `feeDetails` string
      - `blockchainNetwork` string
  - `total` number, required
  - `count` number, required

## Other responses

- `400` — Bad Request. The request was unacceptable, often due to missing a required parameter.
- `401` — Invalid authentication header
- `500` — Unexpected server error.

---

[API](https://skmtc.net/striga/apis/striga-v1.md) · [All operations](https://skmtc.net/striga/apis/striga-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/striga/striga-v1/revisions/63e57aa7df45/schema)
