Accounts
Lists accounts using the provided authorization token.
- The authorization token from the request header.
A promise that resolves to an AccountAPIResponse object containing the list of accounts.
A promise that resolves to an AccountAPIResponse object containing the list of accounts.
Creates a new account using the provided authorization token and account input data.
- The authorization token from the request header.
- The input data required to create a new account.
An optional private key for the account.
A promise that resolves to an AccountAPIResponse object containing the success status, message, and data.
A promise that resolves to an AccountAPIResponse object containing the success status, message, and data.
Retrieves the account details for a given account name.
- The name of the account to retrieve.
- The authorization token from the request header.
A promise that resolves to an AccountAPIResponse object containing the account details.
A promise that resolves to an AccountAPIResponse object containing the account details.
Deletes an account based on the provided account name.
- The name of the account to be deleted.
- The authorization token from the request header.
A promise that resolves to an AccountAPIResponse object indicating the success or failure of the operation.
A promise that resolves to an AccountAPIResponse object indicating the success or failure of the operation.