Carbon

Documentation

Welcome to Carbon's docs!

Get Started    

Order Status

You can always query for the status of an order using its UUID.

JWT Required (Super)

Parameter
Access
Description

orderID

required

the UUID associated with your order

Get order status

GET
let url = `${ROOT}/v1/status?orderId=96010901-5e4a-4731-a9bb-529906af3e35&contactId=ab5bb41b-5979-4a54-b734-23eb9076188e`;

axios.get(url).then(result => console.log).catch(err => console.log);
{
  "message": "Successfully pulled order status",
  "details": {
    "cryptocurrencyAssetPurchase": "EOS",
    "cryptocurrencyAmountPurchase": "0.20166698",
    "transactionHash": "174805e7149b694a62f6dbe2f2433d7f7ed1956f3df2539ddeec90aba0cc90ce",
    "status": "0",
    "timeInitiated": "Tue May 21 2019 20:10:32 GMT-0400 (EDT)",
    "timeCompleted": "Tue May 21 2019 20:10:34 GMT-0400 (EDT)",
    "fiatBaseCurrency": "HKD",
    "paymentType": "Credit/Debit",
    "paymentDetails": {
      "pan": "xxxx-xxxx-xxx-0611",
      "chargeAmount": "1.15",
      "chargedCurrency": "EUR"
    },
    "receiveAddress": "gavinmai1111",
    "uuid": "96010901-5e4a-4731-a9bb-529906af3e35"
  }
}
// 400
{
    "message": "no order found",
    "code": 400
}

// 500
{
    "message": "internal server error",
    "code": 500
}
Thank you for your feedback

Status refers to the status of the charge on the user's credit/debit card

There may be some delay between status change on the users bank statement and our database. Note that status' of 1 and 2 are unlikely to ever occur.

Status
Description

-1

No charge attempted on card

0

Transaction is pending settlement - Crypto has been sent

1

Transaction is pending manual settlement

2

Transaction is suspended

3

Transaction is cancelled - If there is an error involving the delivery of the purchased asset, we will cancel the charge

10

Transaction settlement process underway

100

Transaction settlement process is complete

7000

Transaction declined - generally resulting from the user's bank blocking the transaction, no crypto sent


What's Next

CarbonUSD

Order Status


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.