Settlement Rules

Retrieve a settlement rule

Changed on

Get an existing settlement rule detail.

get/v2/virtual-accounts/settlement-rules/{ruleId}

Request

  • Base URL
    https://production.hifibridge.com
  • URL
    https://production.hifibridge.com/v2/virtual-accounts/settlement-rules/{ruleId}
  • Auth
    HTTP bearer

Path parameters

ruleIdstring required

ID of the settlement rule

Response

Success

idstring required

Unique identifier for the settlement rule

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

Blockchain network for the settlement rule

includeHIFIFeeboolean required

Whether to include HiFi's fee in addition to custom rules, please contact HiFi support if you want to include HiFi's fee

Example response

{
  "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",
      "trigger": {
        "paymentRail": [
          "ACH"
        ]
      }
    }
  ]
}

Changes

    • warning

      added the new ARC enum value to the response property for the response status

    • info

      added the optional property // to the response with the status