Skip to content

Commit

Permalink
Update OpenAPI docs to v2.11.1
Browse files Browse the repository at this point in the history
  • Loading branch information
circle-github-action-bot committed Sep 23, 2024
1 parent 3d6936a commit 09512ab
Show file tree
Hide file tree
Showing 4 changed files with 672 additions and 0 deletions.
200 changes: 200 additions & 0 deletions openapi/json/account.json
Original file line number Diff line number Diff line change
Expand Up @@ -2104,6 +2104,110 @@
}
}
}
},
"/v1/fees/redemption/net/dailyReports": {
"get": {
"security": [
{
"bearerAuth": []
}
],
"parameters": [
{
"name": "minimumFeeAmount",
"description": "Filters out NET burn daily fee calculations below minimumFeeAmount value.",
"in": "query",
"required": false,
"schema": {
"type": "string",
"example": "3.14"
}
},
{
"$ref": "#/components/parameters/Currency"
},
{
"$ref": "#/components/parameters/From"
},
{
"$ref": "#/components/parameters/To"
},
{
"$ref": "#/components/parameters/PageBefore"
},
{
"$ref": "#/components/parameters/PageAfter"
},
{
"$ref": "#/components/parameters/PageSize"
}
],
"summary": "List all NET burn daily fee calculations",
"description": "Searches for NET burn fee daily calculations. This endpoint returns up to 50 daily fee amount calculations in descending chronological order or pageSize, if provided.",
"operationId": "listNetBurnFeeDailyCalculations",
"tags": [
"Payouts"
],
"responses": {
"200": {
"description": "Successfully retrieved a list of NET burn fee calculations.",
"headers": {
"X-Request-Id": {
"$ref": "#/components/headers/XRequestId"
}
},
"content": {
"application/json": {
"schema": {
"title": "ListBurnFeeCalculationsResponse",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RedemptionFeeCalculation"
}
}
}
},
"examples": {
"response": {
"value": {
"data": [
{
"id": "b8627ae8-732b-4d25-b947-1df8f4007a29",
"fee": {
"amount": "3.14",
"currency": "USD"
},
"cumulatedPayoutAmount": {
"amount": "64.54",
"currency": "USD"
},
"cumulatedPaymentAmount": {
"amount": "34.54",
"currency": "USD"
},
"cumulatedNetAmount": {
"amount": "30.00",
"currency": "USD"
},
"valueDate": "2023-05-23",
"status": "paid",
"thresholdResetTimestamp": "2023-05-23T23:59:59.999Z",
"createDate": "2024-04-10T02:13:30.000Z"
}
]
}
}
}
}
}
},
"401": {
"$ref": "#/components/responses/NotAuthorized"
}
}
}
}
},
"components": {
Expand Down Expand Up @@ -3801,6 +3905,102 @@
"example": "CIRCLE INTERNET FINANCIAL INC"
}
}
},
"BurnFeePayoutAmount": {
"type": "object",
"required": [
"amount",
"currency"
],
"properties": {
"amount": {
"description": "Sum of all initiated payouts, in units of the currency, with a `.`.",
"type": "string",
"example": "3.14"
},
"currency": {
"$ref": "#/components/schemas/FiatCurrency"
}
}
},
"BurnFeePaymentAmount": {
"type": "object",
"required": [
"amount",
"currency"
],
"properties": {
"amount": {
"description": "Sum of all push payments received, in units of the currency, with a `.`.",
"type": "string",
"example": "3.14"
},
"currency": {
"$ref": "#/components/schemas/FiatCurrency"
}
}
},
"BurnFeeNetAmount": {
"type": "object",
"required": [
"amount",
"currency"
],
"properties": {
"amount": {
"description": "Sum of all initiated payouts minus sum of all received push payments, in units of the currency, with a `.`.",
"type": "string",
"example": "3.14"
},
"currency": {
"$ref": "#/components/schemas/FiatCurrency"
}
}
},
"RedemptionFeeCalculation": {
"type": "object",
"description": "A NET burn fee calculation for a day.",
"properties": {
"id": {
"$ref": "#/components/schemas/Id"
},
"fee": {
"$ref": "#/components/schemas/FiatMoney"
},
"cumulatedPayoutAmount": {
"$ref": "#/components/schemas/BurnFeePayoutAmount"
},
"cumulatedPaymentAmount": {
"$ref": "#/components/schemas/BurnFeePaymentAmount"
},
"cumulatedNetAmount": {
"$ref": "#/components/schemas/BurnFeeNetAmount"
},
"valueDate": {
"description": "A date representing a day for which a fee is calculated.",
"type": "string",
"example": "2023-05-23"
},
"status": {
"description": "Fee collection status",
"type": "string",
"enum": [
"scheduled",
"pending",
"paid"
]
},
"thresholdResetTimestamp": {
"description": "Fee calculation reset timestamp.",
"type": "string",
"example": "2023-05-23T23:59:59.999Z"
},
"createDate": {
"description": "The create date of the NET burn daily fee calculation.",
"type": "string",
"format": "date-time"
}
}
}
},
"responses": {
Expand Down
Loading

0 comments on commit 09512ab

Please sign in to comment.