API create withdraw request
This is the API used to create withdraw request.
API:
Path: v2/col/withdraw-requests
Method: POST
Request: Content-Type: application/json
Request Parameter
requestId
String
Y
Withdraw config request id from merchant
bankConfigId
String
Y
The ID of withdraw bank config get from API Get List Withdraw Bank Configs
amount
String
N
Total Withdraw amount.
Used for DOMESTIC withdraw request
requestToCurrency
String (ISO 4217)
N
Request withdraw to currency. Default value: "VND"
Used for INTERNATIONAL withdraw/remitout request
virtualAccountIds
String Array
N
List of Virtual Account Number. To create remitout request for all collection transactions of list virtual accounts
Used for INTERNATIONAL withdraw/remitout request
reconcileCodes
String Array
N
List of reconciliations code. To create remitout request for all collection transactions for settled reconciliations
Used for INTERNATIONAL withdraw/remitout request
collectionTransIds
String Array
N
List of collection transaction. To create a remitout request for list of Collection Transaction
Used for INTERNATIONAL withdraw/remitout request
Note: For Remitout/International withdraw request, merchant only need to use 1 in these optional params: virtualAccountIds, reconcileCodes, collectionTransIds. If those params were not used, NeoX System will automatically select all collection transactions that has payoutStatus of "READY" to create withdraw request.
Response Data
code
Number
message
String
Error description.
data
Object
neoResponseId
String
The ID of NeoX response.
CreateWithdrawRequestResponse
merchantCode
String
Merchant Code
requestId
String
The requestId when creating withdraw request.
amount
Number
Amount of withdraw request in VND.
currency
String
(Optional) Remitout request currency.
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.
collectionTransactions
Array Object
(Optional) List of Collection transactions envolved to withdraw request. Object data:
Last updated
Was this helpful?