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



URL Params

ParametersValue
tx_id[integer]
Example: tx_id = 1011

Success 200 Repsonse Parameters

FieldDescription
linkThe Invoice Link for the particular transaction.

Sample Repsonse

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

Failure Parameters

Status CodeCodeCode Description
HTTP Status 400
1Invalid Transaction ID
2Vendor 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
Click Try It! to start a request and see the response here!