Skip to main content

Get Currency Settings

GET /api/v1/InvoiceSetting/GetCurrency

Description

This endpoint is used to get the currency settings. It retrieves the currency settings for invoices.

Headers:

  • Content-Type: application/json

ApiKey:

  • No API key required

Path Parameters:

  • version: string, required

URL:

  • GET: {{baseUrl API url}}/api/v1/InvoiceSetting/GetCurrency

Response:

  • 200: Success, returns the currency settings for invoices.

Error Codes:

  • 404: Resource not found, the specified version or setting does not exist.

  • 500: Internal server error, something went wrong while processing the request.

Example Request URL:

GET /api/v1/InvoiceSetting/GetCurrency
Content-Type: application/json

Example Response:

HTTP/1.1 200 OK
{
"currencySettings": [
{
"currencyCode": "USD",
"currencySymbol": "$",
"currencyName": "US Dollar",
"isActive": true
},
{
"currencyCode": "EUR",
"currencySymbol": "€",
"currencyName": "Euro",
"isActive": false
}
]
}

Notes:

  • The response includes a list of all currency settings for invoices, including the currency code, symbol, name, and activation status.

Method: GET

/api/v1/InvoiceSetting/GetCurrency

Response: 200

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request GET \ 
--url /api/v1/InvoiceSetting/GetCurrency \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!