/api/v1 and are authenticated with
your API key credentials:
Base URL is
https://api.hyparrow.cloud/api/v1 in production. To test without
moving real funds, point at the Sandbox —
https://sandbox.hyparrow.cloud/api/v1 — using a pk_test_ key. Wallet
creation, balances and transfers are all simulated there.Supported networks and tokens
Wallets are created on one of these networks (case-insensitive):
Transfers move stablecoins:
Create a wallet, check balance and transfer
1
Create a wallet for a customer
POST /crypto/wallets with the customerId (a UUID of one of your
customers), the network, and an optional label.201 Created returns the new wallet, including its id (the walletId
you’ll use everywhere else) and on-chain walletAddress:Response
2
Check the balance
GET /crypto/wallets/{walletId}/balance returns the on-chain balances for
the wallet.cURL
Response
GET /crypto/customers/{customerId}/wallets.3
Send a transfer
POST /crypto/transfer to move tokens out of a wallet to an external
address. Specify the walletId, the amount in USD, the asset token
and the destination address.cURL
Response
pending at first while it confirms on-chain. Track
it with the transactions endpoint below.4
List wallet transactions
GET /crypto/wallets/{walletId}/transactions returns the wallet’s
transaction history, newest first.cURL
Response
Edge cases
Unsupported network or token
Unsupported network or token
Creating a wallet on a network outside the table above returns
400 Bad Request with the list of supported networks. Likewise a transfer
with an asset other than USDC or USDT returns 400 Bad Request.Customer not found
Customer not found
customerId must reference a customer that belongs to your client account.
An unknown or non-owned customer returns 404 Not Found.Wallet access denied
Wallet access denied
Balance, transfer and transaction calls verify the wallet belongs to one of
your customers. A wallet outside your account returns
403 Forbidden.Pending transfers
Pending transfers
A transfer’s
status starts as pending and settles once confirmed on the
crypto network. Poll
GET /crypto/wallets/{walletId}/transactions to follow it to completion.Testing in the sandbox
In the Sandbox, wallet creation, balances and transfers are all simulated — no real chain calls and no real funds. Use apk_test_ key against
https://sandbox.hyparrow.cloud/api/v1. As with other payment flows, a transfer
amount ending in .01 simulates a failed result and .99 simulates a
pending one, so you can exercise both paths deterministically.
