Billing exchange rates
billing.catalog.v1.ExchangeRateService/GetExchangeRate (32-billing-overview.md, API Surface, Exchange rates). The rate a line whose service period ends at at takes: the ECB's reference rate, or a manual rate for a pair the ECB does not publish. exchange_rate_unavailable while there is none yet.
BearerAuthAuthorization<token>Access token as "Bearer "
from*stringISO 4217 code of the currency converted from
to*stringISO 4217 code of the currency converted to
at*stringRFC 3339 instant the line's service period ends at
An ExchangeRate object
application/json- response
id?stringID is its prefixed id.
object?stringObject names the kind: customer, invoice, contract, …
curl -X GET 'https://api.us.pontive.com/v1/billing/exchange-rates?from=string&to=string&at=string'{ "id": "string", "object": "string"}billing.catalog.v1.ExchangeRateService/SetManualExchangeRate (32-billing-overview.md, API Surface, Exchange rates). A manual rate for one day (UTC) of a pair the ECB does not publish: { rate, note }. exchange_rate_published for a pair the ECB publishes; exchange_rate_in_use for a change to a rate a finalized invoice used.
BearerAuthAuthorization<token>Access token as "Bearer "
from*stringfrom
to*stringto
date*stringdate, YYYY-MM-DD
X-Idempotency-Key?stringIdempotency key
An ExchangeRate object
application/json- response
id?stringID is its prefixed id.
object?stringObject names the kind: customer, invoice, contract, …
curl -X PUT 'https://api.us.pontive.com/v1/billing/exchange-rates/string/string/string'{ "id": "string", "object": "string"}