Frequently Asked Questions
Question 1: How to create an API key?
Log into your Ceffu account on the Web platform, and click [Entity Management > API Management] from the user center icon.
Click [Create API Key] and select the required attributes of the API key.
Complete the security verification with your registered 2FA devices.
Get the approval from the designated Approvers.
Question 2: What are the differences between bypass Approval vs required Approval?
Bypass Approval means All subsequent API requests initiated by this API key will NOT require MAS, however this key creation flow will need it.
Required Approval means All subsequent API requests initiated by this API key are required to go through MAS approval. [ Feature is yet to be ready ]
Question 3: Is there any testing environment?
It is suggested that to create a test wallet and test api key in LIVE environment for integration.
Question 4: Is there an API Documentation?
Open API Documentation : link
Question 5: Does OpenAPI support Qualified Wallet?
Yes, it does. Clients can create a Qualified wallet through Ceffu wallet endpoints by indicating the Wallet Type. However, Qualified wallet does not support Parent and Sub wallet structure currently.
Question 6: What does "global.no_wallet_permission" means
If you get the global.no_wallet_permission, it would be due to your API key does not have those wallet permission for accessible to the API endpoints. Please make sure the API key was granted those wallet permission in API Key creation module.
Question 7: How to handle walletId avoid exceeding the programmable number limit when using javascript?
Here is an example for reference only
const JSONBigInt = require('json-bigint');
const jsonString = `
{
"data":{
"walletId": 1654312200333238333,
"walletName": "Shared Sub-Wallet-1683253738774",
"walletType": 21,
"parentWalletId": 1632663355181527287
},
"code": "000000",
"message": "Success"
}
`;
const jsonParsed = JSONBigInt.parse(jsonString);
const walletId = jsonParsed.data.walletId;`
console.log("Wallet ID:", walletId.toString());