Skip to main content

Tango Currency Conversion API

Generated from Tango Currency Conversion API Integration Design Specification V1.2.docx in SharePoint folder 01 Common Integrations. OAS spec: currency-conversion-api.yaml

Overview

Async REST API for posting forex rate records to Tango. Each record carries a spot rate, an optional average rate, an “as of” date, and an effective-from/to window. Tango uses these rates for multi-currency translation across the Transaction → Country → BU → Global currency hierarchy. Owner: Tango Analytics Spec version: 1.2 Status: Draft (auto-generated — needs review)

Base URLs

Authentication

Headers x-client + x-api-key.

Endpoints

Currency hierarchy (per source doc)

Out-of-scope

  • Conversion to non-USD global currencies — client must provide USD-based ratios.
  • In-house standard rates — Tango uses only the rates the client provides.

Data model (required ✅)

Validations

Open Questions / Assumptions

  • record_key format in error responses: doc shows both "USD-GBP" and " USD-INR" (note leading space). Whitespace handling on the wire should be confirmed.
  • Sample sends numeric fields as strings ("spot_exchange_rate": "5.1111"). Schema uses number; consumers may need to coerce.
  • Rate frequency is implied to be Daily / Monthly / Annual per assumptions, but the schema doesn’t carry a frequency field. Effective-from/to provides the window.
  • Lookup codes are <TBD> in Appendix.

Changelog