Download PDF Transaction Detail Attraction

This endpoint is used to download a voucher for a specific transaction. It provides the voucher details related to a transaction ID, allowing partners or clients to retrieve and possibly present the voucher to the end customer.

A. Request Path Variable

FieldTypeDescriptionRequiredExample
transaction_idstringuuid v4
(The unique identifier for the transaction for which the voucher is to be downloaded.)
true“14429004”

B. Response Body

FieldTypeDescriptionExample
response_codestringContains the OpenAPI response code“200062000”
response_messagestringContains the value of OpenAPI response message“Sukses”
data objectContains the metadata related to user list’s pagination
voucher_urlstringThe URL where the voucher can be downloadedhttps://{url}/v1/voucher/3bf0d6d4-4da2-473c-9a46-d2c12eda1976

C. Sample Response

{
    "code": 2000,
    "message": "Sukses",
    "more_info": "",
    "data": {
        "voucher_url": "https://{url}/v1/voucher/3bf0d6d4-4da2-473c-9a46-d2c12eda1976"
    }
}


Try It Here

To try the following endpoint, enter the example request data you want to use in the following form


Path Params
string
required
Headers
date-time
string
Responses

Language
Credentials
OAuth2
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json