v25

latestOpenAPI 3.1.0raw.githubusercontent.com2024-11-23142234.7 KB

Exchange token (GoCardLess)

post/auth/gocardless/exchange

Request body

institutionIdstring required
transactionTotalDaysnumber required

Example request

{
  "institutionId": "REVOLUT_REVOGB21",
  "transactionTotalDays": 90
}

Response

Retrieve Exchange

Example response

{
  "data": {
    "id": "2dea1b84-97b0-4cb4-8805-302c227587c8",
    "access_valid_for_days": 90,
    "max_historical_days": 90,
    "institution_id": "REVOLUT_REVOGB21"
  }
}