โก๏ธTransfer
This documentation provides details on the API endpoints available for Whirlprivacy.io, focusing on transfer-related operations.
Last updated
This documentation provides details on the API endpoints available for Whirlprivacy.io, focusing on transfer-related operations.
Last updated
/transfer/init
- Initiate TransferDescription: Initiates a virtual transfer between two accounts, either from UUID to UUID or from UUID to a recipient address.
Parameter | Type | Description |
---|---|---|
/transfer/history/sent
- Sent Transfer HistoryDescription: Retrieves the history of all transfers sent from the user's virtual accounts.
/transfer/history/received
- Received Transfer HistoryDescription: Retrieves the history of all transfers received into the user's virtual accounts.
/virtual/virtual-transfer-fee/total
- Retrieve Total Virtual Transfer FeesDescription: This endpoint retrieves the total of virtual transfer fees for a specific user from the specified address.
Parameters:
Response:
Error Handling:
Example Code:
/virtual/virtual-transfer-fee/history
- Retrieve Virtual Transfer Fee HistoryDescription: This endpoint retrieves the history of virtual transfer fees for a specific user from the specified address with pagination.
Parameters:
Response:
Error Handling:
Example Code:
Error Code | Description |
---|---|
Parameter | Type | Description |
---|---|---|
Error Code | Description |
---|---|
Parameter | Type | Description |
---|---|---|
Error Code | Description |
---|---|
Parameter | Type | Description | Required |
---|---|---|---|
Error Code | Description |
---|---|
Parameter | Type | Description | Required |
---|---|---|---|
Error Code | Description |
---|---|
ticker
string
The asset ticker symbol.
amount
string
The amount of the asset to transfer.
senderUuid
string
The UUID of the sender's virtual account.
recipient
string
The recipient's address or UUID.
senderLabel
string
An optional label for the sender's virtual account.
fees
string
Optional fees to be applied to the transaction.
feesCollector
string
The collector of the transaction fees.
E_INVALID_PARAMS
Returned if required parameters are missing or invalid.
E_INVALID_TICKER
Invalid or unsupported ticker symbol.
E_INVALID_AMOUNT
Invalid transaction amount, possibly below minimum threshold.
E_FEES_ABOVE_AMOUNT
Specified fees are greater than the transaction amount.
E_INVALID_FEES_COLLECTOR
Fees collector address is invalid or not found.
E_CREATING_VIRTUAL_TRANSFER
General error during the transfer initiation process.
label
string
Optional label of the user's virtual account.
uuid
string
Optional UUID of the user's virtual account.
E_UNAUTHORIZED
Unauthorized access, possibly due to bad token.
label
string
Optional label of the user's virtual account.
uuid
string
Optional UUID of the user's virtual account.
E_UNAUTHORIZED
Unauthorized access, possibly due to bad token.
from
string
Blockchain address to filter the transactions.
Yes
E_INVALID_ADDRESS
Provided 'from' parameter is invalid.
from
string
Blockchain address to filter the transactions.
No
page
integer
Page number for pagination.
No
E_INVALID_ADDRESS
Provided 'from' parameter is invalid.