POST
/
currency-pairs
curl --request POST \
  --url https://gateway.varchev.com/wallet/currency-pairs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'tenantId: <tenantid>' \
  --data '{
  "operationDestinationId": "<string>",
  "currencyIds": [
    "<string>"
  ]
}'
{
  "id": "<string>",
  "baseCurrency": "<string>",
  "quoteCurrency": "<string>",
  "pair": "<string>",
  "baseCurrencyId": "<string>",
  "quoteCurrencyId": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

tenantId
string
required

Tenant Id

Body

application/json

Response

200 - application/json

Created new currency pairs

The response is of type object.