curl --request POST \
  --url https://api.dots.dev/api/v2/transfer-batches \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "items": [
    {
      "amount": 123,
      "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "tax_exempt": true,
      "allow_debit": true,
      "idempotency_key": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "metadata": {}
    }
  ],
  "idempotency_key": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "metadata": {}
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "pending",
  "metadata": {},
  "items": [
    {
      "transfer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "amount": 123,
      "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "tax_exempt": true,
      "allow_debit": true,
      "metadata": {},
      "error": "<string>"
    }
  ]
}

Authorizations

Authorization
string
headerrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

items
object[]
idempotency_key
string
metadata
object

Response

200 - application/json
id
string
status
enum<string>
Available options:
pending,
completed
metadata
object
items
object[]