Skip to main content
POST
Price a physical-mail letter without creating it

Authorizations

Authorization
string
header
required

Dairo API key, e.g. dairo_test_... or dairo_live_...

Body

application/json

Provide either pageCount or pdfBase64 to price a letter.

country
string
required

ISO 3166-1 alpha-2 country code.

pageCount
integer | null
Required range: x >= 1
pdfBase64
string | null
print
object
delivery
enum<string>
Available options:
economy,
priority,
registered,
bulk,
premium
paperTypes
enum<string>[]
Available options:
standard,
qr,
sepa_at,
sepa_de

Response

Success

object
enum<string>
required
Available options:
letter_price
currency
string
required
amount
number
required
country
string
pageCount
integer
delivery
enum<string>
Available options:
economy,
priority,
registered,
bulk,
premium
print
object
breakdown
object