1. Call Create Order API method to create an order in the CoinGate system.

  2. CoinGate checks if the order is valid.

    2a. If the order is valid, CoinGate responds with 200 HTTP status and returns order data. After receiving 200 HTTP status, you should redirect the shopper to payment_url address.

    2b. If the order is not valid, CoinGate returns 422 (or another) error HTTP status and an error message (see Errors).

  3. When the shopper pays for the order, CoinGate sends Payment Callback/Payment Notification to your callback_url, which is defined when creating the order (see Create Order). CoinGate also sends Payment Callback when order status is changed to canceled, expired or to any other status (see Order Statuses). Please note that payment notifications are sent using POST method.

Environments

Livehttps://api.coingate.com/v2
Sandboxhttps://api-sandbox.coingate.com/v2

Limits and Quotas

Create Order500 per hour per business (contact support to increase)
This default value is the number of orders that can be created per hour. Reaching the limit will prevent further orders to be created before the hourly timer resets.
API Requests200 requests per minute

API Requests

API Requests are used to query the CoinGate API (examples: Create Order, Get Order).

To review your API Requests, login to your CoinGate account, then go to API » Requests.

API Request attributes:

  • Action - Which API method was queried.
  • Response - HTTP status returned by CoinGate.
  • Parameters - Parameters used to query the CoinGate API.
  • Response - Parameters returned by CoinGate.

999

Payment Callbacks (Payment Notifications)

Payment Callback (Payment Notification) is a response which is sent after the order status changes (see Order Statuses). CoinGate sends the Payment Callback to merchant's callback_url, which is set during order creation (see Create Order).

To review your Payment Callbacks, login to your CoinGate account, then go to API » Payment Callbacks.

Payment Callback attributes:

  • Response Status - HTTP status returned by merchant.
  • Response Data - Data body returned by merchant.
  • Callback Params - Parameters sent by CoinGate to merchant's callback_url.

POST Request

In every POST method set Content-Type: application/x-www-form-urlencoded header.