Get Received Payment Request Attachment 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
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The payment request ID.

string
required

The attachment ID, from attachments[].attachmentId on the request.

Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json