curl --request POST \
--url https://api.dots.dev/api/v2/accounts-payable/payables/{payable_id}/file \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{}'
{
"id": "<string>",
"updated": true,
"object": "<string>"
}
Upload a file to be attached to the payable
curl --request POST \
--url https://api.dots.dev/api/v2/accounts-payable/payables/{payable_id}/file \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{}'
{
"id": "<string>",
"updated": true,
"object": "<string>"
}
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
The ID of the Payable
OK
The response is of type object
.
Was this page helpful?