curl --request PUT \
  --url https://api.dots.dev/api/v2/users/{user_id}/payout-methods \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "account_number": "123456789",
  "account_type": "checking",
  "platform": "ach",
  "routing_number": "123456789"
}'
{
  "cash_tag": "<string>",
  "country": "<string>",
  "currency": "<string>",
  "description": "<string>",
  "email": "<string>",
  "id": "<string>",
  "mask": "<string>",
  "phone_number": "<string>",
  "platform": "ach"
}

Authorizations

Authorization
string
headerrequired

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

Path Parameters

user_id
string
required

Id of the user to fetch

Body

application/json
account_number
string

Bank account or Cash App account number. Required if platform = ach or cash_app.

account_type
enum<string>

Bank account type. Required if platform = ach.

Available options:
checking,
savings
cash_tag
string

Cash App Cash Tag. Required if platform = cash_app.

email
string

PayPal email address. Required if platform = paypal.

handle
string

Venmo handle. One of phone_number or handle is required if platform = venmo.

phone_number
string

Venmo phone number. One of phone_number or handle is required if platform = venmo.

platform
enum<string>
required

Payout platform to add.

Available options:
paypal,
venmo,
cash_app,
ach
routing_number
string

Bank account or Cash App routing number. Required if platform = ach or cash_app.

Response

200 - application/json
cash_tag
string
country
string
currency
string
description
string
email
string
id
string

ID of the payment-method.

mask
string
phone_number
string
platform
enum<string>
required
Available options:
ach,
paypal,
venmo,
cash_app,
intl_transfer