Skip to main content

Cryptix API (v2.0)

The Cryptix API is organized around REST.

HTTP response status codes

Status Code Description
200 OK The request is successful.
202 Accepted The server accepted the request and will execute it later.
401 Unauthorized Indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource.
403 Forbidden Indicates that the server understands the request but refuses to authorize it.
404 Not Found Indicates that the server cannot find the requested resource.
405 Method Not Allowed Indicates that the server knows the request method, but the target resource doesn't support this method.
422 Unprocessable Content Returned when the validation of the resource fails on POST or PUT requests. Response contains errors field with a list of errors.
429 Too Many Requests Indicates the user has sent too many requests in a given amount of time ("rate limiting").
500 Internal Server Error Server error.

Charges

List charges

Returns all charges

Authorizations:
CookieAuthBearerAuthSessionAuth(PartnerReferralLinkIdSessionAuth)
query Parameters
order
string
Enum: "asc" "desc"
Example: order=asc

Sort order

offset
integer >= 0
Default: 0

The number of items to skip before starting to collect the result set.

limit
integer [ 1 .. 100 ]
Default: 25
Example: limit=25

A limit on the number of objects to be returned, between 1 and 100.

project_id
string <uuid>
Example: project_id=2b238efa-5894-4f72-9031-55f9ba500c51
external_id
string^[0-9a-zA-Z:._-]{1,255}$
Example: external_id=ABC-123

External ID

created_at_from
string <date-time>
Example: created_at_from=2023-07-28T14:41:09Z

CreatedAt from value (inclusive)

created_at_to
string <date-time>
Example: created_at_to=2023-09-01T14:00:00Z

CreatedAt to value (exclusive)

status
string
Enum: "new" "pending" "completed" "expired" "unresolved" "resolving" "resolved" "canceled"
Example: status=completed

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "data": {
    }
}

Create a charge

To get paid in cryptocurrency, you need to create a charge object and provide the user with a cryptocurrency address to which they must send cryptocurrency. Once a charge is created a customer must broadcast a payment to the blockchain before the charge expires.

Authorizations:
CookieAuthBearerAuthSessionAuth(PartnerReferralLinkIdSessionAuth)
Request Body schema: application/json
required
project_id
required
string <uuid>

ID of project

name
string

The charge's name, meant to be displayable to the customer

description
string

The charge's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes

pricing_type
required
string
Enum: "fixed_price" "no_price"

What type of prices do you want to offer?

object
object

Required for pricing_type: fixed_price

external_id
string^[0-9a-zA-Z:._-]{1,255}$

A unique string to reference the Charge. This can be a customer ID, a cart ID, or similar, and can be used to reconcile the Charge with your internal systems

return_url
string <url>

If provided, the success page will include a button that redirects your customer to the provided URL

theme
string
Enum: "light" "dark"

Payment page theme

Responses

Callbacks

Request samples

Content type
application/json
{
  • "project_id": "75b777f0-7a18-4bc9-b828-70ed1574c6b4",
  • "name": "Charge name",
  • "description": "More detailed description",
  • "pricing_type": "fixed_price",
  • "crypto": {
    },
  • "fiat_price": {
    },
  • "external_id": "UW71JD5",
  • "return_url": "https://site.com",
  • "theme": "dark"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "data": {
    }
}

Callback payload samples

Callback
POST: {$request.body#/callback_url}
Content type
application/json
{
  • "id": "b58850d3-fb4a-468c-a16f-be94962d48ae",
  • "type": "charge:pending",
  • "data": {
    },
  • "created_at": "2023-08-08T10:17:14.815487+03:00"
}

Show a charge

Retrieves the details of a charge that has been previously created.

path Parameters
id
required
string <uuid>

ID of charge

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "data": {
    }
}

Deposits

List deposits

Lists all deposita

Authorizations:
CookieAuthBearerAuthSessionAuth(PartnerReferralLinkIdSessionAuth)
query Parameters
order
string
Enum: "asc" "desc"
Example: order=asc

Sort order

offset
integer >= 0
Default: 0

The number of items to skip before starting to collect the result set.

limit
integer [ 1 .. 100 ]
Default: 25
Example: limit=25

A limit on the number of objects to be returned, between 1 and 100.

project_id
string <uuid>
network
string (NetworkCrypto)
Enum: "ethereum" "bitcoin" "litecoin" "bsc" "tron" "polygon"
Example: network=tron
symbol
string (SymbolCrypto)
Enum: "BTC" "ETH" "TRX" "LTC" "BNB" "USDT" "USDC" "DAI" "POL" "TON"
Example: symbol=TRX

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "data": {
    }
}

Create a deposit

Create a new deposit

Authorizations:
CookieAuthBearerAuthSessionAuth(PartnerReferralLinkIdSessionAuth)
Request Body schema: application/json
required
project_id
required
string <uuid>

ID of project

network
required
string (NetworkCrypto)
Enum: "ethereum" "bitcoin" "litecoin" "bsc" "tron" "polygon"
symbol
required
string (SymbolCrypto)
Enum: "BTC" "ETH" "TRX" "LTC" "BNB" "USDT" "USDC" "DAI" "POL" "TON"

Responses

Callbacks

Request samples

Content type
application/json
{
  • "project_id": "75b777f0-7a18-4bc9-b828-70ed1574c6b4",
  • "network": "tron",
  • "symbol": "TRX"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "data": {
    }
}

Callback payload samples

Callback
POST: {$request.body#/callback_url}
Content type
application/json
{
  • "id": "b58850d3-fb4a-468c-a16f-be94962d48ae",
  • "type": "payment:pending",
  • "data": {
    },
  • "created_at": "2023-07-14T10:18:26.752593667Z"
}

Show a deposit

Show a single deposit

Authorizations:
CookieAuthBearerAuthSessionAuth(PartnerReferralLinkIdSessionAuth)
path Parameters
id
required
string <uuid>

ID of deposit

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "data": {
    }
}

List deposits payments

Lists all deposits payments

Authorizations:
CookieAuthBearerAuthSessionAuth(PartnerReferralLinkIdSessionAuth)
query Parameters
order
string
Enum: "asc" "desc"
Example: order=asc

Sort order

offset
integer >= 0
Default: 0

The number of items to skip before starting to collect the result set.

limit
integer [ 1 .. 100 ]
Default: 25
Example: limit=25

A limit on the number of objects to be returned, between 1 and 100.

id
string <uuid>
deposit_id
string <uuid>
tx_id
string
network
string (NetworkCrypto)
Enum: "ethereum" "bitcoin" "litecoin" "bsc" "tron" "polygon"
Example: network=tron
symbol
string (SymbolCrypto)
Enum: "BTC" "ETH" "TRX" "LTC" "BNB" "USDT" "USDC" "DAI" "POL" "TON"
Example: symbol=TRX
status
string
Enum: "pending" "confirmed" "failed"
aml_level
string
Enum: "low" "medium" "high"

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "data": {
    }
}

Checkouts

List checkouts

Lists all checkouts

Authorizations:
CookieAuthBearerAuthSessionAuth(PartnerReferralLinkIdSessionAuth)
query Parameters
order
string
Enum: "asc" "desc"
Example: order=asc

Sort order

offset
integer >= 0
Default: 0

The number of items to skip before starting to collect the result set.

limit
integer [ 1 .. 100 ]
Default: 25
Example: limit=25

A limit on the number of objects to be returned, between 1 and 100.

id
string <uuid>
project_id
string <uuid>
pricing_type
string
Enum: "fixed_price" "no_price"

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "data": {
    }
}

Create a checkout

Create a new checkout

Authorizations:
CookieAuthBearerAuthSessionAuth(PartnerReferralLinkIdSessionAuth)
Request Body schema: application/json
required
project_id
required
string <uuid>

ID of project

pricing_type
required
string
Enum: "fixed_price" "no_price"

What type of prices do you want to offer?

object

Required for pricing_type: fixed_price

name
required
string

The product’s name, meant to be displayable to the customer

description
required
string

The product’s description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes

return_url
string or null <url>

If provided, the success page will include a button that redirects your customer to the provided URL

theme
string or null
Enum: "light" "dark"

Payment page theme

Responses

Request samples

Content type
application/json
{
  • "project_id": "75b777f0-7a18-4bc9-b828-70ed1574c6b4",
  • "pricing_type": "fixed_price",
  • "fiat_price": {
    },
  • "name": "Checkout name",
  • "description": "More detailed description",
  • "return_url": "https://site.com",
  • "theme": "dark"
}

Response samples

Content type
application/json
{}

Show a checkout

Show a single checkout

path Parameters
id
required
string <uuid>

ID of checkout

Responses

Response samples

Content type
application/json
{}

Update a checkout

Update a checkout

Authorizations:
CookieAuthBearerAuthSessionAuth(PartnerReferralLinkIdSessionAuth)
path Parameters
id
required
string <uuid>

ID of checkout

Request Body schema: application/json
required
object

Required for pricing_type: fixed_price

name
required
string

The product’s name, meant to be displayable to the customer

description
required
string

The product’s description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes

return_url
required
string or null <url>

The success page will include a button that redirects your customer to the provided URL

theme
required
string or null
Enum: "light" "dark"

Payment page theme

Responses

Request samples

Content type
application/json
{
  • "fiat_price": {
    },
  • "name": "Checkout name",
  • "description": "More detailed description",
  • "return_url": "https://site.com",
  • "theme": "dark"
}

Response samples

Content type
application/json
{}

Delete a checkout

Delete a checkout

Authorizations:
CookieAuthBearerAuthSessionAuth(PartnerReferralLinkIdSessionAuth)
path Parameters
id
required
string <uuid>

ID of checkout

Responses

Response samples

Content type
application/json
{
  • "success": true
}

Invoices

List invoices

Lists all invoices

Authorizations:
CookieAuthBearerAuthSessionAuth(PartnerReferralLinkIdSessionAuth)
query Parameters
order
string
Enum: "asc" "desc"
Example: order=asc

Sort order

offset
integer >= 0
Default: 0

The number of items to skip before starting to collect the result set.

limit
integer [ 1 .. 100 ]
Default: 25
Example: limit=25

A limit on the number of objects to be returned, between 1 and 100.

project_id
string
status
string
Enum: "open" "viewed" "paid" "void" "unresolved"
id
string

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "data": {
    }
}

Create an invoice

To send an invoice in cryptocurrency, you need to create an invoice object and provide the user with the hosted url where they will be able to pay. Once an invoice is viewed at the hosted url, a charge will be generated on the invoice.

Authorizations:
CookieAuthBearerAuthSessionAuth(PartnerReferralLinkIdSessionAuth)
Request Body schema: application/json
required
project_id
required
string <uuid>

ID of project

required
object
customer_name
string

The customer’s full name or business name

customer_email
required
string <email>

Customer’s email address

memo
string
void_after_seconds
integer or null

Responses

Request samples

Content type
application/json
{
  • "project_id": "75b777f0-7a18-4bc9-b828-70ed1574c6b4",
  • "fiat_price": {
    },
  • "customer_name": "Test Customer",
  • "customer_email": "customer@test.com",
  • "memo": "Accounting and tax consultation services",
  • "void_after_seconds": 3600
}

Response samples

Content type
application/json
{
  • "success": true,
  • "data": {
    }
}

Show an invoice

Retrieves the details of an invoice that has been previously created.

path Parameters
id
required
string <uuid>

ID of invoice

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "data": {
    }
}

Void an invoice

Voids an invoice that has been previously created. Supply the unique invoice ID that was returned when the invoice was created.

Authorizations:
CookieAuthBearerAuthSessionAuth(PartnerReferralLinkIdSessionAuth)
path Parameters
id
required
string <uuid>

ID of invoice

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "data": {
    }
}

Resolve an invoice

Resolve an invoice that has been previously marked as unresolved. Supply the unique invoice ID that was returned when the invoice was created.

Authorizations:
CookieAuthBearerAuthSessionAuth(PartnerReferralLinkIdSessionAuth)
path Parameters
id
required
string <uuid>

ID of invoice

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "data": {
    }
}

MassPayouts

List of mass payouts

List of mass payouts

Authorizations:
CookieAuthBearerAuthSessionAuth(PartnerReferralLinkIdSessionAuth)
query Parameters
external_id
string^[0-9a-zA-Z:._-]{1,255}$
Example: external_id=ABC-123

External ID

created_at_from
string <date-time>
Example: created_at_from=2023-07-28T14:41:09Z

CreatedAt from value (inclusive)

created_at_to
string <date-time>
Example: created_at_to=2023-09-01T14:00:00Z

CreatedAt to value (exclusive)

order
string
Enum: "asc" "desc"
Example: order=asc

Sort order

offset
integer >= 0
Default: 0

The number of items to skip before starting to collect the result set.

limit
integer [ 1 .. 100 ]
Default: 25
Example: limit=25

A limit on the number of objects to be returned, between 1 and 100.

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "data": {
    }
}

Create a mass payout

Create a mass payout

Authorizations:
CookieAuthBearerAuthSessionAuth(PartnerReferralLinkIdSessionAuth)
Request Body schema:
required
id
required
string <uuid>

Unique ID of mass payout (UUID format)

external_id
string^[0-9a-zA-Z:._-]{1,255}$

Merchant's external ID for mass payout.

callback_url
string <url>

Merchant's callback URL.

fee_payer
string
Enum: "merchant" "customer"

Fee payer.

required
Array of objects

List of payout objects.

otp
string

OTP code (if enabled)

with_confirmation
boolean
Default: false

whether mass payout sending should be confirmed with /send call.

Responses

Callbacks

Request samples

Content type
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "external_id": "string",
  • "callback_url": "https://example.com/callback",
  • "fee_payer": "customer",
  • "payouts": [
    ],
  • "otp": "123456",
  • "with_confirmation": true
}

Response samples

Content type
application/json
{
  • "success": true,
  • "data": {
    }
}

Callback payload samples

Callback
POST: {$request.body#/callback_url}
Content type
application/json
{
  • "id": "b58850d3-fb4a-468c-a16f-be94962d48ae",
  • "type": "payout:pending",
  • "data": {
    },
  • "created_at": "2023-08-08T10:17:14.815487+03:00"
}

List of payouts from a mass payout

List of payouts from a mass payout

Authorizations:
CookieAuthBearerAuthSessionAuth(PartnerReferralLinkIdSessionAuth)
path Parameters
id
required
string <uuid>
query Parameters
external_id
string^[0-9a-zA-Z:._-]{1,255}$
Example: external_id=ABC-123

External ID

created_at_from
string <date-time>
Example: created_at_from=2023-07-28T14:41:09Z

CreatedAt from value (inclusive)

created_at_to
string <date-time>
Example: created_at_to=2023-09-01T14:00:00Z

CreatedAt to value (exclusive)

status
string
Enum: "new" "pending" "completed" "failed"
Example: status=completed

Filter by payout status

order
string
Enum: "asc" "desc"
Example: order=asc

Sort order

offset
integer >= 0
Default: 0

The number of items to skip before starting to collect the result set.

limit
integer [ 1 .. 100 ]
Default: 25
Example: limit=25

A limit on the number of objects to be returned, between 1 and 100.

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "data": {
    }
}

Cancel unconfirmed mass payout.

Cancel unconfirmed mass payout.

Authorizations:
CookieAuthBearerAuthSessionAuth(PartnerReferralLinkIdSessionAuth)
path Parameters
id
required
string <uuid>

Responses

Response samples

Content type
application/json
{
  • "success": true
}

Confirm sending of mass payout.

Confirm sending of mass payout.

Authorizations:
CookieAuthBearerAuthSessionAuth(PartnerReferralLinkIdSessionAuth)
path Parameters
id
required
string <uuid>
Request Body schema: application/json
required
otp
required
string

OTP code

Responses

Request samples

Content type
application/json
{
  • "otp": "123456"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "data": {
    }
}

Merchant

Get Merchant's balances

Returns balances for merchant accounts.

❗ There are three different balances returned:

Posted balance: the money that has fully settled in an Account.

Pending balance: the money that's expected to settle in or out of an Account plus the money that's already settled.

Available balance: the money that's available to send out of an Account. This balance subtracts money that’s expected to leave an Account, but does not include money that's expected to settle in an Account.

Diff balance: the difference between Pending balance and Available balance

Authorizations:
CookieAuthBearerAuthSessionAuth(PartnerReferralLinkIdSessionAuth)
query Parameters
symbol
string

Filter by symbol

network
string

Filter by network

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "data": [
    ]
}

Converts

List converts pairs

Returns all converts pairs

Authorizations:
CookieAuthBearerAuthSessionAuth(PartnerReferralLinkIdSessionAuth)

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "data": [
    ]
}

List converts

Lists all converts

Authorizations:
CookieAuthBearerAuthSessionAuth(PartnerReferralLinkIdSessionAuth)
query Parameters
order
string
Enum: "asc" "desc"

Sort order

limit
integer

Limit

offset
integer

Offset

status
string
Enum: "pending" "success" "failed"
id
string

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "data": {
    }
}

Schedule to convert

Schedule to convert

Authorizations:
CookieAuthBearerAuthSessionAuth(PartnerReferralLinkIdSessionAuth)
Request Body schema: application/json
required
token
string

Responses

Request samples

Content type
application/json
{
  • "token": "463907924292f880ec027d10cbebeeea8826a..."
}

Response samples

Content type
application/json
{
  • "success": true,
  • "data": {
    }
}

Show a convert

Show a convert

Authorizations:
CookieAuthBearerAuthSessionAuth(PartnerReferralLinkIdSessionAuth)
path Parameters
id
required
string <uuid>

ID of convert

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "data": {
    }
}

Get convert token with amount and rate

Get convert token with amount and rate

Authorizations:
CookieAuthBearerAuthSessionAuth(PartnerReferralLinkIdSessionAuth)
query Parameters
network_from
required
string (NetworkAll)
Enum: "fiat" "ethereum" "bitcoin" "litecoin" "bsc" "tron" "polygon" "ton"
Example: network_from=tron

Network to convert from

symbol_from
required
string (SymbolAll)
Enum: "EUR" "USD" "BTC" "ETH" "TRX" "LTC" "BNB" "USDT" "USDC" "DAI" "POL" "TON"
Example: symbol_from=TRX

Symbol to convert from

network_to
required
string (NetworkAll)
Enum: "fiat" "ethereum" "bitcoin" "litecoin" "bsc" "tron" "polygon" "ton"
Example: network_to=tron

Network to convert to

symbol_to
required
string (SymbolAll)
Enum: "EUR" "USD" "BTC" "ETH" "TRX" "LTC" "BNB" "USDT" "USDC" "DAI" "POL" "TON"
Example: symbol_to=TRX

Symbol to convert to

amount
required
string

Amount to be converted

Responses

Response samples

Content type
application/json
{
  • "success": true,
  • "data": {
    }
}