Check the status of a deal

Resource URL

https://api.tokencore.io/api.php

Parameters

ParameterDescriptionOptionalDefault
Name id - payment id given when creating a payment

Example

POST https://api.tokencore.io/api.php?method=order

Request

  https://api.tokencore.io/api.php?method=order&id=999  

Response

  {"ok":"ok","order":"[{"id":999,"wallet":"TJ57B6tE1ixDz8Nx8v6xCyuwgbYTvFexj3","amount":"103","paid":"83","remains_pay":"20","status":"process","time_unix":1680375293}]"}  

Parameters Response

  
paid - paid amount
remains_pay - remains to be paid
----------------------------
statuses can be:

  process - in progress
  cancelled - canceled
  time_out - time out
  success - successful 

Resource Information

Rate Limited False
Response Format JSON
Authentication None