API explorerPay APIsData APIs

Theme switcher

Get Data Refresh Job

Gets the current status and details of a data refresh job.

Consent status: If the consent is expired, revoked, failed, or suspended, this endpoint returns 400 with code consent_not_active.

Job Statuses

  • job_started: Job created
  • accounts_ready: Accounts fetched and stored in the database
  • balances_ready: Balances fetched and stored in the database
  • transactions_fetching: Transactions fetching has started
  • job_partially_completed: Job completed partially (some data was fetched and stored)
  • job_completed: Job completed successfully
  • job_failed: Job failed (no data was fetched and stored)

Body Parameters

client_idstring Required

API client identifier

Max length
128
client_secretstring

API client secret for authentication. Required for internal (non-OAuth2) authentication mode (e.g., test-only). Not required when using OAuth2 (Bearer token) authentication.

Max length
128
job_idstring Required

Job ID to retrieve

consent_idstring Required

Consent ID that the job belongs to (for validation)

Response

200
Object
Job information retrieved successfully

Response Attributes

request_idstring

Unique identifier for the API request

job_idstring

Unique identifier of the job

statusstring

Data refresh job status:

  • job_started: Job created and queued for execution
  • accounts_ready: Accounts fetched and stored in the database
  • balances_ready: Balances fetched and stored in the database
  • transactions_fetching: Transactions fetching has started
  • job_partially_completed: Job completed partially (some data was fetched and stored)
  • job_completed: Job completed successfully with all data fetched
  • job_failed: Job failed (no data was fetched and stored)
Enum values:
job_startedaccounts_readybalances_readytransactions_fetchingjob_partially_completedjob_completedjob_failed
consent_idstring

ID of the consent this job is associated with

webhook_urlstring

Webhook URL for job status notifications (from callback_url or consent config)

Nullable:
True
ais_providerobject

Service provider (bank) details from the consent

Nullable:
True

Show child attributes

ais_methodobject

AIS method details from the consent

Nullable:
True

Show child attributes

dataobject

Job execution results and statistics

Show child attributes

api_client_appstring

Name of the API client application

completed_atstring
400
Object
Validation error or invalid request

Response Attributes

error_idstring Required

Unique identifier for this error instance

request_idstring Required

Request identifier for tracking and correlation

codestring Required

Machine-readable error code for 400 errors:

  • bad_request: Generic validation or request error
  • validation_error: Request payload validation failed
  • invalid_input: Invalid input data provided
  • unprocessable_entity: Valid request but cannot be processed
  • cooldown_failed: Data refresh cooldown period not yet elapsed
  • consent_not_active: Consent is not usable...
Enum values:
bad_requestvalidation_errorinvalid_inputunprocessable_entitycooldown_failedconsent_not_activemethod_selection_errormethod_input_validation_errorlink_expired
messagestring Required

Human-readable error message

401
Object
Authentication failed

Response Attributes

error_idstring Required

Unique identifier for this error instance

request_idstring Required

Request identifier for tracking and correlation

codestring Required

Machine-readable error code for 401 errors:

  • unauthorized: Authentication failed or insufficient permissions
Enum values:
unauthorized
messagestring Required

Human-readable error message

404
Object
Resource not found

Response Attributes

error_idstring Required

Unique identifier for this error instance

request_idstring Required

Request identifier for tracking and correlation

codestring Required

Machine-readable error code for 404 errors:

  • not_found: Generic resource not found
  • consent_not_found: Specified consent does not exist
  • job_not_found: Specified job does not exist or outside accessible date range
Enum values:
not_foundconsent_not_foundjob_not_found
messagestring Required

Human-readable error message

Was this section helpful?

What made this section unhelpful for you?

POST

/

Select
1

Response

Was this section helpful?

What made this section unhelpful for you?

View as Markdown

Ask an AI

Open in ChatGPTOpen in ClaudeOpen in Perplexity

Code with AI

Open in Copilot