Bunnyx.Country (Bunnyx v0.3.0)

Copy Markdown View Source

Countries and their associated tax rates. Useful for configuring geo-blocking on pull zones.

Uses the main API client created with Bunnyx.new/1.

Usage

client = Bunnyx.new(api_key: "sk-...")

{:ok, countries} = Bunnyx.Country.list(client)

Summary

Functions

Lists all countries.

Functions

list(client)

@spec list(Bunnyx.t() | keyword()) :: {:ok, [map()]} | {:error, Bunnyx.Error.t()}

Lists all countries.