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 '{
  "platform": "ach",
  "routing_number": "123456789",
  "account_number": "123456789",
  "account_type": "checking"
}'

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
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.

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
email
string

PayPal email address. Required if platform = paypal.

phone_number
string

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

handle
string

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

cash_tag
string

Cash App Cash Tag. Required if platform = cash_app.

is_default
boolean | null

When true, the newly added payment method will be set as the user's default payout method.

auto_payout_enabled
boolean | null

When specified, enables or disables auto payout for this user.

Response

200 - application/json
platform
enum<string>
required

The type of account to add.

Available options:
ach,
paypal,
venmo,
cash_app,
airtm,
payoneer
handle
string

Handle for Venmo accounts.

email
string

Email for PayPal and Payoneer accounts.

phone_number
string

Phone number for Venmo accounts.

cash_tag
string

Cash tag for Cash App accounts.

account_number
string

ACH account number.

routing_number
string

ACH routing number.

account_type
enum<string>

ACH account type, either "checking" or "savings".

Available options:
checking,
savings