Merchant transaction

Get transactions summary

Get a summary of a merchant's transactions.

get/v1/merchants/{merchantId}/transactions-totals

Request

  • Base URL
    https://sandbox.pismolabs.io/merchants
  • URL
    https://sandbox.pismolabs.io/merchants/v1/merchants/{merchantId}/transactions-totals
  • Auth
    HTTP bearer

Path parameters

merchantIdinteger required
Example:1

Merchant ID

Query parameters

startPaymentDatestring date
Example:2020-01-01

Scheduled payment start date. Find scheduled payments between this date and endPaymentDate. Format = yyyy-mm-dd.

endPaymentDatestring date
Example:2020-01-02

Scheduled payment end date. Format = yyyy-mm-dd. Find scheduled payments between startPaymentDate and this date.

marketplaceinteger
Example:1

Marketplace ID

Headers

Authorizationstring
Example:Bearer 1JI12J39182H39182JDIOAWJ%=

Authorization token. This is a regular access token, which does not need to include an account ID.

Response

OK

Example response

{
  "pending": {
    "gross": 1000.5,
    "discount": 0.5,
    "net": 1000,
    "unblocked": {
      "gross": 1000.5,
      "discount": 0.5,
      "net": 1000
    },
    "blocked": {
      "gross": 1000.5,
      "discount": 0.5,
      "net": 1000
    }
  },
  "scheduled": {
    "gross": 1000.5,
    "discount": 0.5,
    "net": 1000,
    "unblocked": {
      "gross": 1000.5,
      "discount": 0.5,
      "net": 1000
    },
    "blocked": {
      "gross": 1000.5,
      "discount": 0.5,
      "net": 1000
    }
  },
  "settled": {
    "gross": 1000.5,
    "discount": 0.5,
    "net": 1000,
    "unblocked": {
      "gross": 1000.5,
      "discount": 0.5,
      "net": 1000
    },
    "blocked": {
      "gross": 1000.5,
      "discount": 0.5,
      "net": 1000
    }
  },
  "all": {
    "gross": 1000.5,
    "discount": 0.5,
    "net": 1000,
    "unblocked": {
      "gross": 1000.5,
      "discount": 0.5,
      "net": 1000
    },
    "blocked": {
      "gross": 1000.5,
      "discount": 0.5,
      "net": 1000
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.