Skip to main content

Reject a disbursement order

DELETE
URLhttps://open-api.tingee.vn/v1/direct-link/reject-transaction

Reject approval of a disbursement order (Checker)

Header Request​

HeaderRequiredDescription
Content-Type✓application/json
x-client-id✓Partner identifier issued by TINGEE.
x-signature✓HMAC SHA512 authentication signature.
x-request-timestamp✓Time the request is sent (format: yyyyMMddHHmmssSSS, UTC+7)

Body Parameter​

FieldTypeRequiredDescription
bankBinstring✓Bank BIN. Currently only 970418 (BIDV) is supported. The API uses the BIDV authorization session of the Checker role.
actionTypestring✓Disbursement order type
- INTERNAL_TRANSFER: Domestic transfer
- SALARY: Salary payment
- BILL_PAYMENT: Bill payment (payment list)
transactionIdsarray✓List of pending-approval transaction IDs to reject (the id field in the result of Transaction inquiry with inquiryType = PENDING_APPROVAL_LIST).
rejectReasonstring✕Reason for rejection (if any).

Code samples​

curl --location --request DELETE 'https://open-api.tingee.vn/v1/direct-link/reject-transaction' \
--header 'accept: application/json' \
--header 'x-client-id: YOUR_CLIENT_ID' \
--header 'x-request-timestamp: 20240509154004003' \
--header 'x-signature: YOUR_SIGNATURE' \
--header 'Content-Type: application/json' \
--data '{
"bankBin": "970418",
"actionType": "INTERNAL_TRANSFER",
"transactionIds": [
"PM0226061000074420"
],
"rejectReason": "Thông tin không chính xác"
}'

Sample Response​

{
"code": "00",
"message": "Success",
"data": {
"successfulTransactions": [
{
"transactionId": "PM0226061000074420",
"transactionType": "in-bank",
"amount": 32987,
"currency": "VND",
"feeAccountNumber": "8600007007",
"transactionCode": "PM02",
"effectiveDate": "2026-06-10",
"amountText": "Ba mươi hai nghìn chín trăm tám mươi bảy đồng",
"feeTotal": 11000,
"feeMethod": "O",
"remark": "Chuyen tien",
"originId": "TRANS_1006_A04",
"priority": true,
"status": "REJECTED",
"creditAccountType": "ACCOUNT",
"creditAccountNumber": "2220366666",
"creditAccountName": "NGUYEN VAN A",
"creditBankCode": "01202001",
"creditBankShortName": "BIDV",
"debitAccountNumber": "8600007007",
"debitAccountName": "Title 1 8600007007"
}
],
"failedTransactions": []
}
}
FieldTypeDescription
codestringResult code (00 = Success).
messagestringResponse message.
dataobjectObject containing the rejection result.
data.successfulTransactionsarrayList of transactions rejected successfully.
For INTERNAL_TRANSFER, the array contains the details of one representative transaction (the first transaction rejected) — use Transaction inquiry to check the status of each transaction when you reject several at once.
data.failedTransactionsarrayList of transactions that failed to be rejected.

Elements of successfulTransactions / failedTransactions​

FieldTypeDescription
transactionIdstringBIDV transaction ID.
transactionTypestringTransaction type: in-bank (within BIDV), regular-out (regular interbank transfer), fast-out (NAPAS 247 fast transfer).
transactionCodestringBIDV transaction type code (e.g. PM02, PM13).
statusstringTransaction status returned by BIDV (e.g. INIT, PENDING_APPROVAL, PROCESSING, BANK_PROCESSING, APPROVED, SUCCESS, REJECTED, FAILED).
amountnumberTransaction amount.
amountTextstringAmount in words.
currencystringCurrency (VND).
remarkstringTransaction description.
approvalNotestringApproval submission note from the maker (Maker).
originIdstringThe requestId reference the partner sent when creating the order.
prioritybooleanPriority processing flag.
effectiveDatestringEffective date of the transaction.
acceptedDatestringTime the bank accepted the transaction.
approvedDatestringTime the transaction was approved.
processDatestringTime the bank processed the transaction.
feeMethodstringFee bearer: O (the payment account pays the fee), B (the recipient pays the fee).
feeAccountNumberstringFee account.
feeAmountnumberTransaction fee (excluding VAT).
feeVATnumberVAT on the fee.
feeTotalnumberTotal transaction fee.
debitAccountNumberstringDebit account number.
debitAccountNamestringDebit account name.
creditAccountTypestringReceiving method: ACCOUNT (account number) or ID (ID document).
creditAccountNumberstringRecipient account number.
creditAccountNamestringRecipient name.
creditBankCodestringReceiving bank code in CITAD format (e.g. 01202001 is BIDV).
creditBankNamestringReceiving bank name.
creditBankShortNamestringReceiving bank short name.
creditBankAbbrstringReceiving bank abbreviation.
creditBranchCodestringReceiving bank branch code.
creditBranchNamestringReceiving bank branch name.
creditIdstringRecipient ID document number (when creditAccountType = ID).
creditIssueDatestringID document issue date.
creditIssueAddressstringID document place of issue.
creditCurrencystringRecipient currency.
originalCreditAccountNumberstringOriginal recipient account number (from the original data when the order was created, if returned by BIDV).
originalCreditNamestringOriginal recipient name (from the original data when the order was created, if returned by BIDV).

Fields that BIDV does not return are omitted from the element (or set to null).


Common error codes​

CodeDescriptionHow to handle
1077The BIDV authorization session of the approver (Checker) has expired or has not been grantedCall Get the authorization URL with role = Checker to re-authorize, then reject again.
1021The bank is not supported for this APICheck bankBin; this API only supports BIDV (970418).
90, 91, 92, 97Request authentication error (timestamp, client-id, signature)See System error codes.
OthersOther errorsSee Error codes.