Release 16.12.2024
Changelog
New Endpoints
-
Feature: Introduced the Get Crypto Assets endpoint (
GET /api/v1/assets) to retrieve a list of supported crypto assets along with their blockchain details, display names, and token standards. -
Feature: Added the Get Exchange Rates endpoint (
GET /api/v1/exchange-rates) to retrieve crypto-to-fiat conversion rates. This allows you to specify a fiat currency and amount, and then see the resulting crypto amounts for each supported asset. -
Feature: Introduced the Get Transaction by ID endpoint (
GET /api/v1/orders/{orderId}/transactions/{transactionId}) to retrieve detailed information about a specific transaction within an order. -
Feature: Added the Send Crypto endpoint (
POST /api/v1/order/send) that lets you send a specified crypto asset from one blockchain address to another.
Improvements to Existing Endpoints
-
Enhancement: Changed the response codes for creating payment, deposit, refund, and withdrawal orders to
201instead of200:- Create payment (
POST /api/v1/order/payment) now returns201. - Create deposit (
POST /api/v1/order/deposit) now returns201. - Create refund (
POST /api/v1/order/refund) now returns201. - Create withdrawal (
POST /api/v1/order/withdrawal) now returns201.
- Create payment (
-
Enhancement: Added detailed
400(Bad Request) error responses for payment, deposit, refund, withdrawal, and send endpoints, including specific error codes such asunknownError,invalidAddress,notEnoughFunds,limitExceeded, andwrongData.
Orders and Transactions
- Enhancement: The Get Orders (
GET /api/v1/orders) and Get Order by ID (GET /api/v1/orders/{orderId}) endpoints now return more detailed schemas.