OTC Trades FOP
Retrieve a list of OTC Trades FOP available in the system
Strategy applied when filtering/searching on multiple fields
ORPossible values: Array of fields and directions to order. Supported fields: createdAt, status, amount
Successfully retrieved a list of items.
GET /otc-trades-fop HTTP/1.1
Host:
Accept: */*
Successfully retrieved a list of items.
{
"pagination": {
"size": 10,
"page": 1,
"totalItems": 25,
"totalPages": 3
},
"items": [
{
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z",
"id": "b046afb3-01f2-417b-8c60-a9e531e76c45",
"status": "initiated",
"assetId": "c6dbe04e-3f1e-4bbb-9601-043d61bef062",
"amount": 200,
"initiatorAccountAddress": "text",
"initiatorBrokerId": "7d3a33ef-fea9-4eb0-a4dd-1c770baffdf4",
"acceptorAccountAddress": "text",
"acceptorBrokerId": "30faf888-1597-4f65-a231-3e69d9e9db47",
"reason": "internal",
"tradedAt": "2025-10-26T12:01:29.078Z"
}
]
}Initiate a Free-of-Payment Over-The-Counter trade, between two accounts
Initiator account address
r[0-9a-zA-Z]{24,34}Initiator sending asset id
6cd122ad-8f44-4e56-ad25-4a51b5ac0ceaInitiator sending asset amount in units
200Accepter account address
r[0-9a-zA-Z]{24,34}Reason for this trade, required for currency transactions
Trade day in ISO 8601 format YYYY-MM-DD or YYYY-MM-DDTHH:mm:ss.SSSZ
2037-10-01Initiated FOP OTC trade
POST /otc-trades-fop HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 169
{
"initiatorAccountAddress": "text",
"assetId": "6cd122ad-8f44-4e56-ad25-4a51b5ac0cea",
"amount": 200,
"acceptorAccountAddress": "text",
"reason": "error",
"tradedAt": "2037-10-01"
}Initiated FOP OTC trade
{
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z",
"id": "b046afb3-01f2-417b-8c60-a9e531e76c45",
"status": "initiated",
"assetId": "c6dbe04e-3f1e-4bbb-9601-043d61bef062",
"amount": 200,
"initiatorAccountAddress": "text",
"initiatorBrokerId": "7d3a33ef-fea9-4eb0-a4dd-1c770baffdf4",
"acceptorAccountAddress": "text",
"acceptorBrokerId": "30faf888-1597-4f65-a231-3e69d9e9db47",
"reason": "internal",
"tradedAt": "2025-10-26T12:01:29.078Z"
}Get OTC Trade as FOP.
UUIDv4 of OTC FOP Trade
2a50bfbf-5962-4b3f-94d8-5a95a7342001Retrieve full information about a single OTC Trade Fop
GET /otc-trades-fop/{otcTradeFopId} HTTP/1.1
Host:
Accept: */*
Retrieve full information about a single OTC Trade Fop
{
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z",
"id": "b046afb3-01f2-417b-8c60-a9e531e76c45",
"status": "initiated",
"assetId": "c6dbe04e-3f1e-4bbb-9601-043d61bef062",
"amount": 200,
"initiatorAccountAddress": "text",
"initiatorBrokerId": "7d3a33ef-fea9-4eb0-a4dd-1c770baffdf4",
"acceptorAccountAddress": "text",
"acceptorBrokerId": "30faf888-1597-4f65-a231-3e69d9e9db47",
"reason": "internal",
"tradedAt": "2025-10-26T12:01:29.078Z"
}Accept/Cancel/Reject a Free-Of-Payment Over-The-Counter trade
UUIDv4 of OTC FOP Trade
e1563fd5-962c-44d9-881c-3e2b6551e262Status of the trade
completedPossible values: Changed FOP OTC trade
PATCH /otc-trades-fop/{otcTradeFopId} HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 22
{
"status": "completed"
}Changed FOP OTC trade
{
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z",
"id": "b046afb3-01f2-417b-8c60-a9e531e76c45",
"status": "initiated",
"assetId": "c6dbe04e-3f1e-4bbb-9601-043d61bef062",
"amount": 200,
"initiatorAccountAddress": "text",
"initiatorBrokerId": "7d3a33ef-fea9-4eb0-a4dd-1c770baffdf4",
"acceptorAccountAddress": "text",
"acceptorBrokerId": "30faf888-1597-4f65-a231-3e69d9e9db47",
"reason": "internal",
"tradedAt": "2025-10-26T12:01:29.078Z"
}