Перейти к содержимому
CoinsSendРазработчикам
Документация Payments

API Reference

Открыть MarkdownПодключить агента

Это содержимое пока не доступно на вашем языке.

This page lists the supported public integration operations. The machine-readable source is OpenAPI 3.1.

https://api.coinssend.com/v1/

For detailed authentication information, see Authentication.

HeaderDescription
Content-TypeMust be application/json for all requests
MerchantYour merchant ID (required for authenticated endpoints)
SignRequest signature (required for authenticated endpoints)
TimestampUnix timestamp in seconds. Required for POST /v1/withdrawals; optional only when using timestamped HMAC on other merchant endpoints.
MethodPathDescriptionAuthentication
POST/v1/invoicesCreate a new invoiceMerchant + Sign
POST/v1/withdrawalsInitiate a withdrawalMerchant + Timestamp + Sign
GET/v1/merchants/balancesGet merchant balancesMerchant + Sign
GET/v1/merchants/feesGet merchant feesMerchant + Sign
POST/v1/wallet-addressCreate static wallet addressMerchant + Sign
GET/v1/get-coin-rateGet current USD exchange rates for supported assetsNone
GET/v1/coins-and-feeGet the current supported coin/network catalog with fee metadataNone
GET/v1/invoices/{invoiceCode}Get public invoice checkout stateNone
POST/v1/invoices/{invoiceCode}/provider-card-ordersStart or reuse active card checkoutNone
GET/v1/wallet-addresses/{walletId}/qrRender the QR URL returned by wallet/invoice responsesNone

Browse the coin and network tables for display names, API identifiers, and guidance on building payment selectors.

Use GET /v1/coins-and-fee for live discovery instead of copying a static coin or network list into an integration. Availability, limits, fees, and precision can change without an API schema change. Individual write endpoints remain the final authority for accepting a pair; the catalog is not an offline validation guarantee. See Coin Rates.

Most operations use the following success envelope:

{
"status": "success",
"data": {
// Response data specific to the endpoint
}
}
{
"status": "error",
"message": "Error description"
}

Some errors include additional fields (for example, fee breakdowns) alongside status and message. Authentication errors may instead return {"error": "Reason"} without the status field. Always rely on the HTTP status code first.

Validation failures use HTTP 422 with errors, status, and message. Symbolic labels shown in prose are not guaranteed response fields.

The following data types are used throughout API responses:

TypeDescriptionExample
stringText values"example"
integerWhole numbers42
floatNumbers with decimals10.5
booleantrue or false valuestrue
arrayOrdered list of values[1, 2, 3]
objectJSON object containing key/value pairs{ "key": "value" }

All monetary amounts, percentage values, and currency rates in API responses are returned as strings. Using strings preserves accuracy for values with many decimals. Request parameters should also be sent as strings containing numeric values.

HTTP CodeDescription
400Bad Request - The request was invalid or cannot be served
401Unauthorized - Authentication credentials are missing or invalid
403Forbidden - The request is understood, but it has been refused
404Not Found - The requested resource does not exist
422Unprocessable Entity - The request was well-formed but could not be processed
429Too Many Requests - Rate limit exceeded
500Server Error - Something went wrong on our end

The only merchant-public write limit verified in this application is the wallet-creation limit: 100 successful creations per merchant in a 60-second window. Additional limits may apply. See Rate Limits.

The API is versioned in the URL path (/v1/). When breaking changes are introduced, a new version number will be used.