Skip to main content
POST
/
trade
/
transactions
/
sync
Transactions - Synchronize Transaction
curl --request POST \
  --url https://api.ripio.com/trade/transactions/sync \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --header 'signature: <signature>' \
  --header 'timestamp: <timestamp>' \
  --data '
{
  "block_id": 123456,
  "currency_code": "BTC",
  "hash": "7b6155e3d010b530f484e0cd05429328a514dd0158dc31c23cdd3ebb59f335ae"
}
'
{
  "data": 123,
  "error_code": null,
  "message": null
}

Headers

authorization
string
required

The API key as a string.

signature
string
required

See the Generating Signature section for more details.

timestamp
number
required

A timestamp in milliseconds. See the Timestamp Security section for more details.

timstamp-tolerance
number

An additional, non-required parameter, that you can send to specify the number of milliseconds after the timestamp for the request to be valid. See the Timestamp Security section for more details.

Body

application/json

Transaction parameters request

hash
string
required

Transaction hash

currency_code
string
required

Currency code

block_id
number

Transaction block id

⚠️ Check the information about this currency in the public currencies endpoint to check if this currency demands block number for transaction sync

Response

200 - application/json

Ok

data
number
required
error_code
number
required
Example:

null

message
string
required
Example:

null