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
session AuthorizationBearer <token>
Supabase session 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
Response Body
application/json
application/json
curl -X PATCH "https://getbags.app/api/merchant/logo" \ -H "Content-Type: application/json" \ -d '{ "logoUrl": "https://cdn.getbags.app/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_..."
}