Skip to main content
GET
/
api
/
v1
/
payment-method
/
crypto-wallet
Get or create crypto wallet payment method
curl --request GET \
  --url https://staging.afx-server.com/api/v1/payment-method/crypto-wallet \
  --header 'x-api-key: <api-key>'
{
  "data": [
    {
      "address": "0x1234567890abcdef1234567890abcdef12345678",
      "network": "ETHEREUM_MAINNET"
    }
  ],
  "total": 2,
  "page": 0
}
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.

Authorizations

x-api-key
string
header
required

Static business API key from the dashboard

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[]
total
integer
Example:

2

page
integer
Example:

0