curl --request POST \
  --url https://api.dots.dev/api/v2/accounts-payable/vendors/{vendor_id}/payment-methods \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "ach_account_number": "<string>",
  "ach_routing_number": "<string>",
  "ach_account_type": "checking"
}'
{
  "name": "<string>",
  "ach_account_number": "<string>",
  "ach_routing_number": "<string>",
  "ach_account_type": "checking"
}

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

vendor_id
string
required

The ID of the Vendor

Body

application/json
name
string
required
ach_account_number
string
required
ach_routing_number
string
required
ach_account_type
enum<string>
required
Available options:
checking,
savings

Response

201 - application/json
Created
name
string
ach_account_number
string
ach_routing_number
string
ach_account_type
enum<string>
Available options:
checking,
savings