api.coin-xpress.com/<api_key>/<float:wantAmount>
Method: GET
This endpoint initiates a transaction by generating custom payment link and It will return a transaction link and should be provided to customer to make the payment.
URL Parameters:
Response:
{
"transaction_link": "https://coin-xpress.com/transaction/{transaction-id}"
}
api.coin-xpress.com/status/<transaction_id>
Method: GET
This endpoint allows the user to check the status of a specific transaction using the transaction ID. The status includes whether the transaction is pending, successful, or failed.
URL Parameters:
Response:
{
"transaction_id": "12345",
"status": "success/fail/waiting",
"amount": "0.5 AVAX"
}
Method: POST
The webhook endpoint is set in the dashboard/wallet section. After each transaction is processed, a webhook with the transaction status will be sent to the provided URL.
Endpoint Example:
"yourdomain/webhook"
Webhook URL: The URL where the webhook will send the transaction status data.