akahu.api.endpoints.payments

class akahu.api.endpoints.payments.PaymentsEndpoint(client: ApiBase, endpoint='/payments')

Bases: ApiGetByIdEndpoint[Payment], ApiListEndpoint[Payment]

Endpoints for retrieving information about payments.

Arguments:

client (ApiBase): The API client, or prefix-endpoint in the url path. endpoint (str): (optional) The endpoint for the payments API. Defaults to “/payments”.

property endpoint: str
getById(id: str, **kwargs) T
list(start: datetime, end: datetime, **kwargs) List[Payment]