Bag Docs
API ReferenceKyb

Get merchant logo URL

Returns the current logo URL for the authenticated merchant. The logo is displayed on checkout pages and payment receipts.

GET
/api/merchant/logo
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

Response Body

application/json

application/json

curl -X GET "https://api.justusebag.xyz/api/merchant/logo"
{
  "status": "success",
  "data": {
    "logoUrl": "https://cdn.justusebag.xyz/merchants/0x1a2B/logo.png"
  }
}
{
  "status": "error",
  "message": "Invalid or revoked API key",
  "code": "UNAUTHORIZED",
  "hint": "Include a valid API key in the Authorization header: Bearer bag_live_sk_..."
}