5.4 Query Refund

1. Overview

Use this API to inquire about the refund status of a previously submitted refund request.

2. Request Info

  • Method: post

  • Path: https://prod-openapi-v2.newpay.la/beta/pay/uniQueryRefund

2.1 Request Header

Key
Value

Content-Type

application/json

2.2 Request Data

Name
Description
Type
Required

appId

Unique identifier assigned to a third-party application platform

string

true

mchId

Unique identifier assigned to a third-party merchant

string

true

newpayRefundNo

Refund order number in NewPay

string

false

mchRefundNo

Refund order number in third-party merchant

string

false

sign

string

true

circle-info

Although both newpayRefundNo and mchRefundNo are optional, at least one of them must be provided.

2.3 Response Data

Name
Description
Type

success

Success flag: true/false

boolean

message

Response message

string

code

string

timestamp

Response timestamp

long

data

Result

object

> newpayRefundNo

Refund order number in NewPay

string

> mchRefundNo

Refund order number in third party merchant

string

> newpayOrderNo

payment order number in NewPay

string

> refundAmt

Refund amount and currency

json

>> value

amount

string

>> currency

CNY: 人民币 USD: 美元 LAK: 老挝币

string

> orderAmt

original order amount and currency

json

>> value

amount

string

>> currency

CNY: 人民币 USD: 美元 LAK: 老挝币

string

> refundStatus

refund status: SUCCESS/FAIL/PROCESSING

int

> sign

Data signature

string

Last updated