Skip to main content

Get Thershold Detail

GET : http://<base_url>/digipay/v3/profile_threshold/threshold_detail

This api is used to get threshold detail for the bulk/internal products assigned to the threshold

PATH PARAMS:-

ParameterTypeDescriptionValue
idStringunique id to retrive details for threshold_detailb57ba3fd49864487ba95f16e0cc6fa3a

HEADERS:-

ParameterTypeDescriptionValue
AuthorizationStringIt is a combination of type and token to authenticate user for the given tokenToken duik7309njdlkhdauhknksadhjkas986876sd873j
CompanyIDStringCompany_id is a unique primary id, that is represent company detail76bc712200ca444fa334f9e55e5fd7a8

Request Body:-

Request Example
curl --request GET \
--url http://192.168.1.102:8014/digipay/v3/profile_threshold/threshold_detail%20/b57ba3fd49864487ba95f16e0cc6fa3a \
--header 'Authorization: Token duik7309njdlkhdauhknksadhjkas986876sd873j' \
--header 'CompanyID: 7753ad6bd8cf48f5b1312fd21eb36588' \
--header 'accept: application/json'

Response:-

Response 200(OK)

{
"success": 1,
"error": [],
"data": {
"threshold_detail": {
"id": "116a51aa2b7d459a8b7e3db7dcf5e70a",
"threshold_id": "116a51aa2b7d459a8b7e3db7dcf5e70a",
"product_id": "116a51aa2b7d459a8b7e3db7dcf5e70a",
"product_code": "CIB",
"threshold_type": 2,
"threshold_amount": {
"daily_usage" : 100
"weekly_usage" : 200,
"monthly_usage": 300
},
"threshold_no_txn" : {
"daily_usage" : 100
"weekly_usage" : 200,
"monthly_usage": 300
},
"min_amount": 1,
"max_amount": null,
"threshold_apply_on": 1,
"payment_mode": null }
}
}
Response 400(BAD REQUEST)
{
"success": 0,
"error"": [1],
"data": {
"message": "BAD_REQUEST",
}
}

RESPONSES :-

Status CodeDescription
200OK
400BAD REQUEST
404NOT FOUND
500INTERNAL SERVER ERROR