payments (api key)

List payments for a directory

Requires the payments scope. Returns rows newest first, plus countsByStatus and paidTotalCents.

paidTotalCents counts only rows in paid. Pending rows are unfinished checkouts and refunded ones have left again, so including either would produce a revenue number that disagrees with Stripe.

get/public/v1/directories/{directory}/payments

Request

  • Base URL: https://api.epicdirectories.com
  • URL: https://api.epicdirectories.com/public/v1/directories/{directory}/payments
  • Auth: API key in header x-api-key

Path parameters

directorystring required

Query parameters

offsetunknown
limitunknown

Default 50, max 200

status'pending' | 'paid' | 'expired' | 'refunded'

Response

Paginated payments, counts and paid total

Changes

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