DotsDocs
Payout link batches

Create a Payout Link Batch

Validate and submit 1 to 500 payout links for asynchronous processing using the authenticated App. The response contains normalized input rows, not created payout links. Retrying an identical batch while its status is submitted re-enqueues the existing batch and returns the same ID, allowing recovery after a queue publication failure.

POST
/v2/payout-link-batches

Validate and submit 1 to 500 payout links for asynchronous processing using the authenticated App. The response contains normalized input rows, not created payout links. Retrying an identical batch while its status is submitted re-enqueues the existing batch and returns the same ID, allowing recovery after a queue publication failure.

Authorization

api_key
headerAuthorizationBasic <token>

Request Body

application/json
  1. body
links*array<>
Items1 <= items <= 500

Response Body

Batch validated and submitted for processing. Payout links have not necessarily been created yet.

application/json
  1. response
success*boolean
id*string

ID of the payout CSV upload used to process this batch.

Formatuuid
validated_rows*array<>

Normalized rows accepted for processing. Omitted names and contact fields, and empty memos, are returned as null.

Example Request
curl -X POST 'https://api.dots.dev/api/v2/payout-link-batches' \  -H 'Content-Type: application/json' \  -d '{  "links": [    {      "email": "payee@example.com",      "delivery_method": "email",      "amount_cents": 1000,      "memo": "Weekly payout",      "idempotency_key": "b2c3d4e5-f6a7-48b9-80c1-d2e3f4a5b6c7"    }  ]}'
Example Response
{  "success": true,  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "validated_rows": [    {      "first_name": "string",      "last_name": "string",      "email": "string",      "country_code": "string",      "phone_number": "string",      "delivery_method": "link",      "amount_cents": 1,      "memo": "string",      "idempotency_key": "0cd90e5a-2c03-4ab6-81a8-d48818026e58",      "metadata": {},      "force_collect_compliance_information": true    }  ]}