---
title: "Fetch E-Receipt"
method: POST
path: "/api/valor/fetch-receipt"
---

# Fetch E-Receipt

`POST /api/valor/fetch-receipt`

## Headers

- `Authorization` string, required
- `isv-secret-key` string

## Request body

- object
  - `txn_id` string, required — A unique response transaction ID from the response of a sale transaction (Numeric - Length of 20 chars)
  - `receipt_type` integer, 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`

200

- object

## Other responses

- `400` — 400

---

[API](https://skmtc.net/valorpaytech/apis/ecommerce-api.md) · [All operations](https://skmtc.net/valorpaytech/apis/ecommerce-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/valorpaytech/ecommerce-api/revisions/c6468b606325/schema)
