Batch

Get data in batch

Get data for multiple cards and accounts following a successful batch call

get/batch/results

Request

  • Base URL
    https://api.truelayer-sandbox.com/data/v1
  • URL
    https://api.truelayer-sandbox.com/data/v1/batch/results
  • Auth
    OAuth 2
    Authorization code: https://auth.truelayer.com/token/connect
    Token URL: https://auth.truelayer.com/token/connect scopes: accounts

Response

OK

status'Succeeded' | 'Queued' | 'Running' | 'Failed' required

Indicates whether the request was successful. 'Queued', 'Running' and 'Failed' can be returned for async requests.

task_idstring required

A unique ID associated with the task

Example response

{
  "status": "Succeeded",
  "results": {
    "accounts": [
      {
        "account_id": "f1234560abf9f57287637624def390871"
      }
    ],
    "cards": [
      {
        "account_id": "f1234560abf9f57287637624def390871"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.