> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pinata.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# x402 Services

## Overview

The x402 Services provide streamlined endpoints for crypto-based content monetization using the @x402/axios or @x402/fetch libraries.

## Endpoints

For detailed API specifications, see the API Reference:

<CardGroup cols={2}>
  <Card title="Upload" icon="upload" href="/api-reference/endpoint/x402/pin">
    Upload files with payment
  </Card>

  <Card title="Retrieve" icon="download" href="/api-reference/endpoint/x402/retrieve">
    Access private files with payment
  </Card>
</CardGroup>

## See Also

For more granular control over payment configurations, see the [Payment Instructions API](/files/x402/x402-payment-instructions), which offers:

* **Flexible pricing** - Define custom payment requirements
* **Separate management** - Configure payments independently from files
* **One-to-many** - Attach one payment instruction to multiple files
