Download the PHP package payzcore/payzcore-php without Composer
On this page you can find all versions of the php package payzcore/payzcore-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download payzcore/payzcore-php
More information about payzcore/payzcore-php
Files in payzcore/payzcore-php
Package payzcore-php
Short Description Official PHP SDK for PayzCore - Blockchain Transaction Monitoring API
License MIT
Homepage https://payzcore.com
Informations about the package payzcore-php
PayzCore PHP SDK
Official PHP SDK for the PayzCore blockchain transaction monitoring API.
Important
PayzCore is a blockchain monitoring service, not a payment processor. All payments are sent directly to your own wallet addresses. PayzCore never holds, transfers, or has access to your funds.
- Your wallets, your funds — You provide your own wallet (HD xPub or static addresses). Customers pay directly to your addresses.
- Read-only monitoring — PayzCore watches the blockchain for incoming transactions and sends webhook notifications. That's it.
- Protection Key security — Sensitive operations like wallet management, address changes, and API key regeneration require a Protection Key that only you set. PayzCore cannot perform these actions without your authorization.
- Your responsibility — You are responsible for securing your own wallets and private keys. PayzCore provides monitoring and notification only.
Requirements
- PHP 8.1+
- ext-curl
- ext-json
- ext-hash
Installation
Composer (recommended)
Manual
Download the src/ directory and use PSR-4 autoloading, or require files manually.
Quick Start
Supported Networks & Tokens
Networks
| Constant | Value | Blockchain |
|---|---|---|
PayzCore::NETWORK_TRC20 |
TRC20 |
Tron |
PayzCore::NETWORK_BEP20 |
BEP20 |
BNB Smart Chain |
PayzCore::NETWORK_ERC20 |
ERC20 |
Ethereum |
PayzCore::NETWORK_POLYGON |
POLYGON |
Polygon |
PayzCore::NETWORK_ARBITRUM |
ARBITRUM |
Arbitrum |
All networks: PayzCore::NETWORKS
Tokens
| Constant | Value |
|---|---|
PayzCore::TOKEN_USDT |
USDT |
PayzCore::TOKEN_USDC |
USDC |
All tokens: PayzCore::TOKENS
Note: Token defaults to
USDTwhen omitted, preserving backward compatibility.
Usage
Payments
Projects (Master Key)
Webhook Verification
You can also verify the signature without parsing:
Before Going Live
Always test your setup before accepting real payments:
- Verify your xPub — In the PayzCore dashboard, click "Verify Key" when adding your wallet. Compare address #0 with your wallet app's first receiving address. They must match.
- Send a test payment — Create a monitoring request for $1–5 and send the funds to the assigned address. Verify they arrive in your wallet.
- Test sweeping — Send the test funds back out to confirm you control the derived addresses with your private keys.
Warning: A wrong xPub key generates addresses you don't control. Funds sent to those addresses are permanently lost. PayzCore is watch-only and cannot recover funds. Please take 2 minutes to verify.
Configuration
Error Handling
Static Wallet Mode
When the PayzCore project is configured with a static wallet, the API works the same way but may return additional fields in the response:
| Field | Type | Description |
|---|---|---|
notice |
string |
Instructions for the payer (e.g. "Send exact amount") |
original_amount |
string |
The original requested amount before any adjustments |
requires_txid |
bool |
Whether the payer must submit their transaction ID |
In dedicated address mode, you can specify which static address to assign to a customer using the address parameter on payment creation. In shared address mode, the project's single static address is used automatically.
Note: The
addressparameter is only used with static wallet projects in dedicated mode. For HD wallet projects, this parameter is ignored.
Token Parameter
The token parameter is optional. If omitted in create(), the API defaults to USDT. Response and webhook payloads always include a token field.
See Also
- Getting Started — Account setup and first payment
- Authentication & API Keys — API key management
- Webhooks Guide — Events, headers, and signature verification
- Supported Networks — Available networks and tokens
- Error Reference — HTTP status codes and troubleshooting
- API Reference — Interactive API documentation (Scalar UI)
License
MIT
All versions of payzcore-php with dependencies
ext-curl Version *
ext-json Version *
ext-hash Version *