Skip to main content
POST
/
ws
/
fundingPaymentsPerps
Subscribe: Perps Funding Payments
curl --request POST \
  --url wss://api.ondoperps.xyz/ws/fundingPaymentsPerps \
  --header 'Content-Type: application/json' \
  --data '
{
  "op": "subscribe",
  "channel": "fundingPaymentsPerps"
}
'
{
  "data": {
    "market": "AAPL-USD.P",
    "time": "2023-11-07T05:31:56Z",
    "markPrice": "227.50",
    "positionSize": "10.00",
    "rate": "0.0000125",
    "amount": "-0.02844"
  }
}

Body

application/json
op
enum<string>
required

Operation type.

Available options:
subscribe,
unsubscribe
Example:

"subscribe"

channel
enum<string>
required

Channel for this subscription.

Available options:
fundingPaymentsPerps
Example:

"fundingPaymentsPerps"

Response

200 - application/json

Channel update for fundingPaymentsPerps

type
enum<string>
Available options:
update
channel
enum<string>
Available options:
fundingPaymentsPerps
data
object