Easy Labs
APITreasuryTreasury

Bulk import recipients from CSV

Upload a CSV file with columns: name, email, bank_name, routing_number, account_number, account_type (checking/savings), notes. Each row is validated, account numbers are tokenized via Basis Theory, and duplicates are detected by email or routing+account number. Maximum 1000 rows per batch. Rows that fail tokenization are skipped (fail-closed).

POST
/v1/api/treasury/recipients/import
x-easy-api-key<token>

Merchant API key. Publishable keys (pk_test_* / pk_live_) are safe for browser/frontend use and carry a limited scope set (sessions, payment_instruments, customers, orders writes; products, product_prices, payment_links reads). Secret keys (sk_test_ / sk_live_*) grant full admin access and must only be used server-side.

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://loading/v1/api/treasury/recipients/import"
{
  "success": true,
  "timestamp": "2019-08-24T14:15:22Z",
  "data": null,
  "message": "string"
}
{
  "success": false,
  "timestamp": "2019-08-24T14:15:22Z",
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  }
}
{
  "success": false,
  "timestamp": "2019-08-24T14:15:22Z",
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  }
}
{
  "success": false,
  "timestamp": "2019-08-24T14:15:22Z",
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  }
}