API ReferenceKyb
Update merchant logo
Sets or updates the merchant's logo URL. The URL should point to an image
previously uploaded via the /api/upload endpoint.
Authorization
privy AuthorizationBearer <token>
Privy JWT authentication for dashboard and management endpoints. This is used internally by the Bag Dashboard and is not intended for direct API integrations. Use API keys instead.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PATCH "https://api.justusebag.xyz/api/merchant/logo" \ -H "Content-Type: application/json" \ -d '{ "logoUrl": "https://cdn.justusebag.xyz/merchants/0x1a2B/logo.png" }'{
"status": "success",
"message": "Logo updated"
}{
"status": "error",
"message": "Invalid or revoked API key",
"code": "UNAUTHORIZED",
"hint": "Include a valid API key in the Authorization header: Bearer bag_live_sk_..."
}