Crypto to fiat API

Crypto to fiat API

Get c2f order

post

Permission annotations:

Header parameters
KeystringRequired
SignstringRequired
Body

Object with request data

accountstringRequired

Merchant account ID. Request will be sent for this account

timestampinteger · int64Required

Current unix UTC timestamp in milliseconds. Must not be less than 3 minutes in the past and not greater than 3 minutes in the future

Responses
200
OK
*/*
post
POST /api/v1/c2f/order HTTP/1.1
Host: api.calypso.finance
Key: text
Sign: text
Content-Type: application/json
Accept: */*
Content-Length: 93

{
  "account": "text",
  "timestamp": 1,
  "payload": {
    "orderId": "123e4567-e89b-12d3-a456-426614174000"
  }
}
{
  "orderId": "123e4567-e89b-12d3-a456-426614174000",
  "state": "INIT",
  "currency": {
    "name": "text",
    "feeCurrencyName": "text",
    "coinId": "text",
    "networkData": {
      "frontName": "text",
      "type": "text"
    },
    "scale": 1,
    "blockchainScale": 1,
    "garbageAmount": 1,
    "crypto": true,
    "blockchainName": "text",
    "contract": "text",
    "enabled": true,
    "active": true
  },
  "fiatCurrency": "ARS",
  "amountInCrypto": 1,
  "amountInFiat": 1,
  "externalId": "text"
}

Fix rate

post

Permission annotations:

Path parameters
typestring · enumRequiredPossible values:
Header parameters
KeystringRequired
SignstringRequired
Body

Object with request data

accountstringRequired

Merchant account ID. Request will be sent for this account

timestampinteger · int64Required

Current unix UTC timestamp in milliseconds. Must not be less than 3 minutes in the past and not greater than 3 minutes in the future

Responses
200
OK
*/*
post
POST /api/v1/c2f/order/{type}/rate HTTP/1.1
Host: api.calypso.finance
Key: text
Sign: text
Content-Type: application/json
Accept: */*
Content-Length: 83

{
  "account": "text",
  "timestamp": 1,
  "payload": {
    "fiatCurrency": "ARS",
    "currency": "text"
  }
}
{
  "rateId": "123e4567-e89b-12d3-a456-426614174000",
  "rate": 1,
  "fiatCurrency": "ARS",
  "currency": "text",
  "expiredDate": "2025-07-05T17:07:08.836Z"
}

Get limit

post

Permission annotations:

Path parameters
typestring · enumRequiredPossible values:
Header parameters
KeystringRequired
SignstringRequired
Body

Object with request data

accountstringRequired

Merchant account ID. Request will be sent for this account

timestampinteger · int64Required

Current unix UTC timestamp in milliseconds. Must not be less than 3 minutes in the past and not greater than 3 minutes in the future

Responses
200
OK
*/*
post
POST /api/v1/c2f/order/{type}/limit HTTP/1.1
Host: api.calypso.finance
Key: text
Sign: text
Content-Type: application/json
Accept: */*
Content-Length: 65

{
  "account": "text",
  "timestamp": 1,
  "payload": {
    "fiatCurrency": "ARS"
  }
}
{
  "minLimit": 1,
  "maxLimit": 1,
  "limitCurrency": "ARS"
}

Create c2f order

post

Permission annotations:

Header parameters
KeystringRequired
SignstringRequired
Body

Object with request data

accountstringRequired

Merchant account ID. Request will be sent for this account

timestampinteger · int64Required

Current unix UTC timestamp in milliseconds. Must not be less than 3 minutes in the past and not greater than 3 minutes in the future

Responses
200
OK
*/*
post
POST /api/v1/c2f/order/create/sepa HTTP/1.1
Host: api.calypso.finance
Key: text
Sign: text
Content-Type: application/json
Accept: */*
Content-Length: 556

{
  "account": "text",
  "timestamp": 1,
  "payload": {
    "currency": {
      "name": "text",
      "feeCurrencyName": "text",
      "coinId": "text",
      "networkData": {
        "frontName": "text",
        "type": "text"
      },
      "scale": 1,
      "blockchainScale": 1,
      "garbageAmount": 1,
      "crypto": true,
      "blockchainName": "text",
      "contract": "text",
      "enabled": true,
      "active": true
    },
    "fiatCurrency": "ARS",
    "fixedRateId": "123e4567-e89b-12d3-a456-426614174000",
    "fiatAmount": 1,
    "cryptoAmount": 1,
    "idempotencyKey": "123e4567-e89b-12d3-a456-426614174000",
    "externalId": "text",
    "accountNumber": "text",
    "accountName": "text",
    "accountEmail": "text",
    "type": "CARD"
  }
}
{
  "orderId": "123e4567-e89b-12d3-a456-426614174000",
  "state": "INIT",
  "currency": {
    "name": "text",
    "feeCurrencyName": "text",
    "coinId": "text",
    "networkData": {
      "frontName": "text",
      "type": "text"
    },
    "scale": 1,
    "blockchainScale": 1,
    "garbageAmount": 1,
    "crypto": true,
    "blockchainName": "text",
    "contract": "text",
    "enabled": true,
    "active": true
  },
  "fiatCurrency": "ARS",
  "amountInCrypto": 1,
  "amountInFiat": 1,
  "externalId": "text"
}

Create c2f order

post

Permission annotations:

Header parameters
KeystringRequired
SignstringRequired
Body

Object with request data

accountstringRequired

Merchant account ID. Request will be sent for this account

timestampinteger · int64Required

Current unix UTC timestamp in milliseconds. Must not be less than 3 minutes in the past and not greater than 3 minutes in the future

Responses
200
OK
*/*
post
POST /api/v1/c2f/order/create/card HTTP/1.1
Host: api.calypso.finance
Key: text
Sign: text
Content-Type: application/json
Accept: */*
Content-Length: 326

{
  "account": "text",
  "timestamp": 1,
  "payload": {
    "card": "text",
    "currency": "text",
    "fiatCurrency": "ARS",
    "fixedRateId": "123e4567-e89b-12d3-a456-426614174000",
    "fiatAmount": 1,
    "cryptoAmount": 1,
    "idempotencyKey": "123e4567-e89b-12d3-a456-426614174000",
    "externalId": "text",
    "type": "CARD",
    "bankCode": "text",
    "bankSystem": "text",
    "saveCard": true
  }
}
{
  "orderId": "123e4567-e89b-12d3-a456-426614174000",
  "state": "INIT",
  "currency": {
    "name": "text",
    "feeCurrencyName": "text",
    "coinId": "text",
    "networkData": {
      "frontName": "text",
      "type": "text"
    },
    "scale": 1,
    "blockchainScale": 1,
    "garbageAmount": 1,
    "crypto": true,
    "blockchainName": "text",
    "contract": "text",
    "enabled": true,
    "active": true
  },
  "fiatCurrency": "ARS",
  "amountInCrypto": 1,
  "amountInFiat": 1,
  "externalId": "text"
}