Billing

Get payment details of the previous months for the given tenant.

Fetch all payments details of the tenant for specified number of previous months.

Note: This API is not applicable for system tenants.

get/_api/billing/payments

Request

Query parameters

limitinteger

Number of previous months for which payment details are required.

Headers

tenantstring string

Tenant name. If not set it uses the tenant invoking the request.

Response

Successfully fetched payment details.

Example - https://stripe.com/docs/api/payment_intents/list

Note: the example here is an excerpt please follow the link above for a complete example.

objectstring
urlstring
has_moreboolean

Example response

{
  "object": "list",
  "url": "/v1/payment_intents",
  "data": [
    {
      "id": "pi_1DpxME2eZvKYlo2CdLPnXZPO",
      "object": "payment_intent",
      "amount": 1099
    }
  ]
}

Changes

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