Cryptocurrency Wallet Mock API
Designing a complete JSON REST API for a crypto wallet is a comprehensive task that requires careful consideration of various functionalities and security measures. Here, we are providing you with an overview of the API endpoints and payloads for some essential operations. Keep in mind that this is a basic outline, and you may need to expand and customize it based on your specific requirements and security considerations.
Unlock the potential of Cryptocurrency Wallet use-cases with this sample API Design. Start with this prototype and effortlessly expand to tackle more advanced scenarios. Beeceptor empowers you to not only create prototypes but also to build and innovate further. Your imagination sets the limit β get started with Beeceptor today!

POST
Request Body:
{
"username": "user123",
"password": "securepassword",
"email": "user@example.com"
}Response Body:
200
{
"username": "user123",
"password": "securepassword",
"email": "user@example.com"
}POST
Request Body:
{
"username": "user123",
"password": "securepassword"
}Response Body:
200
{
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"token_type": "bearer",
"expires_in": 3600
}GET
Request Body:
N/A
Response Body:
200
{
"balance": 100.25,
"currency": "BTC"
}GET
Request Body:
N/A
Response Body:
200
{
"transactions": [
{
"id": "12345",
"from_wallet": "0x1234567890ABCDEF",
"type": "credit",
"amount": 10.5,
"currency": "ETH",
"timestamp": "2023-07-13T09:12:34Z"
},
{
"id": "67890",
"to_wallet": "0x1234567890ABCXYZ",
"type": "debit",
"amount": 5.2,
"currency": "BTC",
"timestamp": "2023-07-23T09:12:34Z"
}
]
}POST
Request Body:
{
"recipient_address": "0x1234567890ABCDEF",
"amount": 5.0,
"currency": "ETH"
}Response Body:
200
{
"id": "98765",
"to_address": "0x1234567890ABCDEF",
"type": "debit",
"amount": 5.0,
"currency": "ETH",
"timestamp": "2023-07-24T16:30:00Z"
}POST
Request Body:
{
"amount": 2.5,
"currency": "BTC",
"recipient_address": "0x1234567890ABCDEF"
}Response Body:
200
{
"fee": 0.0005,
"currency": "BTC"
}GET
Request Body:
N/A
Response Body:
200
{
"BTC": 42345.67,
"ETH": 2567.89,
"USD": 1.0
}paymentscrypto