IZZIPAYDevelopers

Wallets API

Create, manage, and transact with digital wallets.

Base URL: https://api.izzipay.com/v1/wallets

POST/v1/wallets

Create a new wallet

Request Body

json
{ "name": "Personal Wallet", "currency": "USD", "type": "personal" }

Response

json
{ "id": "wal_abc123", "name": "Personal Wallet", "balance": 0, "currency": "USD" }

cURL

bash
curl -X POST https://api.izzipay.com/v1/wallets \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{ "name": "Personal Wallet", "currency": "USD", "type": "personal" }'
GET/v1/wallets

List all wallets

cURL

bash
curl -X GET https://api.izzipay.com/v1/wallets \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json"
GET/v1/wallets/:id

Get wallet details

cURL

bash
curl -X GET https://api.izzipay.com/v1/wallets/:id \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json"
POST/v1/wallets/:id/credit

Credit wallet

Request Body

json
{ "amount": 5000, "source": "bank_transfer", "reference": "ref_123" }

cURL

bash
curl -X POST https://api.izzipay.com/v1/wallets/:id/credit \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{ "amount": 5000, "source": "bank_transfer", "reference": "ref_123" }'
POST/v1/wallets/:id/debit

Debit wallet

cURL

bash
curl -X POST https://api.izzipay.com/v1/wallets/:id/debit \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json"
POST/v1/wallets/:id/transfer

Transfer between wallets

cURL

bash
curl -X POST https://api.izzipay.com/v1/wallets/:id/transfer \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json"
GET/v1/wallets/:id/transactions

Get wallet transactions

cURL

bash
curl -X GET https://api.izzipay.com/v1/wallets/:id/transactions \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json"
GET/v1/wallets/:id/balance

Get wallet balance

cURL

bash
curl -X GET https://api.izzipay.com/v1/wallets/:id/balance \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json"
PUT/v1/wallets/:id

Update wallet details

cURL

bash
curl -X PUT https://api.izzipay.com/v1/wallets/:id \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json"
POST/v1/wallets/:id/freeze

Freeze wallet

cURL

bash
curl -X POST https://api.izzipay.com/v1/wallets/:id/freeze \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json"
POST/v1/wallets/:id/unfreeze

Unfreeze wallet

cURL

bash
curl -X POST https://api.izzipay.com/v1/wallets/:id/unfreeze \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json"
DELETE/v1/wallets/:id

Close wallet

cURL

bash
curl -X DELETE https://api.izzipay.com/v1/wallets/:id \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json"