# Sell a digital file on PayRequest Marketplace

A verified PayRequest seller can prepare a private draft from an AI chat and submit it for marketplace review. A payment provider is not required to apply.

## Use a listing link without a connector

Ask your chat to give you a link in the form `https://payrequest.me/sell#chat?title=TITLE&description=DESCRIPTION` with URL-encoded values. It can include `price` and `currency` if you confirmed them. Open the link while signed in, select **Use listing details**, and upload the original file on PayRequest. The link carries listing text only. Submission still takes place in the Marketplace form.

## Connect and prepare a draft

1. Add `https://payrequest.me/mcp/sell` as a custom MCP connector in your client. In [Grok Connectors](https://grok.com/connectors), select **New Connector → Custom**, enter the URL, and select **No authentication** if shown. In the separate Grok Bot app, you can ask your Bot to add the URL directly, or open the setup prompt on the PayRequest seller page. To check setup, return to your chat and ask it to run `check_marketplace_connection` to verify the connection. This check needs no pairing code. The draft tool still requires your PayRequest pairing code.
   In **Claude**, go to **Customize → Connectors**, add a custom Web connector named **PayRequest Marketplace**, paste the same URL and choose **No sign in**. Enable the connector for your chat under **+ → Connectors**. On managed accounts, your organization may need to add it first. [Claude connector setup](https://support.claude.com/en/articles/11175166-get-started-with-custom-connectors-using-remote-mcp)
2. Sign in at [PayRequest Marketplace](https://payrequest.me/sell) and open [Sell a digital file from your AI chat](https://payrequest.me/sell/agent). Your copyable prompt includes the pairing code. The code expires in 15 minutes and authorizes one draft.
3. Ask your assistant to call `create_marketplace_pdf_draft` with the code, title and optional description, price and currency. Get the seller's confirmation before saving. Price is a decimal string and currencies are EUR, USD, GBP or MAD.
4. In ChatGPT clients with MCP file inputs, select the original PDF (up to 10 MB). For MP3s, other files, or clients without file forwarding, omit the file with the seller's consent. The tool can still save the listing details.
5. Open the returned review link while signed in as the seller. Add the original file if needed, confirm the listing details, seller country and rights, and choose **Submit for review**. Drafts are private and expire after seven days.

## Upload using HTTP

An agent or application with access to the original file can send one PDF or MP3 up to 10 MB in a multipart POST directly to PayRequest.

```bash
curl --fail-with-body https://payrequest.me/api/sell/file-drafts \
  -H "Accept: application/json" \
  -H "Authorization: Bearer ${PAYREQUEST_PAIRING_CODE}" \
  -F 'title=My digital guide' \
  -F 'price=9.00' \
  -F 'currency=EUR' \
  -F 'file=@guide.pdf;type=application/pdf'
```

The response contains `status`, `file_uploaded` and `review_url`. Retry using the same code to recover the result. Start a new pairing for another draft. Keep the pairing code and any temporary file URLs private.
