CorebanqCorebanq Developer Docs
FXv2

Get spread rule history

Retrieve the change history for a specific spread rule

GET/v2/fx/spreads/{id}/history

Path Parameters

id*string

Query Parameters

action?string

Filter by action type (create, update, delete)

Response Body

application/json

curl -X GET "https://example.com/v2/fx/spreads/497f6eca-6276-4993-bfeb-53cbbbba6f08/history"
[
  {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "spread_rule_id": "28d9bf19-dcef-4542-aa5e-139adf85f95e",
    "fx_tariff_id": "f12d958c-c80c-4752-862c-9e0c09506488",
    "provider": "string",
    "base_currency": "string",
    "target_currency": "string",
    "rate_type": "BUY",
    "bid_spread_bps": 0,
    "ask_spread_bps": 0,
    "effective_from": "2019-08-24T14:15:22Z",
    "effective_to": "2019-08-24T14:15:22Z",
    "priority": 0,
    "active": true,
    "reason": "string",
    "changed_at": "2019-08-24T14:15:22Z",
    "changed_by": "3e89c7a5-3fa2-4d93-b1c0-5c0519bb2681",
    "action": "create"
  }
]
Empty
Empty
Empty