Skip to content

HubSpot: Currencies schemas

20 HubSpot schemas with complete fields and constraints.

← Currencies operations · All schemas

Add a new currency with central exchange rates — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
currencyCodestringRequired within parentThe currency code being added to the HubSpot portal for use with central exchange rates.
One of: AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BOV, BRL, BSD, BTN, BWP, BYN, BZD, CAD, CDF, CHE, CHF, CHW, CLF, CLP, CNY, COP, COU, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, IQD, IRR, ISK, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRU, MUR, MVR, MWK, MXN, MXV, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLL, SOS, SRD, SSP, STN, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, USN, UYI, UYU, UZS, VEF, VND, VUV, WST, XAF, XAG, XAU, XBA, XBB, XBC, XBD, XCD, XDR, XOF, XPD, XPF, XPT, XSU, XUA, YER, ZAR, ZMW, ZWL

Add a new exchange rate — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
conversionRatenumberRequired within parentThe conversion rate between the to and from currency code of this exchange rate.
effectiveAtstringOptionalThe date the exchange rate is in effect.
Format: date-time
fromCurrencyCodestringRequired within parentThis represents the three-letter currency code (such as USD for US Dollar) of the currency you want to convert from.
One of: AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BOV, BRL, BSD, BTN, BWP, BYN, BZD, CAD, CDF, CHE, CHF, CHW, CLF, CLP, CNY, COP, COU, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, IQD, IRR, ISK, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRU, MUR, MVR, MWK, MXN, MXV, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLL, SOS, SRD, SSP, STN, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, USN, UYI, UYU, UZS, VEF, VND, VUV, WST, XAF, XAG, XAU, XBA, XBB, XBC, XBD, XCD, XDR, XOF, XPD, XPF, XPT, XSU, XUA, YER, ZAR, ZMW, ZWL

Add a new exchange rate — response body

FieldTypePresenceDescription and constraints
$objectRoot
conversionRateJSONRequired within parent
conversionRate (anyOf 1)numberAlternativeThe conversion rate between the to and from currency code of this exchange rate.
conversionRate (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
createdAtstringRequired within parentThe date the exchange rate was created.
Format: date-time
effectiveAtstringRequired within parentThe date the exchange rate is in effect.
Format: date-time
fromCurrencyCodestringRequired within parentThis represents the three-letter currency code (such as USD for US Dollar) of the currency you are converting from.
Known values: AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BOV, BRL, BSD, BTN, BWP, BYN, BZD, CAD, CDF, CHE, CHF, CHW, CLF, CLP, CNY, COP, COU, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, IQD, IRR, ISK, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRU, MUR, MVR, MWK, MXN, MXV, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLL, SOS, SRD, SSP, STN, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, USN, UYI, UYU, UZS, VEF, VND, VUV, WST, XAF, XAG, XAU, XBA, XBB, XBC, XBD, XCD, XDR, XOF, XPD, XPF, XPT, XSU, XUA, YER, ZAR, ZMW, ZWL
idstringRequired within parentA unique identifier for the exchange rate
toCurrencyCodestringRequired within parentThis represents the three-letter currency code (such as USD for US Dollar) of the currency you are converting to.
Known values: AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BOV, BRL, BSD, BTN, BWP, BYN, BZD, CAD, CDF, CHE, CHF, CHW, CLF, CLP, CNY, COP, COU, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, IQD, IRR, ISK, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRU, MUR, MVR, MWK, MXN, MXV, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLL, SOS, SRD, SSP, STN, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, USN, UYI, UYU, UZS, VEF, VND, VUV, WST, XAF, XAG, XAU, XBA, XBB, XBC, XBD, XCD, XDR, XOF, XPD, XPF, XPT, XSU, XUA, YER, ZAR, ZMW, ZWL
updatedAtstringRequired within parentThe date the exchange rate was last updated.
Format: date-time
visibleInUIbooleanRequired within parentThis indicates if the exchange rate is shown in the MultiCurrency settings page.

Change the visibility of a specific currency pairs — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
fromCurrencyCodestringRequired within parentThis represents the three-letter currency code (such as USD for US Dollar) of the currency you want to convert from.
One of: AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BOV, BRL, BSD, BTN, BWP, BYN, BZD, CAD, CDF, CHE, CHF, CHW, CLF, CLP, CNY, COP, COU, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, IQD, IRR, ISK, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRU, MUR, MVR, MWK, MXN, MXV, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLL, SOS, SRD, SSP, STN, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, USN, UYI, UYU, UZS, VEF, VND, VUV, WST, XAF, XAG, XAU, XBA, XBB, XBC, XBD, XCD, XDR, XOF, XPD, XPF, XPT, XSU, XUA, YER, ZAR, ZMW, ZWL
toCurrencyCodestringRequired within parentThis represents the three-letter currency code (such as USD for US Dollar) of the currency you want to convert to.
One of: AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BOV, BRL, BSD, BTN, BWP, BYN, BZD, CAD, CDF, CHE, CHF, CHW, CLF, CLP, CNY, COP, COU, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, IQD, IRR, ISK, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRU, MUR, MVR, MWK, MXN, MXV, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLL, SOS, SRD, SSP, STN, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, USN, UYI, UYU, UZS, VEF, VND, VUV, WST, XAF, XAG, XAU, XBA, XBB, XBC, XBD, XCD, XDR, XOF, XPD, XPF, XPT, XSU, XUA, YER, ZAR, ZMW, ZWL
visibleInUIbooleanRequired within parentThis indicates if the currency pair is shown in the MultiCurrency settings page. Setting this to false will remove the currency pair from the settings page.

Create multiple exchange rates — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
inputsarrayRequired within parentAn array of ExchangeRateCreateRequest objects, each representing the details required to create a single exchange rate. This includes properties like fromCurrencyCode, conversionRate, and effectiveAt.
inputs[]ModelEach itemExpand Add a new exchange rate — request body — body

Referenced models: Add a new exchange rate — request body — body

Get all currency codes — response body

FieldTypePresenceDescription and constraints
$objectRoot
resultsarrayRequired within parentAn array of currency code information objects, each containing details about a specific currency code and its name.
results[]ModelEach itemExpand Get all currency codes — response body — results item

Referenced models: Get all currency codes — response body — results item

Get all currency codes — response body — results item

FieldTypePresenceDescription and constraints
$objectRoot
currencyCodestringRequired within parentThe three-letter code representing a specific currency (ex. USD).
currencyNamestringRequired within parentThe full name of the currency (ex. US Dollar).

Get all current exchange rates — response body

FieldTypePresenceDescription and constraints
$objectRoot
resultsarrayRequired within parentAn array of exchange rate objects, each representing the conversion rate details between two currencies.
results[]ModelEach itemExpand Add a new exchange rate — response body

Referenced models: Add a new exchange rate — response body

Get exchange rates — response body

FieldTypePresenceDescription and constraints
$objectRoot
pagingModelOptionalExpand Get all tax rates — response body — paging
resultsarrayRequired within parentAn array of exchange rate objects, each representing a specific currency conversion rate.
results[]ModelEach itemExpand Add a new exchange rate — response body

Referenced models: Get all tax rates — response body — paging, Add a new exchange rate — response body

Get the company currency — response body

FieldTypePresenceDescription and constraints
$objectRoot
createdAtstringRequired within parentThe date the company currency was created.
Format: date-time
idstringRequired within parentThe currency code for the company currency

Retrieve information about the central exchange rates feature — response body

FieldTypePresenceDescription and constraints
$objectRoot
centralExchangeRatesEnabledbooleanRequired within parentIndicates if central exchange rates is enabled for the portal or not.

Retrieve multiple rates — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
inputsarrayRequired within parentAn array of PublicObjectId objects. Each object contains an ID string representing a unique identifier for a public object. This property is required.
inputs[]ModelEach itemExpand Retrieve multiple rates — request body — body inputs item

Referenced models: Retrieve multiple rates — request body — body inputs item

Retrieve multiple rates — request body — body inputs item

FieldTypePresenceDescription and constraints
$objectRootContains the Id of a Public Object
idstringRequired within parentA unique identifier for the exchange rate

Retrieve multiple rates — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING errors item

FieldTypePresenceDescription and constraints
$objectRootYe olde error
categorystringRequired within parentThe main category of the error.
contextobjectRequired within parentAdditional context-specific information related to the error.
Additional keys: see wildcard field
context.*arrayAdditional keys
context.*[]stringEach item
errorsarrayRequired within parentThe detailed error objects.
errors[]ModelEach itemExpand Batch insert events — response body — errors item errors item
idstringOptionalA unique ID for the error instance.
linksobjectRequired within parentURLs linking to documentation or resources associated with the error.
Additional keys: see wildcard field
links.*stringAdditional keys
messagestringRequired within parentA human-readable string describing the error and possible remediation steps.
statusstringRequired within parentThe HTTP status code associated with the error.
subCategoryobjectOptionalA more specific error category within each main category.

Referenced models: Batch insert events — response body — errors item errors item

Retrieve multiple rates — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING — Batch Response Exchange Rate

FieldTypePresenceDescription and constraints
$objectRoot
completedAtstringRequired within parentThe datetime the response was completed
Format: date-time
linksobjectOptionalThe link to the next page with exchange rates.
Additional keys: see wildcard field
links.*stringAdditional keys
requestedAtstringOptionalThe datetime the of the request.
Format: date-time
resultsarrayRequired within parentAn array of exchange rate objects that represent the results of the batch operation.
results[]ModelEach itemExpand Add a new exchange rate — response body
startedAtstringRequired within parentThe datetime the of the request.
Format: date-time
statusstringRequired within parentThe current status of the response (e.g. COMPLETED)
Known values: CANCELED, COMPLETE, PENDING, PROCESSING

Referenced models: Add a new exchange rate — response body

Retrieve multiple rates — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING — Batch Response Exchange Rate With Errors

FieldTypePresenceDescription and constraints
$objectRoot
completedAtstringRequired within parentThe datetime the response was completed
Format: date-time
errorsarrayOptionalAn array of standard error objects detailing any errors encountered during the batch operation.
errors[]ModelEach itemExpand Retrieve multiple rates — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING errors item
linksobjectOptionalThe link to the next page with exchange rates.
Additional keys: see wildcard field
links.*stringAdditional keys
numErrorsJSONOptional
numErrors (anyOf 1)integerAlternativeThe number of errors associated to the request.
Format: int32
numErrors (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
requestedAtstringOptionalThe datetime the of the request.
Format: date-time
resultsarrayRequired within parentAn array of exchange rate objects representing the successful results of the batch operation.
results[]ModelEach itemExpand Add a new exchange rate — response body
startedAtstringRequired within parentThe datetime the of the request.
Format: date-time
statusstringRequired within parentThe current status of the response (e.g. COMPLETED)
Known values: CANCELED, COMPLETE, PENDING, PROCESSING

Referenced models: Retrieve multiple rates — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING errors item, Add a new exchange rate — response body

Set or update the company currency — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
currencyCodestringRequired within parentThe three-letter code representing a specific currency (ex. USD).
One of: AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BOV, BRL, BSD, BTN, BWP, BYN, BZD, CAD, CDF, CHE, CHF, CHW, CLF, CLP, CNY, COP, COU, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, IQD, IRR, ISK, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRU, MUR, MVR, MWK, MXN, MXV, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLL, SOS, SRD, SSP, STN, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, USN, UYI, UYU, UZS, VEF, VND, VUV, WST, XAF, XAG, XAU, XBA, XBB, XBC, XBD, XCD, XDR, XOF, XPD, XPF, XPT, XSU, XUA, YER, ZAR, ZMW, ZWL

Update a conversion rate — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
conversionRatenumberRequired within parentThe updated conversion rate between the to and from currency code of this exchange rate.
effectiveAtstringOptionalThe date the exchange rate is in effect.
Format: date-time

Update multiple exchange rates — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
inputsarrayRequired within parentAn array of ExchangeRateUpdateRequest objects, each representing an individual exchange rate update. This array is required and contains the details of each exchange rate to be updated, including the conversion rate and the effective date.
inputs[]ModelEach itemExpand Update multiple exchange rates — request body — body inputs item

Referenced models: Update multiple exchange rates — request body — body inputs item

Update multiple exchange rates — request body — body inputs item

FieldTypePresenceDescription and constraints
$objectRoot
conversionRatenumberRequired within parentThe updated conversion rate between the to and from currency code of this exchange rate.
effectiveAtstringOptionalThe date the exchange rate will be in effect.
Format: date-time
idstringRequired within parentA unique identifier for the exchange rate being updated

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.