Reference
/- Attach an uploaded file to a bill
Upload a bill attachment file and get its URL
Attach an uploaded file t...
Security
oauth2ClientCredentials(Required scopes: bills:write)
- Mock serverhttps://developer.boyahq.com/_mock/v2/openapi/bills/{billId}/attachments
- Productionhttps://api.boyahq.com/v2/bills/{billId}/attachments
- Sandboxhttps://sandbox.api.boyahq.com/v2/bills/{billId}/attachments
curl -i -X POST \
'https://developer.boyahq.com/_mock/v2/openapi/bills/{billId}/attachments' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'business_id: string' \
-H 'org_wallet_ref: string' \
-d '{
"file_name": "invoice.pdf",
"url": "string",
"content_type": "application/pdf",
"size": 102400
}'