Reference
/- Upload a supporting document for a transaction
Create a new transaction
Get money movement analytics for a specific month
Get transaction fees
Get recent transactions
Get transaction by ID
List transactions
Approve a transaction
Reject a transaction
Tag a transaction with a subcategory
Upload a supporting document for a transaction
Remove a document from a transaction
Upload a supporting docum...
Uploads a supporting document (PDF, XLS, XLSX, DOCX, CSV, PNG, JPEG) to S3 for a specific transaction. Maximum file size is 10MB.
Security
oauth2ClientCredentials(Required scopes: transactions:write)
MIME content type of the document
Enum:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet""application/pdf""application/vnd.openxmlformats-officedocument.wordprocessingml.document""text/csv""image/png""image/jpeg"
Example:"application/pdf"
- Mock serverhttps://developer.boyahq.com/_mock/v2/openapi/transactions/supporting-document
- Productionhttps://api.boyahq.com/v2/transactions/supporting-document
- Sandboxhttps://sandbox.api.boyahq.com/v2/transactions/supporting-document
curl -i -X POST \
'https://developer.boyahq.com/_mock/v2/openapi/transactions/supporting-document?id=string' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'business_id: string' \
-H 'org_wallet_ref: string' \
-d '{
"transactionRef": "M-G2026001234",
"transactionId": "64ec5b4bffaef6ff2a28455d",
"contentType": "application/pdf",
"fileContent": "JVBERi0xLjQKJeLjz9MKMSAwIG9iago8PC..."
}'Document uploaded successfully
The S3 URL of the uploaded document
Example:"https://supporting-docs-bucket.s3.eu-west-1.amazonaws.com/transactions/64ec5b4bffaef6ff2a28455d/TXN-2026-001234-1705766400000.pdf"
The transaction ID the document was uploaded for
Example:"64ec5b4bffaef6ff2a28455d"
Response
{ "url": "https://supporting-docs-bucket.s3.eu-west-1.amazonaws.com/transactions/64ec5b4bffaef6ff2a28455d/TXN-2026-001234-1705766400000.pdf", "transactionId": "64ec5b4bffaef6ff2a28455d", "transactionRef": "TXN-2026-001234", "contentType": "application/pdf" }