Standing Order Webhook Sequence

A standing order when created automatically executes a sequence of swap + withdrawal without requiring further user interaction.

For example, below is a sequence of events for a standing order created for an off-ramp flow, i.e. incoming crypto is converted into fiat and paid out to a whitelisted IBAN. To set this up -

  1. Whitelist a destination IBAN (You may want to use the "Validate SEPA Beneficiary" endpoint to ensure that the IBAN is valid).
  2. Use the whitelisted IBAN id and an enriched source account ID (Must be a crypto currency for this direction) in the "Create Standing Order" API.
  3. Confirm the standing order by entering the OTP that your user received.

Where possible, a standingOrderSpanId is present linking the sequence of events in a standing order. If the Standing Order fails at the currency swap step, you can call the "Resume Standing Order" API to retry the flow, however the span ID will not be preserved as these are two distinct events. The associated standingOrderId however will be present.

{
  "uid": "e41c7f59-c0bc-4dff-ae2e-24088d04fc16",
  "type": "ON_CHAIN_DEPOSIT_CONFIRMED",
  "id": "44e68fef-bbd6-48d7-9f22-bf7ca16cf03f",
  "accountId": "3f3ddeaf4a63bfa10710eaa273487e9a",
  "syncedOwnerId": "5ed0e4a0-3943-443b-a7bb-77d5bc100c53",
  "sourceSyncedOwnerId": "5ed0e4a0-3943-443b-a7bb-77d5bc100c53",
  "credit": "3000000000000000",
  "timestamp": "2025-08-10T08:54:41.673Z",
  "txType": "ON_CHAIN_DEPOSIT_CONFIRMED",
  "memo": "0.003 ETH CONFIRMED 0xc5df5117e54dd50fd489cb1b315ec653bf981db16645c5cd3ca202df7d4d210d",
  "currency": "ETH",
  "exchangeRate": "3346.43",
  "balanceBefore": {
    "amount": "5946770457633720",
    "balance": "5946770457633720",
    "currency": "wei"
  },
  "balanceAfter": {
    "amount": "8946770457633720",
    "balance": "8946770457633720",
    "currency": "wei"
  },
  "blockchainSourceAddress": "0x712073F86D2ad7EEd23a3F7683aa6145042B81Cf",
  "txHash": "0xc5df5117e54dd50fd489cb1b315ec653bf981db16645c5cd3ca202df7d4d210d",
  "blockchainDepositAddress": "0xB1CA540F816fD7bEf9461994e9C07E9109093A56",
  "blockchainConfirmations": 1,
  "blockchainTransactionAmount": "3000000000000000",
  "blockchainNetwork": "Ethereum Test (Sepolia)",
  "ts": 1754816085021
}
{
  "uid": "ad3122f9-815d-4f49-8cdb-92276fad9f8f",
  "type": "CURRENCY_EXCHANGE",
  "id": "ba497df0-06b1-42b2-8269-524b43b6cabc",
  "accountId": "3f3ddeaf4a63bfa10710eaa273487e9a",
  "syncedOwnerId": "5ed0e4a0-3943-443b-a7bb-77d5bc100c53",
  "sourceSyncedOwnerId": "5ed0e4a0-3943-443b-a7bb-77d5bc100c53",
  "destinationSyncedOwnerId": "5ed0e4a0-3943-443b-a7bb-77d5bc100c53",
  "debit": "8946770457633720",
  "timestamp": "2025-08-10T08:54:46.995Z",
  "txType": "EXCHANGE_DEBIT",
  "txSubType": "CURRENCY_EXCHANGE_PENDING",
  "memo": "Swap 0.00894677045763372 ETH to EUR",
  "memoPayer": "STANDING_ORDER_0581efb8-6617-48b9-a1d7-a37ebeb224cc_CRYPTO_TO_FIAT_3ed1a5df-40c9-49ba-9b88-186fc7551b19",
  "currency": "ETH",
  "exchangeRate": "3346.43",
  "standingOrderId": "0581efb8-6617-48b9-a1d7-a37ebeb224cc",
  "standingOrderSpanId": "3ed1a5df-40c9-49ba-9b88-186fc7551b19",
  "order": {
    "price": "3329.69",
    "debit": {
      "currency": "ETH",
      "amountFloat": "0.00894677045763372",
      "amount": "8946770457633720"
    },
    "credit": {
      "currency": "EUR",
      "amountFloat": "29.78",
      "amount": "2978"
    }
  },
  "balanceBefore": {
    "amount": "8946770457633720",
    "balance": "8946770457633720",
    "currency": "wei"
  },
  "balanceAfter": {
    "amount": "0",
    "balance": "0",
    "currency": "wei"
  },
  "feeEstimate": {
    "totalFee": "0",
    "networkFee": "0",
    "ourFee": "0",
    "theirFee": "0",
    "feeCurrency": "ETH",
    "fixedFeeDetails": {
      "amount": "0",
      "exchangeRate": "0"
    },
    "percentageFeeDetails": {
      "amount": "0"
    }
  },
  "ts": 1754816091840
}
{
  "uid": "26ca0404-95ea-4b3f-9191-bd83280fedce",
  "type": "CURRENCY_EXCHANGE",
  "id": "ba497df0-06b1-42b2-8269-524b43b6cabc",
  "accountId": "91559a0e294a361a7b23f4ff7e542bd1",
  "syncedOwnerId": "5ed0e4a0-3943-443b-a7bb-77d5bc100c53",
  "sourceSyncedOwnerId": "5ed0e4a0-3943-443b-a7bb-77d5bc100c53",
  "destinationSyncedOwnerId": "5ed0e4a0-3943-443b-a7bb-77d5bc100c53",
  "credit": "2978",
  "timestamp": "2025-08-10T08:54:49.122Z",
  "txType": "EXCHANGE_CREDIT",
  "txSubType": "CURRENCY_EXCHANGE_CONFIRMED",
  "memo": "Swap 0.00894677045763372 ETH to EUR",
  "memoPayer": "STANDING_ORDER_0581efb8-6617-48b9-a1d7-a37ebeb224cc_CRYPTO_TO_FIAT_3ed1a5df-40c9-49ba-9b88-186fc7551b19",
  "currency": "EUR",
  "exchangeRate": "3329.69",
  "standingOrderId": "0581efb8-6617-48b9-a1d7-a37ebeb224cc",
  "standingOrderSpanId": "3ed1a5df-40c9-49ba-9b88-186fc7551b19",
  "order": {
    "price": "3329.69",
    "debit": {
      "currency": "ETH",
      "amountFloat": "0.00894677045763372",
      "amount": "8946770457633720"
    },
    "credit": {
      "currency": "EUR",
      "amountFloat": "29.78",
      "amount": "2978"
    }
  },
  "balanceBefore": {
    "amount": "48000",
    "balance": "48000",
    "currency": "cents"
  },
  "balanceAfter": {
    "amount": "50978",
    "balance": "50978",
    "currency": "cents"
  },
  "feeEstimate": {
    "totalFee": "0",
    "networkFee": "0",
    "ourFee": "0",
    "theirFee": "0",
    "feeCurrency": "ETH",
    "fixedFeeDetails": {
      "amount": "0",
      "exchangeRate": "0"
    },
    "percentageFeeDetails": {
      "amount": "0"
    }
  },
  "ts": 1754816092102
}
{
  "uid": "c1f5bd3d-6304-47e7-bd2f-8dc74ce9cbe9",
  "type": "SEPA_PAYOUT_INITIATED",
  "id": "7a9e1a63-6c88-4953-af9e-92ced4e93846",
  "accountId": "91559a0e294a361a7b23f4ff7e542bd1",
  "syncedOwnerId": "5ed0e4a0-3943-443b-a7bb-77d5bc100c53",
  "sourceSyncedOwnerId": "5ed0e4a0-3943-443b-a7bb-77d5bc100c53",
  "debit": "50978",
  "timestamp": "2025-08-10T08:54:56.643Z",
  "txType": "SEPA_PAYOUT_INITIATED",
  "memo": "SEPA_PAYOUT_INITIATED 509.78 EUR wwhgYmv6Am",
  "currency": "EUR",
  "exchangeRate": "1",
  "standingOrderId": "0581efb8-6617-48b9-a1d7-a37ebeb224cc",
  "standingOrderSpanId": "3ed1a5df-40c9-49ba-9b88-186fc7551b19",
  "balanceBefore": {
    "amount": "50978",
    "balance": "50978",
    "currency": "cents"
  },
  "balanceAfter": {
    "amount": "0",
    "balance": "0",
    "currency": "cents"
  },
  "bankingTransactionShortId": "20250810-PCXPHE",
  "bankingTransactionAmount": "509.78",
  "bankingSenderBic": "SEOUGB21",
  "bankingSenderIban": "GB36SEOU19870010401530",
  "bankingSenderName": "John Doe",
  "bankingPaymentType": "SEPA",
  "bankingBeneficiaryBic": "EEUHEE2X",
  "bankingBeneficiaryIban": "EE351010052031000004",
  "feeEstimate": {
    "totalFee": "0",
    "networkFee": "0",
    "ourFee": "0",
    "theirFee": "0",
    "feeCurrency": "EUR",
    "fixedFeeDetails": {
      "amount": "0",
      "exchangeRate": "0"
    },
    "percentageFeeDetails": {
      "amount": "0"
    }
  },
  "ts": 1754816102399
}