curl --request POST \
  --url https://api.dots.dev/api/v2/payouts/send-payout \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "amount": 123,
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "payee": {
    "country_code": "<string>",
    "phone_number": "<string>"
  },
  "delivery": {
    "message": "<string>"
  },
  "force_collect_compliance_information": false,
  "additional_steps": [
    "compliance"
  ],
  "tax_exempt": true,
  "metadata": "<string>",
  "memo": "<string>",
  "idempotency_key": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "payout_fee_party": "user",
  "accounting_data": {
    "quickbooks_account_id": 123,
    "quickbooks_class_id": 123
  }
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created": "2023-11-07T05:31:56Z",
  "link": "<string>",
  "amount": 123,
  "status": "created",
  "payee": {
    "first_name": "<string>",
    "last_name": "<string>",
    "email": "jsmith@example.com",
    "country_code": "<string>",
    "phone_number": "<string>"
  },
  "delivery": {
    "method": "link",
    "email": "jsmith@example.com",
    "country_code": "<string>",
    "phone_number": "<string>"
  },
  "tax_exempt": true,
  "claimed_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "flow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "metadata": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

201 - application/json
Created

The payout-link object.