Analytics

Get Top Payment Methods

Changed on

Retrieves the top 10 payment methods by revenue.

get/v1/shops/{shopId}/analytics/top-payment-methods

Request

Response

idinteger
typestring
namestring
iconstring nullable
total_ordersinteger
total_revenue_usdnumber

Example response

[
  {
    "id": 1,
    "type": "stripe",
    "name": "Stripe",
    "icon": null,
    "total_orders": 1,
    "total_revenue_usd": 14.99
  }
]

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status