Skip to main content

Customer Migrations Guide: Requesting Data

In the previous section, we walked through the steps of validating, staging, and creating an account in Kraken. Throughout this process, you may find it necessary to retrieve information about the ongoing state of the migration, such as which accounts have been successfully imported, which are pending import etc. For such inquiries, the following endpoints are at your disposal.

Retrieving Account Import Status

Overview

Use this endpoint to find out the status of a single account import process.

Possible statuses:

  • UNKNOWN - No account found in Kraken for the external account number and import supplier code. Either a previous process attempt has failed, or the import has never been attempted to be processed.
  • COMPLETED - An account has been created in Kraken for the external account number and import supplier code.
  • IN_PROGRESS - There is currently a migration process attempting to create this account.

GET https://api.oeg-kraken.energy/v1/data-import/account-transfer-status/<import-supplier-code>/<external-account-number>/

Responses

The following responses may be returned from the API.

docs--rest--api-guides--data-import--requesting-data--account-import-status--api-responses--html
Status codeDescription

List all account imports

Overview

Use this endpoint to list all accounts for import, whether they are pending (their data has been staged) or have had a Kraken account created.

GET https://api.oeg-kraken.energy/v1/data-import/all-account-import-processes/<import-supplier-code>/

Responses

The following responses may be returned from the API.

docs--rest--api-guides--data-import--requesting-data--list-all-import-processes--api-responses--html
Status codeDescription

List pending imports

Overview

Use this endpoint to list all accounts pending import (their data has been staged).

GET https://api.oeg-kraken.energy/v1/data-import/pending-account-import-processes/<import-supplier-code>/

Responses

The following responses may be returned from the API.

docs--rest--api-guides--data-import--requesting-data--list-pending-import-processes--api-responses--html
Status codeDescription

List all imported accounts

Overview

Use this endpoint to list all accounts that have been imported and now have a Kraken account.

GET https://api.oeg-kraken.energy/v1/data-import/imported-account-import-processes/<import-supplier-code>/

Responses

The following responses may be returned from the API.

docs--rest--api-guides--data-import--requesting-data--list-all-imported-accounts--html
Status codeDescription