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
- The document declares no server URL.
- Auth
- API key in header Authorization
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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.
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.