Fiat API
API for fiat
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/fiat/order HTTP/1.1
Host: api.calypso.finance
Key: text
Sign: text
Content-Type: application/json
Accept: */*
Content-Length: 68
{
"account": "text",
"timestamp": 1,
"payload": {
"idempotencyKey": "text"
}
}{
"invoiceId": "text",
"state": "unpaid",
"shopId": "text",
"orderUnpaidType": "text",
"currency": "text",
"orderCryptoAmount": 1,
"paymentCryptoAmount": 1,
"fiatCurrency": "text",
"orderFiatAmount": 1,
"paymentFiatAmount": 1,
"adjustment": {
"currency": "text",
"fiatCurrency": "text",
"sumAfterAdjustment": 1,
"reason": "text",
"adjustmentDate": "2025-11-18T13:56:05.184Z"
}
}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/fiat/method HTTP/1.1
Host: api.calypso.finance
Key: text
Sign: text
Content-Type: application/json
Accept: */*
Content-Length: 109
{
"account": "text",
"timestamp": 1,
"payload": {
"currency": "text",
"geoId": "123e4567-e89b-12d3-a456-426614174000"
}
}{
"method": [
{
"methodName": "text",
"methodCode": "text",
"fixedRateId": "123e4567-e89b-12d3-a456-426614174000",
"fixedRate": 1,
"expiredFixedRateDate": "2025-11-18T13:56:05.184Z",
"minLimit": 1,
"maxLimit": 1
}
]
}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/fiat/geo HTTP/1.1
Host: api.calypso.finance
Key: text
Sign: text
Content-Type: application/json
Accept: */*
Content-Length: 32
{
"account": "text",
"timestamp": 1
}{
"geo": [
{
"geoId": "123e4567-e89b-12d3-a456-426614174000",
"geoName": "text",
"geoCode": "text",
"fiatCurrency": "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/fiat/create/order HTTP/1.1
Host: api.calypso.finance
Key: text
Sign: text
Content-Type: application/json
Accept: */*
Content-Length: 255
{
"account": "text",
"timestamp": 1,
"payload": {
"orderType": "INVOICE",
"amountInCrypto": 1,
"amountInFiat": 1,
"idempotencyKey": "123e4567-e89b-12d3-a456-426614174000",
"rateId": "123e4567-e89b-12d3-a456-426614174000",
"redirectUrl": "text",
"merchantExternalId": "text"
}
}{
"url": "text"
}Last updated

