get
https://api-sandbox.paymentlabs.io/payment-requests/received//attachments//file-url
Returns short-lived URLs to view and download one document attached to a payment request.
Use previewUrl to show the document in a browser and downloadUrl to save it. Both stop working at expiresAt, about
5 minutes later; call again for new URLs. Anyone holding a URL can open the file until then, so do not store or share it.
Requires the Payment Requests permission (see List Received Payment Requests).
Errors
404 NOT_FOUND: the request was not submitted to you, the attachment does not exist or was removed, or its file was
never uploaded
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
