Get Currency
GET : http://<base_url>/digipay/v3/base/currency/{id}
This API is use to get currency detail
PATH PARAMS:-
Parameter | Type | Description | Value |
---|---|---|---|
ID | String | Primary key of currency detail | 76bc712200ca444fa334f9e55e5fd7a8 |
HEADERS:-
Parameter | Type | Description | Value |
---|---|---|---|
Authorization | String | It is a combination of type and token to authenticate user for the given token | Token duik7309njdlkhdauhknksadhjkas986876sd873j |
CompanyID | String | Company_id is a unique primary id, that is represent company detail | 76bc712200ca444fa334f9e55e5fd7a8 |
Request Body:-
Request Example
curl --request GET \
--url http://192.168.1.102:8014/digipay/v3/base/currency/76bc712200ca444fa334f9e55e5fd7a8 \
--header 'Authorization: Token eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI2NWY0ZDI1MDliZmU0NTBmYTg4MTVhNTU5Njk3YmM0NyIsInJvbGVzIjpbIlJPTEVfQURNSU4iXSwiZXhwIjoxNjkzNTIxOTU1fQ.9oWwUzlFzmYB1ZOhaVamxKJH6DsMO8tFue2kbg2YyoI' \
--header 'CompanyID: 76bc712200ca444fa334f9e55e5fd7a8' \
--header 'accept: application/json'
Response:-
Response
{
"success": 1,
"error": [],
"data": {
"currency": {
"id": "31f22c75ccc248bc9075104db6ca51a6",
"is_active": true,
"updated_by": "6089e4b1301845c6978056bb2b0ecbbe",
"updated_date": 1634109863,
"currency_name": "INR",
"currency_code": "INR",
"currency_symbol": "₹",
"country_id": "6089e4b1301845c6978056bb2b0ecbbe",
"is_primary_currency": false
}
}
}
RESPONSES :-
Status Code | Description |
---|---|
200 | OK |
400 | Bad Request |
404 | Not Found |
500 | Internal Server Error |