DotsDocs
Users

Add a Payout Method

Add a payout method to the user. Payout method can be one of `paypal`, `venmo`, `ach`, or `cash_app`. Each method has different required parameters.

PUT
/v2/users/{user_id}/payout-methods

Add a payout method to the user. Payout method can be one of paypal, venmo, ach, or cash_app. Each method has different required parameters.

Authorization

api_key
headerAuthorizationBasic <token>

Path Parameters

user_id*string

Id of the user to fetch

Formatuuid

Request Body

application/json
  1. body
platform*string

Payout platform to add.

Value in"paypal""venmo""cash_app""ach""airtm""payoneer"
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?string

Bank account type. Required if platform = ach.

Value in"checking""savings"
email?string

Account email address. Required if platform is paypal, airtm, or payoneer.

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

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

auto_payout_enabled?|

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

metadata?unknown

Optional metadata to store with the payout method. Can be any valid JSON value (object, string, number, boolean, array, or null).

Response Body

OK

application/json
  1. response
id?string

ID of the payout method. Returned for ach, crypto, payoneer, and intl_bank payout methods.

platform*string

The type of account to add.

Value in"ach""crypto""paypal""venmo""cash_app""airtm""payoneer""intl_bank"
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?string

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

Value in"checking""savings"
instant_ach_available?boolean

Indicates if the account can receive instant payouts over RTP or FedNow (applies to ach only).

rtp_enabled?booleanDeprecated

Deprecated. Use instant_ach_available instead.

bank_verification_status?string

For ach payout methods, when the app runs verification debits: verified while a verification debit on the bank account has settled, pending while one is in flight, failed when the newest one failed or was returned, and unverified before any debit.

Value in"verified""pending""failed""unverified"
verification_flow?

For ach, when the app requires a verification debit for new bank accounts and this one isn't verified yet. Send the user to link to sign the debit authorization and start the debit. The app's payouts to the user are held until the debit settles.

meta?unknown

Optional metadata stored with the payout method. Can be any valid JSON value (object, string, number, boolean, array, or null).

curl -X PUT 'https://api.dots.dev/api/v2/users/497f6eca-6276-4993-bfeb-53cbbbba6f08/payout-methods' \  -H 'Content-Type: application/json' \  -d '{  "platform": "ach",  "routing_number": "123456789",  "account_number": "123456789",  "account_type": "checking"}'
Example Response
{  "id": "acc_dfsf983kkjdsf",  "platform": "ach",  "account_number": "123456789",  "routing_number": "123456789",  "account_type": "checking"}