Skip to main content

Get a transaction status


posthttps://api.criptointercambio.com/v2/#getStatus

Retrieve an exchange status for a transaction ID from the createTransaction or createFixTransaction response.

info

The getStatus method can be useful for notifying your users or providing additional support.


Request

Header parameters

Requires authentication headers.

Body parameters

Consists of a JSON-RPC 2.0 protocol request object.

The params schema:

NameTypeRequiredDescription
idstringtrueThe transaction ID.

Sample request

{
"jsonrpc": "2.0",
"id": "exampleCustomIdValue",
"method": "getStatus",
"params": {
"id": "mret********x8l"
}
}

Response

Successful response

Consists of a JSON-RPC 2.0 protocol response object.

The result schema:

NameTypeDescription
resultstringThe transaction status. Possible values.

Sample successful response

{
"jsonrpc": "2.0",
"id": "exampleCustomIdValue",
"result": "hold"
}

Error response

Consists of a JSON-RPC 2.0 protocol error response object.

Sample error response

{
"jsonrpc": "2.0",
"id": "exampleCustomIdValue",
"error": {
"code": -32600,
"message": "Error: You reached requests limit 10 rps"
}
}

Error codes

CodeMessageDescription
-32600Error: You reached requests limit {limit} rpsRPS is out of the limit.
-32602Parameter {param} is invalidThe specified request param is invalid.
-32603
  • Internal Error
  • Error
Mostly, this is a technical issue on our side. Requires further investigation.