❗️

API v1 is DEPRECATED

API v1 is DEPRECATED and no longer maintained. Please use API v2 http://developer.coingate.com/v2

2162
  1. Call Create Order API method to create an order in the CoinGate system.
  2. CoinGate checks if the order is valid.
  3. a) If the order is valid, CoinGate responds with 200 HTTP status and returns order data. After receiving 200 HTTP status, you should redirect the buyer to payment_url address.
  4. b) If the order is not valid, CoinGate returns 422 (or other) error HTTP status and an error message.
  5. When the buyer pays for the order, CoinGate sends Payment Callback/Payment Notification to your callback_url url. callback_url is defined when creating order. CoinGate also sends Payment Callback when order status is changed to canceled, expired or to any other status read more about CoinGate order statuses. Please note, that payment notifications are sent using POST method.

Environments

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

Resources

API Requests

API Request is used to query 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 CoinGate API.
  • Response - Parameters returned by CoinGate.
999

API Request Limits

1,000 / hour per ip address for all API endpoints.

1 hour API limits per credentials by specific endpoint:

EnvironmentEndpointRate Limit
LivePOST /orders300 / hour
LiveGET /orders/:id500 / hour
LiveGET /orders500 / hour
SandboxPOST /orders300 / hour
SandboxGET /orders/:id500 / hour
SandboxGET /orders500 / hour

All other endpoints which is not described above the limit is 1,000 / hour per API credentials.

API limits can be manually increased for specific user. If you want change your API limits, please contact to support: [email protected].

API returns 429 HTTP error if limit is exceeded.

Payment Callbacks (Payment Notifications)

Payment Callback (Payment Notification) is a response which is sent after order status is changed (see Order Statuses). It is sent by CoinGate 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.
1028

POST Request

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