MindexPay Integration API Reference

Welcome to the sample MindexPay API reference. This is a documentation to integrate your system with MindexPay, to receive payments with MindexCoin (ERC20 Token of Ethereum).

The MindexPay API is organized around the REST mothodology, and it uses resource-oriented URLs, and common HTTP response codes to indicate API errors. All requests are authenticated using an token which can be obtained from your developer dashboard.

API Endpoint
/painel.mindexpay.com/api
Terms of Service: wolf-suckled
Contact: support@mindexpay.com
Schemes: http, https
Version: 1.0.0

Authentication

token

name
token
in
body

Checkout

CHeckout methos you can use to generate new checkout URL and check status of this checkout.

Create a new checkout

POST /createCheckout

Create object to be added

Request Example
{
  "token": 239489284,
  "company_name": "Joe's Store",
  "value_usd": 10.99,
  "post_back": "/joesstore.dev/return",
}
200 OK

Successful operation

422 Unprocessable Entity

Invalid input

Response Example (200 OK)
{
  "status": true,
  "checkout": "Kkjsa89askm2",
  "url": "/painel.mindexpay.com/checkout/Kkjsa89askm2",
}
Response Example (422 Unprocessable Entity)
{
  "status": false,
}

Check an existing checkout status

POST /checkStatus

Checkout object that needs to be checked

Request Example
{
  "key": "Kkjsa89askm2",
}
Response Example (200 OK)
{
  "status": true,
  "checkout": "Kkjsa89askm2",
  "message": "Checkout Paid",
}
Response Example (422 Unprocessable Entity)
{
  "status": false,
}