BananaCrystal API Integration

    Integrate our swap, onramp, and balance checking APIs into your application

    Token Swapping

    Swap between different Hedera tokens

    POST
    /hedera-transactions/swap-hedera-tokens
    Required: fromTokenId, toTokenId, fromAmount, toAmount, userAccountId

    Fiat Onramp

    Convert fiat currency to crypto

    POST
    /onramp/initiate
    Required: userId, amount, currency, paymentMethod

    Balance Check

    Check token balance for accounts

    GET
    /hedera-transactions/balance/{accountId}/token/{tokenId}
    Required: accountId, tokenId in URL path

    Authentication

    All API requests require authentication headers

    access-token:your-access-token
    client:your-client-token
    uid:your-uid

    Need Help?

    Contact our technical team for integration support