Get CSV transfer file example

Get CSV Transfer File Example

This endpoint returns a CSV template file that partners can use as a reference when preparing batch transfer uploads. The response includes the file name, its base64-encoded or plain-text content, and the MIME content type. Use this template to ensure your transfer files are formatted correctly before submission.

Endpoint

GET /Files/transfer/file

Authentication

Bearer token required. Obtain via:

POST https://api.banking.netevia.dev/api/auth/v2

Include in header: Authorization: Bearer {token}
Token lifetime: 10 minutes. Refresh via POST /api/auth/refresh.

When to use

Use this endpoint when onboarding a new integration that requires batch transfer processing, or whenever you need to verify the expected CSV column structure and format. It is particularly useful during development and QA to validate that your file generation logic matches the platform's requirements before submitting actual transfer files.

Query Parameters

ParameterTypeRequiredDescription
versionstringNoAPI version selector. If omitted, the default version is used.

Response

200 OK

FieldTypeDescription
namestringThe filename of the example CSV file (e.g., transfer_template.csv).
contentstringThe file content, returned as a plain-text or encoded string containing the CSV data.
contentTypestringThe MIME type of the file (e.g., text/csv).
{
  "name": "transfer_template.csv",
  "content": "transferType,amount,currency,sourceAccountId,destinationAccountId,memo\nACH,100.00,USD,XXXXXXXXXX,XXXXXXXXXX,Payroll\nINTERNAL,250.00,USD,XXXXXXXXXX,XXXXXXXXXX,Reimbursement",
  "contentType": "text/csv"
}

Error Codes

CodeWhen it happens
400The request is malformed or an unsupported version value was supplied
401Token missing, expired, or invalid
403Insufficient permissions
404Resource not found
500Internal server error

Common Mistakes

  • Ignoring the contentType field — always check it before parsing the content value, as the encoding may vary.
  • Submitting a transfer file with columns in the wrong order or with missing required headers; use this template as the authoritative reference.
  • Forgetting to refresh the Bearer token before calling this endpoint — tokens expire after 10 minutes.

Related Endpoints

  • POST /Files/transfer — Submit a completed CSV transfer file for batch processing
  • GET /Files/transfer — List previously submitted transfer files and their statuses

Example

curl -X GET "https://api.banking.netevia.dev/Files/transfer/file" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Accept: application/json"
Query Params
string
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

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