Get the content of a credit profile report file by report ID. Returns the report as a base64-encoded string.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Get Credit Profile Report

Downloads the full content of a specific credit profile report as a base64-encoded string. Use the reportId values returned by GET /api/v1/merchant/creditProfile to identify which report to retrieve.

Endpoint

GET /api/v1/merchant/creditProfile/report

Authentication

Basic HTTP Authentication required. Encode username:password in Base64 and pass in the Authorization header:

Authorization: Basic {base64(username:password)}

When to use

Use this endpoint after calling GET /creditProfile to get the list of available reports. Once you have a reportId with status Completed, call this endpoint to download the actual report content for display, storage, or further processing. Decode the base64 data field to get the raw file (PDF or XML).

Query Parameters

ParameterTypeRequiredDescription
idinteger (int32)YesMerchant profile ID
reportIdinteger (int32)YesReport ID from the reports array returned by GET /creditProfile

Response

200 OK

FieldTypeDescription
data.reportIdstringReport identifier
data.fileNamestringOriginal file name of the report
data.outputTypestringReport format: PDF, XML
data.statusstringReport status: Completed, Pending, Failed
data.datastringBase64-encoded report content — decode to get raw file bytes
requestIdintegerUnique request identifier for tracing
successbooleantrue if request succeeded
errorstringError message if success is false
{
  "data": {
    "reportId": "rpt-8f3a2c1d",
    "fileName": "experian_credit_report_161787.pdf",
    "outputType": "PDF",
    "status": "Completed",
    "data": "JVBERi0xLjQKJeLjz9MKMSAwIG9iago8PAovVHlwZSAvQ2F0YWxvZw..."
  },
  "requestId": 4187891,
  "success": true,
  "error": null
}

Error Codes

CodeWhen it happens
400id or reportId missing or invalid
401Invalid or missing Basic Auth credentials
403User does not have Underwriting access
404Merchant or report not found
500Internal server error

Common Mistakes

  • Passing the wrong reportId type — the query parameter expects integer but reportId in the reports list is returned as string. Parse it to int before passing.
  • Trying to download a report with status Pending — wait until status is Completed before calling this endpoint.
  • Not decoding the base64 — the data field is base64-encoded. Use atob() (JS), base64.b64decode() (Python), or [Convert]::FromBase64String() (PowerShell) to get the raw file.

Related Endpoints

Example

curl -X GET "https://hq.staging.netevia.dev/api/v1/merchant/creditProfile/report?id=161787&reportId=42" \
  -H "Authorization: Basic $(echo -n 'username:password' | base64)"

Decode the response in PowerShell:

$response = Invoke-RestMethod -Uri "https://hq.staging.netevia.dev/api/v1/merchant/creditProfile/report?id=161787&reportId=42" -Headers $headers
$bytes = [Convert]::FromBase64String($response.data.data)
[System.IO.File]::WriteAllBytes("C:\reports\credit_report.pdf", $bytes)
Query Params
int32
required

Merchant profile ID

int32
required

Report ID from the reports array returned by GET creditProfile

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Response

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/json