---
title: "Publish API"
method: POST
path: "/?status"
---

# Publish API

`POST /?status`

## Request body

- object
  - `appid` string, required — Merchant APP ID (Alphanumeric - Length of 32 chars)
  - `appkey` string, required — Merchant APP Key (Alphanumeric - Length of 32 chars)
  - `epi` string, required — EPI is an end point identifier, Identify the device on valor infrastructure, it's a 10 digit number starts with 2
  - `txn_type` string, required — Transaction type should be set as 'vc_publish'
  - `channel_id` string, required — Channel ID (Alphanumeric - Length of 32 chars)
  - `isv` string — ISV Certificate ID
  - `version` string — Ignore the 'Transaction is already in a processing state' message and set the version to 2
  - `payload` object, required
    - `TRAN_MODE` string, required
    - `TRAN_CODE` string, required
    - `AMOUNT` string, required
    - `REQ_TXN_ID` string, required — Request transaction ID for each transaction unique identifier (Max character 25)
    - `CHILD_EPI` string — If the Child EPI is required for Multi-MID

## 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)
