{
  "ucp": {
    "version": "2026-04-08",
    "services": {
      "dev.ucp.shopping": [
        {
          "version": "2026-04-08",
          "spec": "https://ucp.dev/2026-04-08/specification/overview",
          "transport": "rest",
          "endpoint": "https://store-api.tryrankly.com/api/ucp",
          "schema": "https://store-api.tryrankly.com/api/ucp/schema.openapi.json"
        },
        {
          "version": "2026-04-08",
          "spec": "https://ucp.dev/2026-04-08/specification/overview",
          "transport": "mcp",
          "endpoint": "https://store-api.tryrankly.com/api/ucp/mcp",
          "schema": "https://store-api.tryrankly.com/api/ucp/mcp-schema.openrpc.json"
        },
        {
          "version": "2026-04-08",
          "spec": "https://ucp.dev/2026-04-08/specification/embedded-checkout/",
          "transport": "embedded",
          "endpoint": "https://store.tryrankly.com/embedded/checkout/{checkout_id}",
          "schema": "https://store-api.tryrankly.com/api/ucp/embedded-checkout.openrpc.json"
        }
      ]
    },
    "capabilities": {
      "dev.ucp.shopping.catalog.search": [
        {
          "version": "2026-04-08",
          "spec": "https://ucp.dev/2026-04-08/specification/catalog/",
          "schema": "https://store-api.tryrankly.com/api/ucp/schemas/catalog.json"
        }
      ],
      "dev.ucp.shopping.catalog.lookup": [
        {
          "version": "2026-04-08",
          "spec": "https://ucp.dev/2026-04-08/specification/catalog/",
          "schema": "https://store-api.tryrankly.com/api/ucp/schemas/catalog.json"
        }
      ],
      "dev.ucp.shopping.cart": [
        {
          "version": "2026-04-08",
          "spec": "https://ucp.dev/2026-04-08/specification/cart/",
          "schema": "https://store-api.tryrankly.com/api/ucp/schemas/cart.json"
        }
      ],
      "dev.ucp.shopping.checkout": [
        {
          "version": "2026-04-08",
          "spec": "https://ucp.dev/2026-04-08/specification/checkout/",
          "schema": "https://store-api.tryrankly.com/api/ucp/schemas/checkout.json"
        }
      ],
      "dev.ucp.shopping.fulfillment": [
        {
          "version": "2026-04-08",
          "spec": "https://ucp.dev/2026-04-08/specification/checkout/#fulfillment",
          "schema": "https://store-api.tryrankly.com/api/ucp/schemas/fulfillment.json",
          "methods": ["shipping", "pickup"],
          "carriers": ["Standard", "Expedited"],
          "pickup_locations": [
            { "id": "pickup_blr", "city": "Bangalore", "country": "IN" }
          ]
        }
      ],
      "dev.ucp.shopping.discount": [
        {
          "version": "2026-04-08",
          "spec": "https://ucp.dev/2026-04-08/specification/checkout/#discounts",
          "schema": "https://store-api.tryrankly.com/api/ucp/schemas/discount.json",
          "apply_endpoint": "https://store-api.tryrankly.com/api/ucp/checkout_sessions/{id}/discounts",
          "supported_types": ["promo_code"]
        }
      ],
      "dev.ucp.shopping.order": [
        {
          "version": "2026-04-08",
          "spec": "https://ucp.dev/2026-04-08/specification/order/",
          "schema": "https://store-api.tryrankly.com/api/ucp/schemas/order.json",
          "lookup_endpoint": "https://store-api.tryrankly.com/api/ucp/orders/{id}",
          "webhook_events": [
            "order.created",
            "order.updated",
            "order.fulfilled",
            "order.shipped",
            "order.delivered",
            "order.canceled",
            "order.refunded"
          ],
          "tracking": {
            "supported": true,
            "carrier_tracking_url_template": "https://store.tryrankly.com/orders/{order_id}"
          }
        }
      ]
    },
    "payment_handlers": {
      "com.dodopayments.hosted_checkout": [
        {
          "id": "dodo_hosted_checkout",
          "version": "2026-04-08",
          "spec": "https://docs.dodopayments.com/api-reference/checkout-sessions/create",
          "schema": "https://store-api.tryrankly.com/api/ucp/schemas/payment-handlers/dodo.json",
          "available_instruments": [
            {
              "type": "card",
              "constraints": {
                "brands": ["visa", "mastercard", "amex", "discover", "rupay"]
              }
            },
            { "type": "wallet" },
            { "type": "upi" }
          ],
          "config": {
            "type": "HOSTED_REDIRECT",
            "provider": "dodo",
            "mode": "test",
            "business_id": "bus_0NZdFbXow6J4dgTckRdrX",
            "tokenization_specification": {
              "type": "PUSH",
              "parameters": {
                "checkout_session_url": "https://store-api.tryrankly.com/api/ucp/checkout_sessions/{id}/complete",
                "return_url_param": "return_url"
              }
            }
          }
        }
      ],
      "com.dodopayments.card": [
        {
          "id": "dodo_card",
          "version": "2026-04-08",
          "spec": "https://docs.dodopayments.com/api-reference/payments",
          "schema": "https://store-api.tryrankly.com/api/ucp/schemas/payment-handlers/card.json",
          "available_instruments": [
            {
              "type": "card",
              "constraints": {
                "brands": ["visa", "mastercard", "amex", "discover", "rupay"]
              }
            }
          ],
          "config": {
            "type": "TOKENIZED_CARD",
            "provider": "dodo",
            "mode": "test",
            "business_id": "bus_0NZdFbXow6J4dgTckRdrX",
            "payment_methods": [
              {
                "type": "CARD",
                "enabled_card_brands": ["VISA", "MASTERCARD", "AMEX", "DISCOVER", "RUPAY"],
                "billing_address_required": true
              }
            ]
          }
        }
      ],
      "com.google.pay": [
        {
          "id": "google_pay",
          "version": "2026-04-08",
          "spec": "https://developers.google.com/pay/api/web/reference/request-objects",
          "schema": "https://store-api.tryrankly.com/api/ucp/schemas/payment-handlers/google-pay.json",
          "available_instruments": [
            {
              "type": "card",
              "constraints": {
                "brands": ["visa", "mastercard", "amex", "discover"]
              }
            }
          ],
          "config": {
            "type": "TOKENIZED_CARD",
            "provider": "google_pay",
            "mode": "test",
            "api_version": 2,
            "api_version_minor": 0,
            "merchant_info": {
              "merchant_id": "BCR2DN4T6OZSVQZG",
              "merchant_name": "Rankly Merch"
            },
            "allowed_payment_methods": [
              {
                "type": "CARD",
                "parameters": {
                  "allowed_auth_methods": ["PAN_ONLY", "CRYPTOGRAM_3DS"],
                  "allowed_card_networks": ["VISA", "MASTERCARD", "AMEX", "DISCOVER"],
                  "billing_address_required": true,
                  "billing_address_parameters": { "format": "FULL", "phone_number_required": false }
                },
                "tokenization_specification": {
                  "type": "PAYMENT_GATEWAY",
                  "parameters": {
                    "gateway": "dodopayments",
                    "gateway_merchant_id": "bus_0NZdFbXow6J4dgTckRdrX"
                  }
                }
              }
            ],
            "transaction_info": {
              "country_code": "US",
              "currency_code": "USD",
              "total_price_status": "FINAL"
            }
          }
        }
      ]
    }
  },
  "signing_keys": [
    {
      "kid": "rankly-store-2026-04",
      "kty": "EC",
      "crv": "P-256",
      "x": "1dxugbqfRDNRJxfiFhZ0wwdESbLdDLMC62F2-mOXSMs",
      "y": "FMT3wBsijsP4liB3u3_EyPPqQLqM_3GmW-TIr0ZDwIg",
      "use": "sig",
      "alg": "ES256"
    }
  ],
  "merchant": {
    "name": "Rankly Merch",
    "brand": "Rankly",
    "website": "https://store.tryrankly.com",
    "parent": "https://tryrankly.com"
  }
}
