Skip to content
Payments docs are in beta — the OpenAPI contract is the source of truth.API reference
VortexPayments
Esc
↑↓navigate↵open⌘Jpreview

GET /v1/merchant-accounts/{merchantAccountId}/platform-earnings

GET/v1/merchant-accounts/{merchantAccountId}/platform-earnings
Authorization
x-api-keyAPI key · headerrequired
or
AuthorizationBearer token · headerrequired
Path parameters
merchantAccountIdstringrequired
min length 1
Query parameters
environmentstring
Allowed:sandboxproduction
fromstring
min length 1
tostring
min length 1
Responses
200

Success

dataobjectrequired
Show properties
platformMerchantAccountIdstringrequired
min length 1
environmentstringrequired
Allowed:sandboxproduction
fromstring | null
Show properties
Any of:
string
string
null
null
tostring | null
Show properties
Any of:
string
string
null
null
itemsobject[]required
Show properties
Array of object
merchantAccountIdstringrequired
min length 1
currencystringrequired
capturedCountnumberrequired
capturedVolumenumberrequired
platformFeesCollectednumberrequired
applicationFeeCreditsnumberrequired
applicationFeeDebitsnumberrequired
netRevenuenumberrequired
requestIdstringrequired
min length 1
Try it
Server
Authorization
Parameters
Request
curl "https://api.vortex.nyc/v1/merchant-accounts/:merchantAccountId/platform-earnings?environment=...&from=...&to=..." \
  -X GET \
  -H "Authorization: Bearer $VORTEX_API_KEY" \
Response
{
  "data": {
    "platformMerchantAccountId": "string",
    "environment": "sandbox",
    "from": "string",
    "to": "string",
    "items": [
      {
        "merchantAccountId": "string",
        "currency": "string",
        "capturedCount": 0,
        "capturedVolume": 0,
        "platformFeesCollected": 0,
        "applicationFeeCredits": 0,
        "applicationFeeDebits": 0,
        "netRevenue": 0
      }
    ]
  },
  "requestId": "string"
}