---
title: "Create Refund"
method: POST
path: "/v2/standard/order/refund"
---

# Create Refund

`POST /v2/standard/order/refund`

Cashier's refund interface V2. Supports original or specified refund style, Gate or Web3 refund channel, and more options.

## Headers

- `X-GatePay-Certificate-ClientId` string, required
- `X-GatePay-Signature` string, required
- `X-GatePay-Timestamp` string, required
- `X-GatePay-Nonce` string, required

## Request body

- RefundV2Request
  - `refundRequestId` string, required — Merchant refund request ID
  - `prepayId` string, required — Pre-order ID
  - `refundAmount` string, required — Refund amount
  - `refundReason` string, required — Reason for refund
  - `refundStyle` integer — 1: Original, 2: Specified
  - `refundPayChannel` integer — 1: Gate, 2: Web3
  - `refundToGateUid` integer — Gate user ID for refund recipient
  - `refundAddress` string — Refund address
  - `refundChain` string — Chain for refund
  - `refundBearType` integer — 1: Merchant, 2: User
  - `memo` string — Memo

## Response `200`

Refund request submitted

- RefundV2Response
  - `status` string — Response status
  - `code` string — Response code
  - `errorMessage` string — Error message
  - `data` RefundV2Data
    - `refundRequestId` string — Merchant refund request ID
    - `prepayId` string — Pre-order ID
    - `refundGateId` string — GatePay refund ID
    - `orderAmount` string — Order amount
    - `refundAmount` string — Refund amount
    - `errMsg` string — Error message
    - `orderCurrency` string — Order currency
    - `payCurrency` string — Refund currency
    - `payAmount` string — Merchant pay amount

---

[API](https://skmtc.net/gate/apis/gatepay-api-2.md) · [All operations](https://skmtc.net/gate/apis/gatepay-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gate/gatepay-api-2/versions/db3687218ec6/schema)
