---
title: "Adds currency purchase data to the basket"
method: POST
path: "/widgetsvc/currentexchangerates"
tags: ["WidgetService"]
---

# Adds currency purchase data to the basket

`POST /widgetsvc/currentexchangerates`

## Request body

- CurrencySelectionCriteria — Currency selection criteria class.
  - `siteRef` string, nullable — Optional site reference
  - `currencyCode` string, required — Currency code of the selected currency
  - `amount` number, double, required — Amount of currency selected
  - `verifyRate` number, double, required — Selected exchange rate for verification
  - `deliveryMethod` 1 | 2, required — Enumerator defining delivery methods:<br>1=Delivery, 2=Collection
  - `branchId` integer, nullable — Branch identifier (only if collection selected)
  - `deliveryId` integer, nullable — Delivery identifier (only if delivery selected)
  - `deliveryInfo` ContactInformation — Contact details for the booking
    - `internalRef` string, nullable — Internal CRM reference
    - `emailAddress` string, nullable — Email address
    - `acceptMarketing` boolean — Accept or sign up for marketing
    - `acceptTerms` boolean — Accept terms and conditions
    - `telephone` PhoneNumber — Phone number details
      - `type` 1 | 2 | 3 | 4 — Enumerator defining phone types:<br>1=Generic, 2=Mobile, 3=Home, 4=Office
      - `countryPrefix` string, nullable — Country prefix (e.g. 44)
      - `number` string, nullable — Phone number
    - `title` 0 | 1 | 2 | 3 | 4 | 5 | 6 — Enumerator defining traveller name titles:<br>0=Unspecified, 1=Mr, 2=Miss, 3=Mrs, 4=Ms, 5=Master, 6=Dr
    - `firstname` string, nullable — Billing firstname
    - `surname` string, nullable — Billing surname
    - `company` string, nullable — Billing company name
    - `address1` string, nullable — Billing address 1
    - `address2` string, nullable — Billing address 2
    - `city` string, nullable — Billing city or town
    - `state` string, nullable — Billing county or state
    - `postalCode` string, nullable — Billing postal or zip code
    - `countryCode` string, nullable — Billing 2-letter country code

## Response `200`

OK

---

[API](https://skmtc.dev/travelify/apis/travelify-io-api.md) · [All operations](https://skmtc.dev/travelify/apis/travelify-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/travelify/travelify-io-api/revisions/b09ce3f0c6d5/schema)
