Document V2

Get document PDF

Changed on

Returns the rendered PDF file for a document. The PDF uses the invoice templates and document settings configured on your Swipe account. Pass delivery_challan=1 to get a delivery-challan copy instead.

get/v2/doc/pdf/{doc_hash_id}

Request

  • Base URL
    https://app.getswipe.in/api/partner
  • URL
    https://app.getswipe.in/api/partner/v2/doc/pdf/{doc_hash_id}
  • Auth
    HTTP bearer

Response

File will be downloaded

Changes

    • warning

      deleted the path request parameter doc_hash_id

    • warning

      deleted the query request parameter delivery_challan

    • info

      api operation id v2_get_pdf removed and replaced with get_pdf

    • info

      added the new optional query request parameter delivery_challan to all path's operations