Skip to main content
POST
/
api
/
v1
/
auth
/
pricing
/
fx-quotes
Create FX rate quote (admin)
curl --request POST \
  --url https://crypto.westminister.tech/api/v1/auth/pricing/fx-quotes \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "flow_type": "onramp",
  "asset": "<string>",
  "fiat_currency": "<string>",
  "reference_rate": "<string>",
  "source": "<string>",
  "network": "<string>",
  "applied_rate": "<string>",
  "spread_bps": 123,
  "expires_at": "2023-11-07T05:31:56Z",
  "is_active": true
}
'

Authorizations

Authorization
string
header
required

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

Body

application/json
flow_type
enum<string>
required
Available options:
onramp,
offramp,
p2p,
b2b,
b2b2c
asset
string
required
fiat_currency
string
required
reference_rate
string
required
source
string
required
network
string
applied_rate
string
spread_bps
integer
expires_at
string<date-time>
is_active
boolean

Response

201

Created