---
title: "Changes to Exchange token (GoCardLess)"
method: POST
path: "/auth/gocardless/exchange"
---

# Changes to Exchange token (GoCardLess)

`POST /auth/gocardless/exchange`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 5 of 25 revisions.

- **2024-07-24** `7a388bdc5a89`: 2 breaking, 2 warning
- **2024-07-23** `1515e7c2644a`: 1 breaking, 1 warning
- **2024-07-23** `85b4f43c2bb3`: 2 info
- **2024-07-05** `b620765f2663`: 6 breaking, 2 warning, 1 info
- **2024-06-19** `4b6f2f46a13d`: 4 breaking, 1 warning, 5 info

## Changes

- **2024-07-24** `7a388bdc5a89`: 2 breaking, 2 warning
  - added the new required request property `institutionId`
  - added the new required request property `transactionTotalDays`
  - removed the request property `institution_id`
  - removed the request property `transaction_total_days`
- **2024-07-23** `1515e7c2644a`: 1 breaking, 1 warning
  - the `code` response's property type changed from `number` to `string` for status `400`
  - removed the optional property `details` from the response with the `400` status
- **2024-07-23** `85b4f43c2bb3`: 2 info
  - added the optional property `details` to the response with the `400` status
  - added the required property `requestId` to the response with the `400` status
- **2024-07-05** `b620765f2663`: 6 breaking, 2 warning, 1 info
  - added the new required request property `institution_id`
  - added the new required request property `transaction_total_days`
  - removed the required property `access_valid_for_days` from the response with the `200` status
  - removed the required property `id` from the response with the `200` status
  - removed the required property `institutionId` from the response with the `200` status
  - removed the required property `max_historical_days` from the response with the `200` status
  - removed the request property `institutionId`
  - removed the request property `transactionTotalDays`
  - added the required property `data` to the response with the `200` status
- **2024-06-19** `4b6f2f46a13d`: 4 breaking, 1 warning, 5 info
  - added the new required request property `institutionId`
  - added the new required request property `transactionTotalDays`
  - the request's body type changed from no type to `object`
  - the response's body type changed from no type to `object` for status `200`
  - removed `#/components/schemas/Auth, subschema #2` from the request body `allOf` list
  - removed `#/components/schemas/Auth, subschema #2` from the response body `allOf` list for the response status `200`
  - added the required property `access_valid_for_days` to the response with the `200` status
  - added the required property `id` to the response with the `200` status
  - added the required property `institutionId` to the response with the `200` status
  - added the required property `max_historical_days` to the response with the `200` status

---

[Operation](https://skmtc.dev/midday-ai/apis/midday-engine-api/docs/auth/gocardless/exchange/post.md) - [API](https://skmtc.dev/midday-ai/apis/midday-engine-api.md) - [Page](https://skmtc.dev/midday-ai/apis/midday-engine-api/changes/auth/gocardless/exchange/post)
