Settlement Rules
Create a settlement rule
Changed onCreate a new settlement rule for virtual accounts. Settlement rules define how fees are calculated and distributed when processing an onramp transaction.
post/v2/virtual-accounts/settlement-rules
Request
- Base URLhttps://production.hifibridge.com
- URLhttps://production.hifibridge.com/v2/virtual-accounts/settlement-rules
- AuthHTTP bearer
Request body
Example request
{
"requestId": "{{$guid}}",
"chain": "BASE",
"rules": [
{
"type": "PERCENTAGE",
"calculationModel": "FIXED",
"value": 0.001,
"tiers": [
{
"min": "1000",
"max": "2000",
"value": 0.0005
}
],
"walletAddress": "0x15FB50680fEB2f726413416665c25f9B397b047b",
"trigger": {
"paymentRail": [
"ACH"
]
}
}
]
}Response
Success
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
ARCenum value to theresponse property for the response status - info
added the new optional request property
// - info
added the new
ARCenum value to the request property - info
added the optional property
//to the response with the status
- warning