API update Virtual Account transaction data from merchant
This is the API is used to update transaction data from merchant for a Virtual Account which has transactions with NeoX.
API:
Path: v2/col/virtual-account/:vaNumber/transdata
Method: PUT
Request: Content-Type: application/json
Request Parameter
transData
Array
Y
The array contains the list of transaction data from the merchant.
Refer to TransactionData
batchId
String
Y
The Id of merchant batch process for this Virtual Account
batchTime
Date
Y
The ISODate of merchant batch process for this Virtual Account
batchAmount
Number
Y
The amount of merchant batch process for this Virtual Account
neoTransInfo
Array
N
The array contains the list of Neo Collection transactions related to this merchant batch process.
Refer to NeoTransactionInfo.
note
String
N
The note for this merchant batch process
TransactionData
id
String
Y
The ID of transaction/Order
amount
Number
Y
The transaction/order amount
desc
String
N
The description of transaction
TransactionExtraInfo
depot
String
N
Extra info from merchant for transaction.
invoicingCompany
String
N
Invoicing Company
vendor
String
N
vendor
dmId
String
N
Delivery man ID
dmName
String
N
Delivery man name
invoiceDate
String
N
Invoice Date
NeoTransactionInfo
transId
String
Y
The Transaction Id of collection transaction from NeoX.
amount
Number
N
The actual process amount from merchant for this collection transaction.
Response Data
message
String
Error description.
neoResponseId
String
The ID of NeoX response
UpdateVirtualAccountTransactionsResponse
batchId
String
The Id of merchant batch process for this Virtual Account
virtualAccountBalance
Number
Current Virtual Account balance
transData
Array
The array contains the list of transaction data from the merchant.
Refer to TransactionDataResult
TransactionDataResult
id
String
The ID of transaction/Order
amount
Number
The transaction/order amount
desc
String
The description of transaction
settleStatus
String
Settlement status of transaction. "UNSETTLED": Transaction has not been settled yet "SETTLED": The transaction has been settled
extraInfo
Object
The extra info for transaction. Refer to TransactionExtraInfo
Last updated