v1

latestOpenAPI 3.0.02026-07-26103425558.9 KB
Settlement Rules

List all settlement rules

List all settlement rules available for virtual accounts.

get/v2/virtual-accounts/settlement-rules

Query parameters

limitstring

Number of settlement rules to return, default to 10 maximum to 100

createdBeforestring

Return the settlement rules that created before this date

createdAfterstring

Return the settlement rules that created after this date

chain'BASE' | 'POLYGON' | 'ETHEREUM' | 'SOLANA' | 'TRON'

Return the settlement rules that are created on this chain

Response

Success

countinteger required

Total number of settlement rules

nextCursorstring nullable

Cursor for pagination to the next page of results

Example response

{
  "rules": [
    {
      "id": "15c786fb-de7a-520c-a4b3-f312d4a122d2",
      "chain": "BASE",
      "rules": [
        {
          "type": "PERCENTAGE",
          "calculationModel": "FIXED",
          "value": 0.001,
          "tiers": [
            {
              "min": "1000",
              "max": "2000",
              "value": 0.0005
            }
          ],
          "walletAddress": "0x15FB50680fEB2f726413416665c25f9B397b047b"
        }
      ]
    }
  ]
}