Skip to content

Revenue for a Merchant #29

@nicorithner

Description

@nicorithner

This endpoint should return the total revenue for a single merchant.

The URI should follow this pattern: GET /api/v1/merchants/:id/revenue

Example JSON response for GET /api/v1/merchants/1/revenue

{
  "data": {
    "id": null,
    "attributes": {
      "revenue"  : 43201227.8000003
    }
  }
}

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions