Skip to Content
Docs
Exchange rates

Exchange rate events

WEBHOOKexchange_rates.*

Pay.com sends these events to your webhook endpoints when an exchange rate changes. Each one carries the exchange rate as it was at that moment. To add an endpoint and check signatures, see Webhooks.

Events

exchange_rates.update
Exchange rates were updated.

Each event

idstring
The event’s id, starting evt_.
resourcestring
Always event.
typestring
One of the events above, such as exchange_rates.update.
createdstring
When it happened, in ISO 8601 (UTC).
dataobject
The exchange rate as it was at that moment, with the attributes Retrieve charge exchange rates returns.
Was this page helpful?