v1

latestOpenAPI 3.1.02026-08-0425501.2 MB

Fetch E-Receipt

post/api/valor/fetch-receipt

Headers

Authorizationstring required

Generated bearer token for Admin login <a href="https://valorapi.readme.io/reference/merchant-create-bearer-token" target="_blank"><b>Generate Bearer Token</b></a>

isv-secret-keystring

ISV secret key

Request body

txn_idstring required

A unique response transaction ID from the response of a sale transaction (Numeric - Length of 20 chars)

receipt_typeinteger required
<p>Set the receipt type</p> <table class="valor_module_table"> <tr> <th>Receipt Type</th> <th>Options</th> </tr> <tr><td>Merchant Copy</td><td>1</td></tr> <tr><td>Customer Copy</td><td>2</td></tr> </table>

Response

200

object required