Cryptocurrency Wallet

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!

Cryptocurrency Wallet API server is up and running!

Use the mock URL below as the base endpoint to interact with this API design prototype.

https://crypto-wallet-server.mock.beeceptor.com



Request Headers:
{
  "Content-Type": "application/json"
}
{
  "username": "user123",
  "password": "securepassword",
  "email": "user@example.com"
}
Response Headers:
{
  "Content-Type": "application/json"
}
{
  "username": "user123",
  "password": "securepassword",
  "email": "user@example.com"
}
Request Headers:
{
  "Content-Type": "application/json"
}
{
  "username": "user123",
  "password": "securepassword"
}
Response Headers:
{
  "Content-Type": "application/json"
}
{
  "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  "token_type": "bearer",
  "expires_in": 3600
}
Request Headers:
N/A
N/A
Response Headers:
{
  "Content-Type": "application/json"
}
{
  "balance": 100.25,
  "currency": "BTC"
}
Request Headers:
N/A
N/A
Response Headers:
{
  "Content-Type": "application/json"
}
{
  "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"
    }
  ]
}
Request Headers:
{
  "Content-Type": "application/json"
}
{
  "recipient_address": "0x1234567890ABCDEF",
  "amount": 5.0,
  "currency": "ETH"
}
Response Headers:
{
  "Content-Type": "application/json"
}
{
  "id": "98765",
  "to_address": "0x1234567890ABCDEF",
  "type": "debit",
  "amount": 5.0,
  "currency": "ETH",
  "timestamp": "2023-07-24T16:30:00Z"
}
Request Headers:
{
  "Content-Type": "application/json"
}
{
  "amount": 2.5,
  "currency": "BTC",
  "recipient_address": "0x1234567890ABCDEF"
}
Response Headers:
{
  "Content-Type": "application/json"
}
{
  "fee": 0.0005,
  "currency": "BTC"
}
Request Headers:
N/A
N/A
Response Headers:
{
  "Content-Type": "application/json"
}
{
  "BTC": 42345.67,
  "ETH": 2567.89,
  "USD": 1.0
}
paymentscrypto