Skip to content
Longport Whale
Blacklist

Batch Create Block Records

The "Batch Import" button on the Blacklist page.

POSThttps://b-api.longbridge.xyz/v3/risk/batch_create_block_records

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

s3_keystringrequired

Uploaded File S3 Key. The uploadKey returned by the ImportButton upload control (accept .csv/.xlsx/.xls, service=data.porter, prefix=credit_management); multiple files are comma-joined, though this form actually allows only one file.

clear_creditboolean

Clear Credit. A reserved field of the batchCreate request body; the current blacklist import form has no corresponding input to collect this value, so it is usually undefined.

operatorstring

Operator. Auto-filled by the front end with the current logged-in user's name (currentUser.name).

audit_frontend_resourceobject

Audit Frontend Resource. Contains service (fixed as data.porter), file_name (the uploaded file name), and $behavior (an operation description such as "bulk import blacklist"), used for back-end audit logging.

Responses

HTTP 200No confirmable field definitions are available for the response yet.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs