Accounts payable
Create a payment method for a vendor
Create a payment method for a vendor to pay to
POST
Create a payment method for a vendor to pay to
api_keyheader
AuthorizationBasic <token>vendor_id*stringThe ID of the Vendor
application/json- body
name*stringtype*"ach"Value in
"ach"account_number*stringrouting_number*stringaccount_type*stringValue in
"checking""savings"Created
application/json- response
id?stringFormat
uuidname?stringtype?"ach"Value in
"ach"active?booleancreated?stringFormat
date-timeach_account_id?stringFormat
uuidach_account_mask?stringach_account_type?stringValue in
"checking""savings"ap_vendor_id?stringFormat
uuidapi_app_id?stringFormat
uuidExample Request
curl -X POST 'https://api.dots.dev/api/v2/accounts-payable/vendors/string/payment-methods' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "type": "ach", "account_number": "string", "routing_number": "string", "account_type": "checking"}'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "type": "ach", "active": true, "created": "2019-08-24T14:15:22Z", "ach_account_id": "e0068de0-8db2-4024-9c5f-8106df79bd77", "ach_account_mask": "string", "ach_account_type": "checking", "ap_vendor_id": "63c4dcdb-7a3c-416d-924a-f16ff91e692f", "api_app_id": "ad6a2ad4-d593-4e3e-bfd5-50592ed119ca"}