Tevau-openApi
  1. 07. Simulated Trading
Tevau-openApi
  • Get started
  • Signature instructions
  • Transaction description
  • 01. User
    • 1.1 Create User
      POST
    • 1.2 Query User
      POST
  • 02. KYC
    • 2.1 Submit KYC information
      POST
    • 2.2 Get the URL
      POST
    • 2.3 Query liveness results
      POST
    • 2.4 Query KYC
      POST
  • 03. Card
    • 3.1 Create Card
      POST
    • 3.2 Query Card List
      POST
    • 3.3 Adjust Card Balance
      POST
    • 3.4 Card Details
      POST
    • 3.5 Bind Card
      POST
    • 3.6 Close Card
      POST
    • 3.7 Freeze Card
      POST
    • 3.8 Unfreeze card
      POST
    • 3.9 Activate Card
      POST
    • 3.10 Card PAN
      POST
    • 3.11 Card PIN
      POST
    • 3.12 Card Limit
      POST
    • 3.13 Set Card Fee
      POST
    • 3.14 Query Card Fee
      POST
    • 3.15 3DS
      POST
    • 3.16 Update Phone
      POST
    • 3.17 Update Email
      POST
  • 04. Query logistics information
    • 4.1 Query Order
  • 05. Prefund
    • 5.1 Prefund Balance
    • 5.2 Query Bill Details
  • 06. Transaction
    • 6.1 Transaction History
    • 6.2 Transaction Details
  • 07. Simulated Trading
    • 7.1 Authorisation
      POST
    • 7.2 Clearing
      POST
    • 7.3 Refund
      POST
    • 7.4 Reversal
      POST
    • 7.5 3DS
      POST
    • 7.6 Simulate card status
      POST
  • 08. Webhook
    • 8.1 KYC Results
    • 8.2 Card Status
    • 8.3 Changes in card balance
    • 8.4 3DS
    • 8.5 Transaction
    • 8.6 Logistics status
  1. 07. Simulated Trading

7.3 Refund

POST
/openapi/trade/refund
Refund of simulated transactions

Request

Header Params

Body Params application/json

Example
{
    "transactionID": "string",
    "transactionAmount": "string",
    "billAmount": "string",
    "unrelated": "string"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-test.tevaupay.com/openapi/trade/refund' \
--header 'x-nexus-api-key;' \
--header 'versions;' \
--header 'appId;' \
--header 'timestamp;' \
--header 'nonce;' \
--header 'sign;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "transactionID": "string",
    "transactionAmount": "string",
    "billAmount": "string",
    "unrelated": "string"
}'

Responses

🟢200
application/json
Body

Example
{
    "orderId": "CT2506140802104234",
    "cardId": "CIDV019485633101",
    "eventType": "Refund",
    "status": 2,
    "transAmount": 10,
    "transCurrency": "CNY",
    "merchantData": {
        "mccCode": "6011",
        "merchantId": "12345678",
        "merchantName": "Tevau",
        "merchantCountry": "HK"
    },
    "details": {
        "subOrderId": "S2506140809104246",
        "principal": 5,
        "refund": {
            "refund": 5,
            "refundFee": 0.2,
            "channelRefund": 5,
            "channelRefundFee": 0.4
        },
        "fxFee": 0.15,
        "authorizationFee": 0.05,
        "atmFee": 0,
        "channelPrincipal": 5,
        "channelAtmFee": 0,
        "channelAuthorizationFee": 0.1,
        "channelFxFee": 0.3,
        "subStatus": 1,
        "subType": 9,
        "remark": "Refund Standard",
        "createTime": 1749888598000,
        "createTimeStamp": 1749888597830
    },
    "channel": "ECOMMERCE"
}
Modified at 2025-07-29 02:59:53
Previous
7.2 Clearing
Next
7.4 Reversal
Built with