Confirm Debit
Last updated
Last updated
This API is used to confirm the transaction by debiting the amount from the remitter user account.
INFO
This API can only be used by the remitter entity of the respective transaction.
WARNING
If the txn_nature
in the Debit Amount Webhook is CASH call the Confirm Debit API with the status HOLD
(1002)
in realtime.
When the user receives money from the entity's cash counter, call the Confirm Debit API realtime and confirm the status asSUCCESS
.
The txn_reference
must be the same for HOLD
(1002)
and SUCCESS
/FAILED
for the same transaction if the txn_nature
is CASH.
If the transaction is not completed, it will expire and be marked as FAILED
within a maximum of 12 hours.
MANDATORY
If the txn_nature
in the Debit Amount Webhook is other than CASH call the Confirm Debit API with the status SUCCESS
/ FAILED
in realtime.
Parameter | Type | Description |
---|---|---|
Send request as SUCCESS
if the remitter user's account has sufficient balance. Else status must beFAILED
.
Use HOLD
only if the txn_nature
in the Debit Amount Webhook is CASH.
1001
- SUCCESS
1002
- HOLD
8899
- Insufficient balance
8898
- Account not found
8897
- Account is inactive / blocked / closed
8896
- Debit is not allowed
8894
- User declined
8893
- Time expired
8892
- Attempts to retry exceeded maximum
8891
- Settlement account not found
INFO
The txn_reference
may contain -H
as a suffix if the txn_attempt_status
in the response is HOLD
.
Eg: "txn_reference": "625896169969166531181616306-H"
See the listed common result codes
See the list of confirmDebit result codes
Parameter | Type | Description |
---|---|---|
auth
Object
API_ID
String
Unique ID generated from the dashboard. Eg: 1a21as51a351f1155f
API_KEY
String
Unique KEY generated from the dashboard. Eg: AAD5451FS654SD6F5SD46F3S1D5S
result
Object
code
Integer
Status code for the transaction request. Find result codes
status
String
The status against transaction created.
Allowed values: SUCCESS
, FAILED
, HOLD
data
Object
txn_nature
String
The nature of the transaction. Find transaction nature
Eg: INTERPE
txn_type
String
txn_number
String
A Unique Transaction Number. Refer Eg: 02166814365694072422429
txn_urn
String
A Unique Transaction Reference Id. Refer
Eg: LJOTHD1668143656985ZBSVPV
txn_amount
String
Transaction amount debited from the remitter account. Eg: 1200.99
txn_reference
String
A unique transaction reference id created by the remitter entity. Eg: 123456789ghhg08nxv
account_balance
String
The latest balance after debiting the txn_amount. Eg: 1200.99
head
Object
HTTP_CODE
Integer
HTTP response status codes. Refer
result
Object
code
Integer
Status code for the transaction request. Find result codes
status
String
The status against transaction created. Refer
data
Object
txn_urn
String
A Unique Transaction Reference Id. Refer
Eg: LJOTHD1668143656985ZBSVPV
txn_number
String
A Unique Transaction Number. Refer Eg: 02166814365694072422429
txn_reference
String
A unique transaction reference id created by the remitter entity. Eg: 123456789ghhg08nxv
txn_status
String
Status of transaction. Refer
Eg: PROCESSING
txn_attempt_status
String
Status of Confirm attempt. Refer
Eg: PENDING
txn_nature
String
The nature of the transaction. Find transaction nature
Eg: INTERPE
txn_type
String
txn_mode
String
The mode of the transaction. Refer
Eg: UPI
txn_note
String
The user added note for reference. Eg: gggggggg
txn_amount
String
Transaction amount. Eg: 1200.99
txn_service_charge
String
The amount charged by the entity to the customer for using Rimit's services. This amount can be debited from the customer.
Default value: 0 (Zero). Eg: 1
txn_sp_fee
String
The amount charged by the bank/service provider for facilitating the transaction. This amount can be debited from the customer. Default value: 0 (Zero). Eg: 3
txn_fee
String
Fees charged by Rimit to User for any Services. This amount can be debited from the customer. Default value: 0 (Zero). Eg: 25