API get detail withdraw request

  • Purpose: This is the API used to get detail of withdraw request with requestId provided by merchant.

  • API:

    • Path: v2/col/withdraw-requests/:requestId

    • Method: GET

    • Request: Content-Type: application/json

Request Parameter

Parameter
Data Type
Required
Description

requestId

String

Y

The requestId when merchant create withdraw request.

Response Data

Parameter
Data Type
Description

code

Number

Error code, refer to table of error codes.

message

String

Error description.

neoResponseId

String

The ID of NeoX response.

GetDetailWithdrawRequestResponse

Parameter
Data Type
Description

merchantCode

String

Merchant Code

requestId

String

The requestId when creating withdraw request.

withdrawTransId

String

ID of withdraw transaction from NeoX.

(Will be returned when withdraw request was approved)

amount

Number

Amount of withdraw request in VND.

currency

String

(Optional) Remitout request currency.

remitedAmount

Number

(Optional) Amount of remitout request in currency.

fxRate

Number

(Optional) Foreign exchange rate for remitout request.

bankSwiftCode

String

Withdraw request to bank swiftcode.

bankAccountNumber

String

Withdraw request to bank account number.

bankAccountName

String

Withdraw request to bank account name.

bankBranch

String

Withdraw request to bank branch.

status

String

Withdraw request status, include: PENDING: Withdraw request has been created and waiting for approval. APPROVED: Withdraw request has been approved. REJECTED: Withdraw request has been rejected, view note for reject reasons.

approvalDate

Datetime String (ISO 8601)

(Optional) Date of approval from NeoX.

(Will be returned when withdraw request was approved)

collectionTransactions

Array Object

(Optional) List of Collection transactions envolved to withdraw request. Object data:

{
  "virtualAccountId": String,
  "reconcileCode": String,
  "transId": String,
  "amount": Number,
  "transDate": String
}

note

String

Note for current withdraw request.

createdAt

Datetime String (ISO 8601)

Record created time

updatedAt

Datetime String (ISO 8601)

Record last updated time

Last updated

Was this helpful?