Vai al contenuto principale
POST
Create Currency

Autorizzazioni

Authorization
string
header
obbligatorio

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Corpo

application/json
title
string
obbligatorio
Required string length: 1 - 64
code
string
obbligatorio
Pattern: ^[A-Za-z]{3}$
symbol_left
string | null
Maximum string length: 12
symbol_right
string | null
Maximum string length: 12
decimal_place
integer
predefinito:2
Intervallo richiesto: 0 <= x <= 8
value
predefinito:1
Intervallo richiesto: x > 0
is_base
boolean
predefinito:false
is_active
boolean
predefinito:true

Risposta

Successful Response

data
CurrencyOut · object | null
meta
PaginationMeta · object | null
error
string | null
error_code
string | null