griffnode / php-sdk
Accept Bitcoin, Litecoin, Dogecoin, Dash, Ethereum and ERC-20 tokens. Server-to-server, authenticated with a secret API key (`Authorization: Bearer sk_live_…` for live, or `sk_test_…` for test mode — same base URL). All monetary amounts in API responses are JSON numbers; **webhook** amounts are stri
Requires
- php: ^7.4 || ^8.0
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^7.3
- guzzlehttp/psr7: ^1.7 || ^2.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.5
- phpunit/phpunit: ^8.0 || ^9.0
This package is not auto-updated.
Last update: 2026-07-15 19:09:34 UTC
README
Official SDK for the GriffNode crypto-payments API — accept Bitcoin, Ethereum, Litecoin, Dogecoin, Dash and ERC-20 tokens straight to your own wallet.
composer require griffnode/php-sdk
- API reference: https://docs.griffnode.com/reference
- OpenAPI spec: https://docs.griffnode.com/openapi.yaml
- Generated from
openapi.yamlwith OpenAPI Generator (php) — see.github/workflows/generate.yml. Do not hand-edit generated files.
Quick start
Authenticate with a secret key (Authorization: Bearer sk_live_…, or sk_test_… for
sandbox), then create a payment. Send an X-Idempotency-Key on every create so a retried
request can't double-charge. Full, language-specific examples are generated below by CI.
License
Apache-2.0 — see LICENSE.