v1

latestOpenAPI 3.1.02026-07-228956435.8 KB
Refunds

Get a refund voucher URL

Returns a presigned URL to download the PDF voucher of a refund. The URL expires 5 minutes after it is generated. Vouchers are available for succeeded refunds in live mode, disbursed by bank transfer or card.

get/refunds/{id}/voucher_url

Path parameters

idstring required

The id of the refund whose voucher you want to retrieve.

Response

Presigned URL to download the PDF voucher. The URL expires 5 minutes after it is generated.

urlstring nullable required

Presigned URL to download the PDF voucher of the refund. The URL expires 5 minutes after it is generated.

Example response

{
  "url": "https://storage.googleapis.com/fintoc-vouchers/refunds/ref_8XzNbCv1LqKjWp4R/voucher.pdf"
}