Skip to content

Create an official fx rate ​

POST
/v1/admin/officialfxrates

Authorizations​

api_key
Type
API Key (header: X-Api-Key)

Request Body​

application/json
JSON
{
  
"currency": "GBP",
  
"month": 0,
  
"year": 0,
  
"fx_rate": 1.18,
  
"officialfxrate_id": null
}

Responses​

Created

application/json
JSON
{
  
"currency": "GBP",
  
"month": 0,
  
"year": 0,
  
"fx_rate": 1.18,
  
"officialfxrate_id": "string",
  
"created": "string",
  
"updated": "string",
  
"deleted": null
}

Playground​

Server
Authorization
Body

Samples​