Users
Programatically add a payout method for a user
POST
/
api
/
users
/
wallet
/
add_payout_method
Authorization
Body
{
"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"
}
Authorizations
Authorizationheaderrequired
string
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Body
application/json
ach_account_number
string
Must be provided if payout_method
is ach
or cash_app
ach_account_type
enum<string>
Must be provided if payout_method
is ach
Available options:
checking
, savings
ach_routing_number
string
Must be provided if payout_method
is ach
or 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
payout_methodrequired
enum<string>
Available options:
paypal
, venmo
, ach
, cash_app
set_default
boolean
user_idrequired
string
Response
200 - application/json
ach_account_id
string
The id of the ach account if ach account was added
success
boolean
{
"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"
}