Disclaimer banner cps-icon-v2

This documentation applies to the Legacy platform. If your dashboard matches the screenshot shown here, please refer to the new platform documentation.

Disclaimer banner image
New documentation
Disclaimer banner image

Get Conversion Information

API POST Fields (in addition to the Main Fields described in the Introduction)

Field Name
Get Conversion Information
cmd
Descriptionget_conversion_info
Required?Yes
id
DescriptionThe conversion ID to query.
Required?Yes
Field NameDescriptionRequired?
Get Conversion Information
cmdget_conversion_infoYes
idThe conversion ID to query.Yes

API Response

A successful call to the 'get_conversion_info' command will give you a result similar to this (JSON):
{
   "error":"ok",
   "result":{
      "time_created":1484070042,
      "status":2,
      "status_text":"Complete",
      "coin1":"BTC",
      "coin2":"LTC",
      "amount_sent":100000,
      "amount_sentf":"0.00100000",
      "received":15369892,
      "receivedf":"0.15369892"
   }
}
Status values:
  • 2 = Complete
  • 1 = Funds Sent
  • 0 = Pending
  • -1 = Cancelled
  • -2 = Cancelled: Below ShapeShift Minimum
  • -3 = Cancelled: Above ShapeShift Maximum
  • These are all of the values at the time of this writing but it can be assumed any other negative number is a cancelled conversion as well.