REST API v1

Pocket REST API v1

With this API you can build experiences around the single or recurring purchase of ethereum.

  • Set up a Pocket new order
  • Query existing Pocket orders

To get real-time updates on each purchase of your orders, learn about the Pocket Webhook API.

Base URL

The production API is available through the following URL.

The API uses the application/json content type for all its resources, except where otherwise noted.

Authentication

All requests must be authenticated with the client_id of your API client. Please provide your client_id in the Authorization header as follows.

curl "https://api.pocketethereum.com" \
-H "Authorization: client_id [CLIENT_ID]"

Integration

In addition to the live production system, we offer a dedicated staging environment. We highly recommend conducting integration tests in this environment before initiating any actual payment transactions.