Gully Labs Developers

Live OpenAPI 3.1.0 v1.0.0

Gully Pay API

Checkout, subscriptions, refunds, x402 and agent payments.

Base URL
https://gullypay.xyz/api
Authenticate with
x-api-key header, Authorization: Bearer, X-Checkout-Token header, x-agent-key header ยท get it
Guides
gullypay.xyz/docs
Spec
gully-pay.json

Quick start

curl -X POST "https://gullypay.xyz/api/checkout/hosted/8a1d2c3b-4e5f-4a6b-8c7d-9e0f1a2b3c4d" \
  -H "x-api-key: YOUR_KEY" \
  -H "content-type: application/json" \
  -d '{"amount":4999,"currency":"USD"}'

Placeholders such as YOUR_KEY stand for your own credential. Never paste a real key into a web page.

Try it

Payments need a store key, so the hub shows curl with a placeholder. Use a test key (rk_test_) while you build. Copy the curl below and put your own key in place of the placeholder, on your machine.

Rate limits

Headers on answers: X-RateLimit-Limit X-RateLimit-Remaining X-RateLimit-Reset Retry-After. Over the limit the answer is HTTP 429.

Errors

CodeHTTPMeaning
Bad Request400A field is missing or malformed. message lists what.
Unauthorized401Missing or unknown key.
Forbidden403The key may not do this.
Not Found404No such record, or an id that is not a UUID.
Conflict409Already exists.
Too Many Requests429Over the limit. Wait Retry-After seconds.

Reference

Loading the reference. It needs JavaScript; the OpenAPI file has everything too.