Get Currency

GET/currencies/{id}

Get Currency.

Privileges:

  • biz-core.view
  • biz-core.own.view

Audit event:

  • biz.core.v2.currency.get

Errors:

  • BIZ_CORE:CURRENCY_NOTFOUND - Currency with given id not found.
Base URL
https://api-cpaas.sms.es/biz-core/v2
Authentication

OAuth2 — send Authorization: Bearer <access_token>. Token URL: https://accounts-cpaas.sms.es/oauth2/access-token

Request

Path parameters

idintegerrequired

id.

Request example

cURL · cURL
curl -L -X GET "https://api-cpaas.sms.es/biz-core/v2/currencies/{id}" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer <access_token>"

Responses

Currency data

application/json
codestring
idinteger
namestring
statusstring
max length: 1
statusDtstring (date-time)
typestring
Possible values: formal, internal, virtual, informal
Example response
{
  "code": "string",
  "id": 0,
  "name": "string",
  "status": "string",
  "statusDt": "2026-01-01T12:00:00Z",
  "type": "formal"
}