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"
}'
{
"platform": "ach",
"handle": "<string>",
"email": "<string>",
"phone_number": "<string>",
"cash_tag": "<string>",
"account_number": "<string>",
"routing_number": "<string>",
"account_type": "checking",
"rtp_enabled": true
}
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.
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"
}'
{
"platform": "ach",
"handle": "<string>",
"email": "<string>",
"phone_number": "<string>",
"cash_tag": "<string>",
"account_number": "<string>",
"routing_number": "<string>",
"account_type": "checking",
"rtp_enabled": true
}
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Id of the user to fetch
OK
The response is of type object
.
Was this page helpful?