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-keyheader,Authorization: Bearer,X-Checkout-Tokenheader,x-agent-keyheader ยท 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
| Code | HTTP | Meaning |
|---|---|---|
Bad Request | 400 | A field is missing or malformed. message lists what. |
Unauthorized | 401 | Missing or unknown key. |
Forbidden | 403 | The key may not do this. |
Not Found | 404 | No such record, or an id that is not a UUID. |
Conflict | 409 | Already exists. |
Too Many Requests | 429 | Over the limit. Wait Retry-After seconds. |
Reference
Loading the reference. It needs JavaScript; the OpenAPI file has everything too.