1. Users
  2. Programatically add a payout method for a user
POST

/api/api/users/wallet/add_payout_method

client_id*
api_key*
curl --request POST \
     --url https://api.senddotssandbox.com/api/api/users/wallet/add_payout_method \
     --header 'Authorization: Basic AUTH_VALUE' \
     --header 'Content-Type: application/json' \
     --data '{
 "user_id": "string",
 "payout_method": "string"
}'
{
  "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
  "payout_method": "paypal",
  "payout_id": "string",
  "ach_routing_number": "string",
  "ach_account_number": "string",
  "ach_account_type": "checking",
  "set_default": true
}
{
  "success": true,
  "ach_account_id": "acc_43kfg84ifkgh"
}

Body

user_idRequired
string
payout_methodRequired
string
Available options: paypal, venmo, ach, cash_app
payout_id
string

Email if payout_method is paypal, @handle or phone number is payout_method is venmo, $cashtag if payout_method is cash_app

ach_routing_number
string

Must be provided if payout_method is ach or cash_app

ach_account_number
string

Must be provided if payout_method is ach or cash_app

ach_account_type
string

Must be provided if payout_method is ach

Available options: checking, savings
set_default
boolean

Response

success
boolean
ach_account_id
string

The id of the ach account if ach account was added