⚙️ Merchant Settings

Merchant Profile & Preferences

GET /api/agent-merchant/profile

🔐 Authentication Required (Bearer Token)

No parameters - Returns merchant profile information

Merchant Profile

PUT /api/agent-merchant/auth/wallet-address

🔐 Authentication Required (Bearer Token)

⚠️ Important:

24-Hour Limit: Wallet address can only be changed once every 24 hours. If you have made a change today, you will need to wait until the next day to update again.

📋 Request Body Parameters:

wallet_address string Required New wallet address
secret_key string Required if 2FA not enabled 2FA secret key for initial setup
two_factor_code string Required if 2FA enabled 6-digit code from Google Authenticator
🔐 2FA Required: Changing wallet address requires 2FA verification. If you haven't set up 2FA, you'll need to provide your secret key. If 2FA is already enabled, you'll need to provide a valid 6-digit code from Google Authenticator.

Update Wallet Address

PUT /api/agent-merchant/auth/password

🔐 Authentication Required (Bearer Token)

📋 Request Body Parameters:

current_password string Required Current password for verification
new_password string Required New password
confirm_password string Required Confirm new password

Update Password

PUT /api/agent-merchant/auth/email

🔐 Authentication Required (Bearer Token)

📋 Request Body Parameters:

email string Required New email address

Update Email

GET /api/agent-merchant/currencies/own
PUT /api/agent-merchant/currencies/own

🔐 Authentication Required (Bearer Token)

📋 Request Body Parameters (PUT):

currency_id number Required Select your merchant currency

Merchant Currency

Update Currency

GET /api/agent-merchant/settings
PUT /api/agent-merchant/settings

🔐 Authentication Required (Bearer Token)

📋 Request Body Parameters (PUT):

key_name string Required Setting key (e.g., notifications_enabled, language)
value string Required Setting value

Current Settings

Update Settings

GET /api/agent-merchant/settings/preferences

🔐 Authentication Required (Bearer Token)

No parameters - Returns user preferences

User Preferences