Skip to main content

Currencies Local

The Currencies Local endpoint returns the property’s default currency configuration. This endpoint is commonly used to display the property’s default currency in UI and reports, and to determine the default currency code when a workflow does not explicitly provide one.

Request Endpoint

  • HTTP Method: POST
  • Secure URL Path: {{base_url}}/api/currencies/@local

Payload Construction and Schema Definition

The request payload is submitted as form-data fields.

Request Body Fields

FieldTypeAlways presentDescription
errorbooleanYesIndicates whether the request failed. false means success.
statusstringYesStatus string. On success the example returns "ok".
messagestringYesHuman-readable message. Often empty on success.
dataobjectYes (on success)Array of currency objects.

Response data Fields

FieldTypeDescriptionExample
iso_codestringCurrency code.IDR
is_localnumber1 indicates local currency. Treat as boolean-like flag.1
isActivenumberActive flag (1/0). Treat as boolean-like flag.1
currentExchangeRatenumberExchange rate.1

Expected System Responses

The system responds with HTTP 200 OK.

{
"error": false,
"status": "ok",
"message": "",
"data": {
"iso_code": "IDR",
"is_local": 1,
"isActive": 1,
"currentExchangeRate": 1
}
}