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"
}
Create a payment method for a vendor to pay to
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"
}
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
The ID of the Vendor
Created
The response is of type object
.