Deposit-Withdraw Status
POST/v1.1/finance/deposit-withdraw/status
This is used to get the details of the deposit and withdrawal requests initiated by the customers. This also gives the current status of the requests made by customers.
Request
- application/json
Body
The customer number
Possible values: Value must match regular expression ^[0-9]{4}/(0[1-9]|1[0-2])/(0[1-9]|[1-2][0-9]|3[0-1])$
Example: 2022/04/04
Possible values: Value must match regular expression ^[0-9]{4}/(0[1-9]|1[0-2])/(0[1-9]|[1-2][0-9]|3[0-1])$
Example: 2022/04/04
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- example
Schema
- Array [
- ]
Possible values: non-empty
, [SUCCESS
, FAILED
]
Possible values: non-empty
Find error codes here
list object[]
Possible values: >= 1
Possible values: non-empty
Possible values: non-empty
Possible values: [0
, 1
, 2
]
0 (Cheque) | 1 (Bank) | 2 (Cash)
Possible values: non-empty
Possible values: [1
, 2
, 3
, 4
, 5
, 6
, 7
]
1, 7 (Pending) | 2 (Processed) | 3 (L1 Approved) | 4 (L2 Approved) | 5 (Cancelled) | 6 (Rejected)
Possible values: [WITHDR
, DEPOST
]
WITHDR - withdraw | DEPOST - deposit
{
"status": "SUCCESS",
"reason": "string",
"rejectCode": 0,
"list": [
{
"requestId": "string",
"date": "string",
"paymentMethod": 0,
"currency": "string",
"amount": 0,
"status": 1,
"narration": "string",
"referenceNumber": "string",
"type": "WITHDR"
}
]
}
{
"list": [
{
"requestId": "260370",
"date": "2018/08/30 11:53:23",
"paymentMethod": 2,
"currency": "AED",
"amount": 123235,
"status": 1,
"narration": "",
"referenceNumber": "hhh",
"type": "WITHDR"
}
],
"status": "SUCCESS",
"reason": "N/A",
"rejectCode": 0
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Invalid Token
- Expired Token
Schema
{
"timestamp": "string",
"status": "string",
"error": "string",
"message": "string",
"path": "string",
"rejectCode": "string"
}
{
"timestamp": "2023-12-28T09:51:50.682Z",
"status": "401",
"error": "Unauthorized",
"message": "Invalid Token",
"path": "/api/v1.1/finance/deposit-withdraw/status",
"rejectCode": "1008"
}
{
"timestamp": "2023-12-28T09:51:50.682Z",
"status": "401",
"error": "Unauthorized",
"message": "Expired Token",
"path": "/api/v1.1/finance/deposit-withdraw/status",
"rejectCode": "1007"
}