Skip to main content
POST
Submit a batch of authorizers via CSV upload

Submit Balance Check (CSV)

Upload a CSV file of authorizers for balance checks. This endpoint is the file-upload counterpart to Submit Balance Check — use it when your authorizer list is already exported as a spreadsheet.
Debit Card Information: Balance requests using debit card information is currently restricted to approved customers only. If you would like to learn more, please reach out to us at sales@rightfoot.com.

Key Information

Batch Size Limit: Maximum 5,000 rows per CSV
Content-Type: multipart/form-data with the file part as text/csv
Encoding: UTF-8 preferred. Files exported from Excel on Windows are decoded as Latin-1 with a warnings entry on the response.
Validation: Per-row validation runs synchronously at request time. Failures are returned inline in the response.

CSV Format

The header row must use the column names below. Required and optional columns differ slightly depending on whether you submit bank-account or debit-card info — provide exactly one per row, never both.

Always Required (every row)

Bank-Account Mode

Provide account_number:

Debit-Card Mode

Provide debit_card_number (approved customers only):
Submitting both account_number and debit_card_number on the same row is rejected. Pick one mode per row.

Always Optional (any row)

Validation Behavior

Validation runs in-process at request time — no PII is staged on the batch row.
  • Mixed result (some rows valid, some invalid): the batch is created with the valid subset, and per-row failures are returned inline in failed_authorizers.
  • All rows invalid: the request returns 400 Bad Request with the per-row failures in error.details.failed_authorizers. No batch is created.
  • Empty file or wrong content type: the request returns 400 Bad Request before any rows are read.

Authorizations

Authorization
string
header
required

Authentication to the API is performed via Bearer Token Authentication. Provide your API key as the bearer token in the Authorization header.

All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.

Query Parameters

email
string<email>

Optional. Email address to notify when the batch completes.

webhookUrl
string<uri>

Optional. Webhook URL to notify when the batch completes.

Body

multipart/form-data
file
file
required

CSV file containing authorizer rows. Must be sent as text/csv.

Response

Created

batch_id
string
required

Unique identifier for the submitted batch.

submitted_at
string<date-time>
required

Timestamp indicating when the batch was submitted.

message
string
required

Confirmation message or additional information.

failed_authorizers
object[]

List of authorizers that failed validation or processing.

warnings
string[]

Non-fatal warnings raised while parsing the input (e.g., non-UTF-8 CSV files decoded as Latin-1). Only set for CSV uploads.