Terminal API : Upload Settlement Info

The payment application reports back settlement information using this API.

This API is for Payment Application

Upload Settlement Info

Test Enviroment:

POSThttps://oversea.paywizard.biz/ovstrade/mrtSettlementReport/settlementReport

Production Enviroment:

POSThttps://portal.paywizard.biz/ovstrade/mrtSettlementReport/settlementReport

Headers

Name
Value

Content-Type

application/json

Request Body

Name
Type
Mandatory
Description

mid

String

Merchant ID

tid

String

Terminal ID

merchantName

String

merchantAddr

String

packageName

String

Payment Application Package Name

sn

String

Terminal S/N

reportTime

String

currencyCode

String

batchNumber

String

paymentTypes

List<Object>

{credit,debit,debit_master_visa,extra}

-paymentType

String

-paymentNumber

String

-payTypeBatchNumber

String

-settlementLogs

List<Object>

--tradeType

String

{sale,void,total}

--paymentNumber

String

--currencyCode

String

--tradeAmount

Long

Request Sample

{
    "mid": "10800000003",
    "tid": "00000001",
    "sn": "WP20031Q21000820",
    "merchantName": "Test Merchant Name",
    "merchantAddr": "wu xi",
    "reportTime": "20241218141418",
    "packageName": "com.wizarpos.usbdevicedemo",
    "currencyCode": "840",
    "batchNumber": "0000000002",
    "paymentTypes": [
        {
            "paymentType": "credit",
            "paymentNumber": 1,
            "settlementLogs": [
                {
                    "tradeType": "sale",
                    "paymentNumber": 1,
                    "currencyCode": "840",
                    "tradeAmount": 705,
                },
                {
                    "tradeType": "void",
                    "paymentNumber": 0,
                    "currencyCode": "840",
                    "tradeAmount": 0,
                },
                {
                    "tradeType": "total",
                    "paymentNumber": 1,
                    "currencyCode": "840",
                    "tradeAmount": 705,
                }
            ]
        }
    ]
}

Request Data Sample

{
    "Data":"dN7dv7+HW7e+6EvP5P4iNq4NtAg8IMmuhfFp2bj8u8xceItpvExXdCkHB/2V3wrVQoX7Ooh+mPzKmV/ma7UQcXnLDuD9PCBeHcrO3HFS8lJKQKruEumpaHvtVoW+lM4v7uRh5mV+CFPCBUff0u10M8+WSdprwnEB2blqN6uuqGSAqJnhCLZVZUdYEwH/mIdhWEEXjQDlBmC1K0Cje2e5s+PI87fxrmJJ3qrYDtTEZ+L+kNRSVdNBs6kGouKJ/C4mNF6O6zJtB8EkBrpPibJ9XSIFLku+JPMmYU2Aj+/qbWaQXZOaLp9inQlt+1IUzfT8vggsXDWwmjPcVpyj/dDW/Q=="
}

Response Body

Name
Type
Mandatory
Description

code

int

Response Code

(200 Success,

Non-200 Failed)

msg

String

Response Message

Response Sample

{
    "code": 200,
    "msg": "200"
}

Last updated