The endpoint is used to get the invoice for a particular transaction.



URL Params

Parameters

Value

tx_id

[integer]
Example: tx_id = 1011


Success 200 Repsonse Parameters

Field

Description

link

The Invoice Link for the particular transaction.


Sample Repsonse

{
    "link": “https://safegold.in/invoices/qDrtGt.pdf”
            }
            HTTP status 200 (success)

Failure Parameters

Status Code

Code

Code Description

HTTP Status 400

1

Invalid Transaction ID

2

Vendor does not match


📘

Points to Remember

Once the transaction is confined by Buy Confirm API, tx_id must be passed as a parameter to this API for generating the link to download the invoice associated with that transaction ID.

Language
Response
Click Try It! to start a request and see the response here!