Caiz Testnet

Caiz Testnet

The Testnet is essentially identical to the main-net, except that it doesn't contain active values. You can try Caizscan, which is our Ledger Explorer and Analytics decentralised platform for Caizcoin. You can also test your APIs in order to ensure all unexpected requests are solved before going live. Connect all your business approach with our data base, expand your possibilities.

Caiz Testnet is managed and maintained by Caiz Development GmbH for public use to try out the Caiz Chain.

API Description

We are pleased to announce that we are now in the final stages of rolling out our CAIZ SaaS API. The API is a cloud-based service that enables you to interact directly with the Caiz blockchain, creating wallets and initiating transactions. It also offers automatic checks against AML, ATF, OFAC lists, so you can be sure your clients are compliant without having to worry about it yourself.

We have also added more documentation to our site every day, and soon we will release our Postman collection for testing your own apps before deploying them on our platform.

1. Create New Account

API to be used for registration of new users.

General Details

/api/v1/accounts

Description

API call will store user details in mongodb, generate a wallet, generate a public key and fund it with 10000 balance.

Request Body
Registration API

{

“name”: “John Doe”,

“email”: “johndoe123@caiz.com”,

“secretPin”: “123456”,

“password”: “password123”

}

Success Response
Registration API

{

“status”: “success”,

“data”: {

“name”: “Jon Doe”,

“email”: “johndoe123@caiz.com”,

“isKYCverified”: true

}

}

Error Response: Duplicate Email
Fees API

{

“status”: “error”,

“error”: “E11000 duplicate key error collection: sandbox.accounts

index: email_1 dup key: { email: \“caiztest013@caiz.com\” }”

}

2. Get Balances

API to be used for getting wallet balance of a particular user.

General Details

/api/v1/wallets/balance?email=johndoe123@caiz.com

Parameters

Email Address of the user

No Request Body for this API
Success Response
Balance API

{

“status”: “success”,

“data”: {

“balance”: “10000.0000000”,

“currency”: “caiz”

}

}

Error Response: Duplicate Email
Fees API

{

“status”: “error”,

“error”: “E11000 duplicate key error collection: sandbox.accounts

index: email_1 dup key: { email: \“caiztest013@caiz.com\” }”

}

3. Get Transaction Fees

API used to get the transaction fees that will be charged for payments.

General Details

/api/v1/wallets/fee?amount=10

Parameters

Amount to be transferred during transaction

No Request Body for this API
Success Response
Fees API

{

“status”: “success”,

“data”: {

“fee”: “0.10001”,

“currency”: “caiz”

}

}

Error Response: Duplicate Email
Fees API

{

“status”: “error”,

“error”: “E11000 duplicate key error collection: sandbox.accounts

index: email_1 dup key: { email: \“caiztest013@caiz.com\” }”

}