Confirm Debit
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 statusHOLD
(1002)
in realtime.When the user receives money from the entity's cash counter, call the Confirm Debit API realtime and confirm the status as
SUCCESS
.The
txn_reference
must be the same forHOLD
(1002)
andSUCCESS
/FAILED
for the same transaction if thetxn_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.
Request
Parameters
Parameter | Type | Description |
---|---|---|
auth |
| |
API_ID |
| Unique ID generated from the dashboard. Eg: 1a21as51a351f1155f |
API_KEY |
| Unique KEY generated from the dashboard. Eg: AAD5451FS654SD6F5SD46F3S1D5S |
result |
| |
code |
| Status code for the transaction request. Find result codes |
status |
| The status against transaction created.
Allowed values: |
data |
| |
txn_nature |
| The nature of the transaction. Find transaction nature Eg: |
txn_type |
| |
txn_number |
| A Unique Transaction Number. Refer Eg: 02166814365694072422429 |
txn_urn |
| A Unique Transaction Reference Id. Refer Eg: LJOTHD1668143656985ZBSVPV |
txn_amount |
| Transaction amount debited from the remitter account. Eg: 1200.99 |
txn_reference |
| A unique transaction reference id created by the remitter entity. Eg: 123456789ghhg08nxv |
account_balance |
| The latest balance after debiting the txn_amount. Eg: 1200.99 |
ON FIRST REQUEST
Send request as
SUCCESS
if the remitter user's account has sufficient balance. Else status must beFAILED
.Use
HOLD
only if thetxn_nature
in the Debit Amount Webhook is CASH.
Request format
Result Code
Success
1001
- SUCCESS
Hold
1002
- HOLD
Failed
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
Response
Parameters
Parameter | Type | Description |
---|---|---|
head |
| |
HTTP_CODE |
| HTTP response status codes. Refer |
result |
| |
code |
| Status code for the transaction request. Find result codes |
status |
| The status against transaction created. Refer |
data |
| |
txn_urn |
| A Unique Transaction Reference Id. Refer Eg: LJOTHD1668143656985ZBSVPV |
txn_number |
| A Unique Transaction Number. Refer Eg: 02166814365694072422429 |
txn_reference |
| A unique transaction reference id created by the remitter entity. Eg: 123456789ghhg08nxv |
txn_status |
| Status of transaction. Refer
Eg: |
txn_attempt_status |
| Status of Confirm attempt. Refer
Eg: |
txn_nature |
| The nature of the transaction. Find transaction nature Eg: |
txn_type |
| |
txn_mode |
| The mode of the transaction. Refer Eg: |
txn_note |
| The user added note for reference. Eg: gggggggg |
txn_amount |
| Transaction amount. Eg: 1200.99 |
txn_service_charge |
| 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 |
| 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 |
| Fees charged by Rimit to User for any Services. This amount can be debited from the customer. Default value: 0 (Zero). Eg: 25 |
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"
Response format
Result Code
See the listed common result codes
See the list of confirmDebit result codes
Last updated