WavePayby T3raTech

API reference

Pricing and usage

WavePay's own price list and your usage meter. The same data is at /pricing.json.

GET/v2/price-list

WavePay's own price list: plans, the usage schedule and the modes (same data as /pricing.json)

Authentication: None (public)

Responses

StatusMeaning
200{ currency, plans: [{ id, name, monthlyMinor, annualMinor, includedPayments, sites }], usage: { tiers }, providerFees, modes }

Example

curl -sX GET https://t3rnel-wavepay-production.t3ratech.workers.dev/v2/price-list
GET/v2/internal/merchant/usage

This month's usage meter for your key: payments, included allowance, usage fee by tier, total due

Authentication: Merchant key in x-wavepay-service-key

Parameters

NameInRequiredType
monthquerynostring

Responses

StatusMeaning
200{ month, plan, payments, includedPayments, nonUsdPayments, usage: { feeMinor, chargedPayments, byTier }, totalDueMinor }
403a global key, which has no merchant

Example

curl -sX GET https://t3rnel-wavepay-production.t3ratech.workers.dev/v2/internal/merchant/usage \
  -H 'x-wavepay-service-key: mk_live_…'