DocsAPI Reference
Log In
Docs

Customization

Locking fields

Some service providers support locking the token and wallet address fields within their widgets. To do this, simply pass in the lockFields param to the widget endpoint with the values of destinationCurrencyCode/sourceCurrencyCode (depending on buy vs sell flow), walletAddress, or both. Here are the service providers that support locking those fields in their widgets:

Locking cryptocurrency


Locking wallet address


AlchemyPay

Always locked when passed in
Always locked when passed in

Banxa

Not supported
Not supported

Binance Connect

Always locked
Not supported

Blockchain

Always locked when passed in
Always locked when passed in

BTC Direct

Supported
Supported

Coinbase

Not supported
Not supported

Eldorado

Always locked when passed in
Always locked when passed in

Fonbnk

When we lock the wallet address
crypto currency also get locked
Supported

Guardarian

Always locked when passed in
Supported

Koywe

Always locked when passed in
Always locked when passed in

Kryptonim

Always locked when passed in
Not supported

Mercuryo

Supported
Not Supported

Onmeta

Always locked when passed in
Not Supported

Onramp Money

Always locked when passed in
Always locked when passed in

Paybis

Not supported
Not supported

Robinhood

Always locked when passed in
Always locked when passed in

Stripe

Supported
Supported

Swapped

Not Supported
Not Supported

Topper

Supported
Supported

Transak

Supported
Supported

TransFi

Always locked when passed in
Always locked when passed in

Unlimit

Supported
Supported

Yellowcard

Always locked when passed in
Always locked when passed in

Here's a sample buy request with both the token and wallet address fields locked:

{
    "sessionData": {
        "walletAddress": "2N3oefVeg6stiTb5Kh3ozCSkaqmx91FDbsm",
        "countryCode": "US",
        "sourceCurrencyCode": "USD",
        "sourceAmount": "100",
        "destinationCurrencyCode": "USDC",
        "serviceProvider": "TRANSAK",
        "lockFields": ["destinationCurrencyCode","walletAddress"]
    },
    "externalCustomerId": "test1",
    "externalSessionId": "test1"
}