NICEPAY API
API Business Report

Transaction History API

6min

About Transaction History API



Transaction History uses for status reconciliation and transaction amount with . gets list of data up to 5,000 data for every request compatible with needed date.





Transaction History API



API End Point

Request Method

GET

Description

To check history with via 

Header

Content-Type: application/json

Request Format

application/json

Request Parameter

Parameter

Type

Length

Description

Example / Note

mid

Required

VARCHAR2

10

iMid

IONPAYTEST

passwd

Required

VARCHAR2

100

Password gain after Whitelist IP successfully registered on side

( contact NICEPAY Customer Service team for assistance)

123456

transdt

Required

VARCHAR2

8

Transaction data date to be seen

Format: YYYYMMDD

20200101

startno

Required

NUMBER

10

The beginning of data that will be seen

1

Default: 1

endno

Required

NUMBER

10

The last of data that will be seen, maximum 5,000

100

Default: 100

Response Parameter

Parameter

Type

Length

Description

Example / Note

HEADER

Required

Object

-

-

"HEADER": {...}

CODE

Required

NUMBER

4

00

MID

Required

VARCHAR2

10

iMid

IONPAYTEST

TRANS_DT

Required

VARCHAR2

8

The requested data date

Format: YYYYMMDD

20200101

DATA

Required

Object

-

-

"DATA": [ { ... } ]

CODE

Required

NUMBER

4

10

TXID

Required

VARCHAR2

30

Transaction ID

IONPAYTEST01202001010010379759

ORDER_NO

Required

NUMBER

10

 Reference Number

99999

TRANS_STATUS

Required

NUMBER

2

Transaction Status: Transaction Status Code

0

TRANS_DT

Required

VARCHAR2

8

The requested data date

Format: YYYYMMDD

20200101

TRANS_TM

Required

VARCHAR2

8

Hour time from requested data

Format: HHmmss

001037

CANCEL_DT

Required

VARCHAR2

8

Transaction Cancellation Date

Format: YYYYMMDD

-

CANCEL_TM

Required

VARCHAR2

8

The cancellation time

Format: HHmmss

-

PAY_METHOD

Required

VARCHAR2

2

01

TRANS_AMT

Required

NUMBER

19,2

Transaction Amount

10000

CUSTOMER_NO

Required

VARCHAR2

40

 Account Transaction Number

123412**12341234

SETTLMNT_DT

Required

VARCHAR2

8

 date, it will be shown directly if available

-

TAIL

Required

Object

-

-

"TAIL": { ... }

CODE

Required

NUMBER

4

99

MID

Required

VARCHAR2

10

iMid

IONPAYTEST

TRANS_DT

Required

VARCHAR2

8

The requested data date

Format: YYYYMMDD

20200101

APP_TRANS_CNT

Required

NUMBER

10

The sum of total volume

6

APP_TRANS_AMT

Required

NUMBER

19,2

The sum of total amount

290087

CC_TRANS_CNT

Required

NUMBER

10

The sum of total refund volume

0

CC_TRANS_AMT

Required

NUMBER

19,2

The sum of total amount refund

0

Sample Parameter

Request
Response