Skip to main content
GET
/
api
/
v1
/
payment-method
/
crypto-wallet
Get or create crypto wallet payment method
curl --request GET \
  --url https://sandbox.api.afriex.com/api/v1/payment-method/crypto-wallet \
  --header 'x-api-key: <api-key>'
{
  "data": {
    "id": "695271a3ba52c13b669fad2b",
    "addresses": [
      {
        "address": "0x1234567890123456789012345678901234567890",
        "network": "ETHEREUM_MAINNET"
      },
      {
        "address": "TYASr5UV6HEcXatwdFQfmLVUqQQQMUxHLS",
        "network": "TRON_MAINNET"
      }
    ]
  }
}
Retrieve an existing crypto wallet or create a new one for the specified crypto asset. Supports USDT and USDC assets. Important: This endpoint is only active in production and does not work on staging/dev.
Want to see this in action? Learn how to build payment links using this endpoint:
https://dev.to/afriex/send-a-link-get-paid-building-payment-links-with-afriex-13ak

Authorizations

x-api-key
string
header
required

Static business API key issued from the dashboard. A business can provision multiple API keys, each scoped to a configurable set of permissions (e.g. read transactions, create deposits, etc). Permissions are chosen per key at creation time in the dashboard and may be revoked by deleting the key. Requests made with a key that does not include the permission required by the target endpoint will be rejected with a 403 Forbidden response; an unrecognised, malformed or revoked key returns 401 Unauthorized. Manage your keys and their permissions under Developer → API keys in the dashboard.

Headers

x-api-version
string

API version in ISO 8601 format (e.g. 2025-12-28). Defaults to latest stable.

Query Parameters

asset
enum<string>
required

The crypto asset symbol for the wallet

Available options:
USDT,
USDC
customerId
string

Optional customer ID. If not provided, the wallet will be created for the business.

Response

Crypto wallet addresses retrieved or created successfully.

data
object