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

ParameterData TypeRequiredDescription

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

ParameterData TypeRequiredDescription

id

String

Y

The ID of transaction/Order

amount

Number

Y

The transaction/order amount

desc

String

N

The description of transaction

extraInfo

Object

N

The extra info for transaction. Refer to TransactionExtraInfo

TransactionExtraInfo

ParameterData TypeRequiredDescription

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

ParameterData TypeRequiredDescription

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

ParameterData TypeDescription

code

Number

Error code, refer to table of error codes.

message

String

Error description.

neoResponseId

String

The ID of NeoX response

Last updated