Account
Methods for managing accounts, deployments, callback secrets, and balance summaries in B2BINPAY DeFi API
Get list of entities
Provide API key in X-API-Key header
Entity retrieved successfully
Entity unique identifier
123e4567-e89b-12d3-a456-426614174000Account display name
Marketing TeamMultisig contract address
0x1234567890123456789012345678901234567890All account members aggregated from all networks (read access)
["0x1111111111111111111111111111111111111111","0x2222222222222222222222222222222222222222"]Creation timestamp
2024-01-01T00:00:00.000ZWhether the entity relates to Tron (TVM)
falseInvalid or missing token
Get entity by ID
Provide API key in X-API-Key header
Account unique identifier
123e4567-e89b-12d3-a456-426614174000Entity retrieved successfully
Invalid or missing token
[ERR_404] Account not found
Update entity
Provide API key in X-API-Key header
Account unique identifier
123e4567-e89b-12d3-a456-426614174000Entity updated successfully
Entity unique identifier
123e4567-e89b-12d3-a456-426614174000Account display name
Marketing TeamMultisig contract address
0x1234567890123456789012345678901234567890All account members aggregated from all networks (read access)
["0x1111111111111111111111111111111111111111","0x2222222222222222222222222222222222222222"]Creation timestamp
2024-01-01T00:00:00.000ZWhether the entity relates to Tron (TVM)
falseInvalid input
Invalid or missing token
[ERR_404] Account not found
Get parameters required to deploy the team including bytecode, initializer bytecode, and nonce
Provide API key in X-API-Key header
Account unique identifier
123e4567-e89b-12d3-a456-426614174000Deployment parameters retrieved successfully
Implementation address to copy
0x1234567890...Initializer bytecode with encoded constructor parameters
0x1234567890...Nonce for uniq deployment
0x1234567890...Deployer address for contract deployment
0x1234567890...Invalid or missing token
[ERR_404] Account not found
Generates a new callback secret for the account. The secret is returned only once and instantly invalidates the old secret.
Provide API key in X-API-Key header
Account unique identifier
123e4567-e89b-12d3-a456-426614174000Callback secret generated successfully
Invalid input
Invalid or missing token
[ERR_404] Account not found
Returns total balance, uncollected balance and count of uncollected invoices for a team on a specific network
Provide API key in X-API-Key header
Account unique identifier
123e4567-e89b-12d3-a456-426614174000Base currency for conversion
usdPossible values: Blockchain network chain ID
1Balance summary retrieved successfully
Total balance in base currency
150000Uncollected balance in base currency
32000Count of uncollected invoices
5Whether all currency rates were available
trueInvalid or missing token
[ERR_404] Account not found
Returns balances for each asset with conversion to base currency for a specific network with pagination
Provide API key in X-API-Key header
Account unique identifier
123e4567-e89b-12d3-a456-426614174000Base currency for conversion
usdPossible values: Blockchain network chain ID
1Field to sort by
balanceExample: idPossible values: Sort order (ascending or descending)
descExample: descPossible values: Filter by currency IDs
["1-0xdac17f958d2ee523a2206206994597c13d831ec7","1-0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"]Page number (starts from 1)
1Example: 1Number of items per page (max 100)
10Example: 10Asset balances retrieved successfully
Total number of items across all pages
Current page number (starts from 1)
Number of items per page
Invalid or missing token
[ERR_404] Account not found
Returns current nonce and last executed nonce for the deployment
Provide API key in X-API-Key header
UUID
123e4567-e89b-12d3-a456-426614174000Nonce information retrieved successfully
Current nonce for this deployment - next transaction will use this nonce
5Last executed nonce for this deployment (-1 if no transactions executed)
4Invalid or missing token
[ERR_404] Deployment not found
Last updated
Was this helpful?

