Skip to content
Deposit

Batch Import Bank Standard Template File

Batch-import a withdrawal file using the bank's standard template to create withdrawal records in bulk.

Request parameters

  • Required: file_key (file key)
  • Optional: business_type (business type), file_name (file name), redirect_uri (callback URL), audit_frontend_resource (audit context)
  • See the field definitions for each field's format, allowed values, and business meaning.

Business notes

The imported file drives batch withdrawals; verify its contents are correct.

Risk warning

This operation may change real funds, positions, or transaction state. Confirm the target record and parameters before calling.

Result

On success the operation completes; refer to the 200 response for the resulting state and data.

POSThttps://b-api.lbkrs.com/v1/atm/import/batch/withdraw/file

Authorization

AuthorizationstringheaderRequired

Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.

Permission

accounting.accounting_depositatm.import_batch_withdrawatm.rollover_stock_limit_update

The Broker ACCESS_TOKEN must be granted the permission above, or the call will be rejected.

Request body application/json

file_keystringrequired

File S3 Key. Object-storage key returned after the file is uploaded; identifies the file to process. This field is required.

business_typestring

Business Type. Identifies the business scenario to which this request applies.

file_namestring

File Name. Name of the file to process, including its file extension.

redirect_uristring

Redirect URI. Specifies Redirect URI.

audit_frontend_resourceobject

Audit Context. Provides audit context for this operation.

Responses

HTTP 200The request was processed successfully. The response data does not contain additional business fields.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 400Bad request. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 401The user is not authenticated, or the login session has expired.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 408The request timed out. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs