Skip to main content
GET
Fetch a download link of the boleto or Pix of a payment

Authorizations

X-API-KEY
string
header
required

API Key Authentication.

Path Parameters

id
string<uuid>
required

The unique identifier of the payment in our system.

Query Parameters

paymentFileType
enum<string>
required

The file of the payment to download: bank_slip for the file of its boleto, or pix for the file of its Pix.

Available options:
pix,
bank_slip

Response

A link that downloads one file with no API key, for a client that cannot receive a file, such as a chat client.

url
string<uri>
required

The URL that downloads the file with no API key until expiresAt. Whoever holds the URL downloads the file, so share it only with whoever may read the file.

fileName
string
required

The name of the file that the URL downloads.

Example:

"PADAR-00042.pdf"

expiresAt
string<date-time>
required

The instant, in UTC, when the URL stops working, five minutes after Aira creates it.