# Building with pay > Start a gateway, define endpoint pricing, and scaffold provider specs. - [Getting started](/docs/building-with-pay/getting-started/index.md): Start a sandbox payment gateway and make the first paid request. - [Defining pricing](/docs/building-with-pay/pricing/index.md): Price paid endpoints by request, usage unit, variant, or volume tier. - [YAML Specification](/docs/building-with-pay/yaml-specification/index.md): The shape of a provider YAML — top-level fields, routing, operator, endpoints, and the optional blocks. - [Subscriptions: concept](/docs/building-with-pay/subscriptions/concept/index.md): What a subscription does, in plain terms — recurring flat-fee access without invoices, cards, or chargebacks. - [Subscriptions: YAML specification](/docs/building-with-pay/subscriptions/yaml-specification/index.md): Declare a subscription endpoint in your provider spec. - [Subscriptions: examples](/docs/building-with-pay/subscriptions/examples/index.md): Common subscription patterns — monthly access, weekly content, tiers, expiry caps — with the matching pay curl invocations. - [Subscriptions: protocol & internals](/docs/building-with-pay/subscriptions/protocol/index.md): The on-chain accounts, the 402 handshake, the activation transaction, and how renewals work under the hood.