ClimbPanel

Reseller API

Every endpoint expects a key and a secret. You find both on the API page of your account once you are signed in.

Base URL

https://climbpanel.mintsource.dev/api/v2

All requests are HTTP POST. Responses always use the same envelope: {"error": false, "message": "", "data": …}. When something goes wrong error is true and message explains why.

Authentication

curl -X POST "https://climbpanel.mintsource.dev/api/v2/balance" \
  -d "key=YOUR_API_KEY" \
  -d "secret=YOUR_API_SECRET"

The pair can also be sent as the X-Api-Key and X-Api-Secret headers.

Services

Returns every service that is published and visible to your account.

curl -X POST "https://climbpanel.mintsource.dev/api/v2/services" \
  -d "key=YOUR_API_KEY" -d "secret=YOUR_API_SECRET"

Each entry contains service, name, rate, min, max, average, cancel and drip_feed.

Place an order

curl -X POST "https://climbpanel.mintsource.dev/api/v2/order" \
  -d "key=YOUR_API_KEY" -d "secret=YOUR_API_SECRET" \
  -d "service=1" -d "link=https://example.com/post" -d "quantity=1000"

On success the data field contains the new order id.

Order status

curl -X POST "https://climbpanel.mintsource.dev/api/v2/status" \
  -d "key=YOUR_API_KEY" -d "secret=YOUR_API_SECRET" \
  -d "order=123,124"

Send one id or a comma separated list. The reply contains status, remains, charge and start_count for every order.

Balance

curl -X POST "https://climbpanel.mintsource.dev/api/v2/balance" \
  -d "key=YOUR_API_KEY" -d "secret=YOUR_API_SECRET"

Returns the spendable balance and the currency it is held in.

Refill

curl -X POST "https://climbpanel.mintsource.dev/api/v2/refill" \
  -d "key=YOUR_API_KEY" -d "secret=YOUR_API_SECRET" \
  -d "amount=100"

Creates a deposit request for the administrator to approve. The reply contains the refill_id and the status.