Activate Currency(ies)
POST {{baseUrl}}/currencies
This endpoint allows you to activate a specific currency.
OAuth Scopes
metadata.read_write
Request Body
{"currencies"=>[{"code"=>"SAR", "status"=>true}, {"code"=>"USD", "status"=>false}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"status":200,"success":true,"data":[{"name":"ريال سعودي","code":"SAR","symbol":"ر.س","status":"disabled"},{"name":"درهم اماراتي","code":"AED","symbol":" د.إ","status":"enabled"},{"name":"جنيه مصري","code":"EGP","symbol":"ج.م","status":"enabled"},{"name":"دولار أمريكي","code":"USD","symbol":"$","status":"enabled"}]}