Crypto to fiat API
Crypto to fiat API
Permission annotations:
Object with request data
Merchant account ID. Request will be sent for this account
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
OK
Bad Request
Internal Server Error
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": "text",
"fiatCurrency": "text",
"amountInCrypto": 1,
"amountInFiat": 1,
"externalId": "text"
}Permission annotations:
Object with request data
Merchant account ID. Request will be sent for this account
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
OK
Bad Request
Internal Server Error
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: 84
{
"account": "text",
"timestamp": 1,
"payload": {
"fiatCurrency": "text",
"currency": "text"
}
}{
"rateId": "123e4567-e89b-12d3-a456-426614174000",
"rate": 1,
"fiatCurrency": "text",
"currency": "text",
"expiredDate": "2025-11-18T13:56:53.974Z"
}Permission annotations:
Object with request data
Merchant account ID. Request will be sent for this account
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
OK
Bad Request
Internal Server Error
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: 66
{
"account": "text",
"timestamp": 1,
"payload": {
"fiatCurrency": "text"
}
}{
"minLimit": 1,
"maxLimit": 1,
"limitCurrency": "text"
}Permission annotations:
Object with request data
Merchant account ID. Request will be sent for this account
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
OK
Bad Request
Internal Server Error
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: 325
{
"account": "text",
"timestamp": 1,
"payload": {
"currency": "text",
"fiatCurrency": "text",
"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": "text",
"fiatCurrency": "text",
"amountInCrypto": 1,
"amountInFiat": 1,
"externalId": "text"
}Permission annotations:
Object with request data
Merchant account ID. Request will be sent for this account
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
OK
Bad Request
Internal Server Error
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: 327
{
"account": "text",
"timestamp": 1,
"payload": {
"card": "text",
"currency": "text",
"fiatCurrency": "text",
"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": "text",
"fiatCurrency": "text",
"amountInCrypto": 1,
"amountInFiat": 1,
"externalId": "text"
}Last updated

