Skip to main content

Wallet Creation

PayWithZ handles wallet creation and management through the API. Wallets are Solana keypairs that can hold tokens and interact with the platform.

Create Wallet

curl -X POST http://api.paywithz.com/api/wallet/create \
  -H "Content-Type: application/json"

Response Fields

FieldDescription
walletSolana wallet address (PublicKey)
balanceInitial SOL balance (usually 0)
explorerUrlLink to view wallet on Solana Explorer

Check Wallet Status

Get comprehensive wallet information including SBT status and balances:
curl http://api.paywithz.com/api/wallet/7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU/status

Status Fields

FieldDescription
verifiedWhether wallet has completed KYC
hasSbtWhether wallet has an SBT
sbtBalanceNumber of SBTs (usually 0 or 1)
stablecoinBalanceStablecoin token balance
solBalanceSOL balance
kycDataKYC information (if available)

Use Cases

New User Onboarding

Create wallet for new user during registration

Status Verification

Check if wallet is verified and ready to transact

Balance Checking

Get current balances for all tokens

KYC Status

Verify KYC completion and SBT ownership

Get Your API Key

Request API Key

Join our pilot program to get API access. Perfect for banks, fintechs, and payment processors.

Next Steps