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
}

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 response is of type object.