PUT
/
v2
/
users
/
{user_id}
/
payout-methods
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"
}'
{
  "id": "<string>",
  "platform": "ach",
  "description": "<string>",
  "mask": "<string>",
  "email": "<string>",
  "phone_number": "<string>",
  "cash_tag": "<string>",
  "country": "<string>",
  "currency": "<string>"
}

Authorizations

Authorization
string
header
required

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

Response

200 - application/json

OK

The payout method.