academyFIVE API icon

academyFIVE API

Interact with academyFIVE API

Actions549

Financial-documents → Download a refund document by database ID

AI-generated

Summary

Downloads the refund document identified by its database ID from the academyFIVE API and returns it as binary data.

Inputs

  • refundId (required) — Unique database ID of the refund record. Used in the request path /api/v1/financial-documents/refund/id/{refundId}.

Output shape

One item containing binary data in binary.data, plus JSON metadata.

The binary file name is taken from the response Content-Disposition header when available, otherwise from the request URL, with data as a fallback. JSON metadata includes the MIME type, file name, response headers, and status code.

Links

Discussion