Skip to content

API reference: Objects

The Receipt object

A short-lived signed link to the PDF receipt of a paid payment.

Ask for a new one whenever you need it again instead of storing the link.

Receipt object
{
  "expires_at": 1793000900,
  "object": "receipt",
  "url": "https://files.example.com/storage/receipts/Rais-receipt-1042.pdf?signature=..."
}

Attributes

objectstring

Always receipt.

Always receipt.

urlstring

A signed link to the PDF receipt. It works without any key, from a browser or a server, until expires_at: give it to your customer right away, or fetch a new one when you need it again.

expires_atinteger

When url stops working (Unix time, seconds): 15 minutes after the request.