Batch debit

Upload batch as JSON

POST/api/v1/batch-file-base64/upload-batch-file
Authorization + signatureFirm banking

Uploads base64 file content inside JSON.

This API needs a Signature header. The portal signs when that company code has a signing key configured. Without it, the sandbox receives the request unsigned.

Headers

FieldsDescription
Content-TypeRequiredapplication/json
AuthorizationRequiredAuthorization key Fintwin issues for the company code.
SignatureRequiredBody integrity signature. The signing key is issued with the API key.

Body

FieldsDescription
fileNameRequiredFile name.
fileContentRequiredBase64 content of a sample file.
declaredFileSizeOptionalDeclared size.

Samples

curl -X POST 'https://sandbox.example.invalid/api/v1/batch-file-base64/upload-batch-file' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: <authorization-key>' \
  -d '{"fileName":"batch-TEST.txt","fileContent":"VEVTVA==","declaredFileSize":4}'