# P-Link.io Payment links help

Overview of P-Link, a universal payment platform without registration.

<div align="left"><figure><img src="/files/vzUfw1snj0EDVxzwzUl4" alt=""><figcaption></figcaption></figure></div>

## Welcome to the P-Link documentation

**P-Link** is a universal platform for sending and receiving payments, **without prior registration**.

### 🚀 Highlights

* No account to create before receiving payment.
* 0% seller-side commission (excluding Solana network fees).
* Works with just an email address or phone number.
* Instantly usable payment links, perfect for automated or AI integrations.
* Possible conversion of crypto assets to fiat.
* The payer can use any Solana based token, or credit card to pay

### 🔗 Official website

<https://p-link.io>

***

See also **:** [Receive a payment](https://docs.p-link.io/receive-a-payment/) · [Send a payment](https://docs.p-link.io/send-a-payment/)

<div align="left"><figure><img src="/files/chSUkAsL0FosHHJFuFsW" alt="P-Link Logo" width="73"><figcaption></figcaption></figure></div>


# Receive a payment

Receive payments with a single url, ready to use as an hosted payment page

## Receive a payment

### 1. Create a payment link

* Basic structure : `https://p-link.io/[email]`
* Replace `[email]` by your email.

💡 Example :\
`https://p-link.io/contact@net-assembly.com`\
Using this link, you can pay any amount to <contact@net-assembly.com>

If this is the first time you open it, P-Link automatically creates a wallet and sends you a secure link by email to claim it..

### 2. Add an amount

Format :\
`https://p-link.io/[email]/[amount]`

💡 Example :\
`https://p-link.io/contact@net-assembly.com/10`\
Using this link, you can pay 10$ to <contact@net-assembly.com>

### 3. Add a currency

Format :\
`https://p-link.io/[email]/[amount][devise]`

Example :\
`https://p-link.io/contact@net-assembly.com/10EUR` → payment of 10 EUR to <contact@net-assembly.com>

### P-Link wizard

In order to avoid the hassle of manually typing the link, you can also use our link wizard available on

{% embed url="<https://p-link.io>" %}

You can also use the advanced wizard available on :

{% embed url="<https://p-link.io/create>" %}

### Important information

* By default, users can use any Solana based cryptocurrency in order to pay a P-Link, or also directly use credit card, then the payment will be automatically converted into USDC to avoid volatility risk (for the receiver).
* This is a DeFi payment, so the payment cannot be refunded

***

**See also :** [Send a payment](https://docs.p-link.io/send-a-payment/) · [Social networks](https://docs.p-link.io/social-networks/)


# Collect payments everywhere

Post a P-Link to Discord, Twitter, Instagram, Telegram and more

## Use on social networks

P-Link links can be shared across all platforms :

* Discord
* Twitter / X
* Instagram
* Telegram
* Facebook

They automatically display a thumbnail representing a payment button.\
You can customize :

* The image
* The title
* The desc

To customize, create a P-Link from the official website ( <https://p-link.io/create> ).\
Default p-links (`https://p-link.io/[email]`) already have an optimized display.

### MCP server

You can use our MCP server located at `https://mcp.p-link.io/mcp` and connect your favorite AI agent with sending and receiving money capabilities.


# P-Link User Flow

Create a link → Share → Pay → Receive/Claim

## P-Link User Flow

> Create a link → Share → Pay → Receive/Claim

***

### 1. Create a payment link

* **From the link wizard:**\
  <https://p-link.io/create>
* **Manual URL:**

  ```
  https://p-link.io/[email]/[amount][currency]
  ```
* **Example:**

  ```
  https://p-link.io/jane@example.com/10EUR
  ```

***

### 2. Share the link

* Social networks (Discord, X/Twitter, Instagram, Telegram, Facebook)
* Direct messages, email, or SMS
* QR code (on a website, poster, or POS)
* Rich preview with title, image, and description (Open Graph/Twitter cards)

***

### 3. Payment by the customer

* **Via crypto wallet:** Phantom, Solflare, Backpack, or any Solana Pay compatible app
* **Via credit card:** automatic conversion to USDC
* Instant confirmation and low network fees (Solana)
* **Tip:** Use fixed-amount links to avoid errors

***

### 4. Receive / Claim

* Payment is **credited automatically** to the recipient's account
* If no account exists: the recipient can create/claim their account via a secure link
* Unclaimed funds are **returned to the sender** after 3 days (configurable)

**Best practices:**

* Verify the recipient's address before sending
* Do not expose your API key
* Secure your private key exports

***

### Integrations

* **Website:** HTML button or embedded QR code
* **Automation:** API call (`https://p-link.io/API_KEY/...`)
* **Social media:** Share link or custom preview image
* **Physical POS:** Display QR code on a tablet or print it (integration example on <https://www.free-cash-register.net/free-pos-software/Solana>)


# Account management

Creating and claiming a P-Link account to manage your payments

## Account management

### Manual account creation

You can create a P-Link account via :

* Google Login
* Twitter Login
* Login by email (OTP sent to the mailbox)
* Connection with a Wallet (Phantom, Solflare, Backpack)

### Claiming an account

* If someone sends you a payment and you don't have an account yet :
  * You will receive an email or SMS with a secure link.
  * Click on the link to claim the associated wallet.
  * You can then: transfer the funds, convert to fiat, or reuse the wallet for other payments.


# Safety and best practices

Tips for securing your transactions and protecting your P-Link access

## Safety and best practices

* Always check the recipient's address before sending a payment.
* Do not share your API key publicly.
* Use a secure wallet if you export your private keys.
* To avoid unwanted payments, set up fixed amount links.


# FAQ – P-Link

Frequently asked questions about P-Links

### **FAQ – P-Link**

**Q: Do I need to create an account to receive a payment?**\
A: No. If someone sends you a P-Link payment link, you can claim the payment by creating an account when you open the link for the first time.

**Q: What payment methods are accepted?**\
A: Any token from the Solana ecosystem and credit card payments (automatically converted into USDC on the recipient’s side).

**Q: Can I set a fixed amount in the payment link?**\
A: Yes. Add the amount and optionally the currency at the end of the link (e.g., `/10EUR`).

**Q: What happens if the payment is not claimed?**\
A: After 3 days (configurable), the funds are returned to the sender.

**Q: Which crypto wallets are compatible?**\
A: Phantom, Solflare, Backpack, and any app compatible with Solana Pay.

**Q: Does P-Link charge fees?**\
A: 0% on the seller’s side. Only blockchain network fees apply.


# Send a payment

How to send payment via P-Link interface or URL with API key

## Send a payment

### 1. Via the interface

* Open [p-link.io](https://p-link.io)
* Open the **Send** tab.
* Provide the recipient (email or phone number).
* Provide the amount.
* Click on **Send**.

### 2. Via URL with API key

* Format :\
  `https://p-link.io/api/tr4usr/[API_KEY]/[email]/[amount]`
* Allows you to send money by simply calling a URL.

💡 Funds not claimed within 3 days are returned to the sender (configurable timeframe).

In order to get your API key, you need to go to <https://p-link.io/ApiDoc/Send>

***

**See also :** [Receive a payment](https://docs.p-link.io/receive-a-payment/)&#x20;


# Automations and integrations

x402, Blinks, and Integrate P-Link with Make, IFTTT, Zapier using RSS feeds

Automations and integrations

Agent documentation can be loaded using the following prompt :

```
curl https://p-link.io/ai-payment.md and connect to https://mcp.p-link.io/mcp
```

## x402 Protocol – Automated HTTP Payments

This page explains how the **x402 protocol** works and how it is used in **P-Link**.\
[Coinbase x402 ](https://github.com/coinbase/x402)makes it possible to introduce **native payments at the HTTP level**, allowing software agents (AI, scripts, services) to automatically pay for protected resources.

***

### What is the x402 protocol?

The **x402 protocol** is a modern extension of the HTTP status code **402 – Payment Required**.\
Its goal is to make payments **machine-readable, automated, and interoperable**, without requiring any human-facing payment interface (forms, buttons, checkout pages, etc.).

With x402:

* a server can signal that a payment is required using HTTP,
* a compatible client can understand the payment request,
* the payment can be executed automatically,
* the requested resource becomes accessible immediately after payment.

👉 x402 is especially well suited for **AI agents**, **paid APIs**, and **machine-to-machine payments**.

***

### Core principle

{% hint style="info" %}
Any P-Link complies to the x402 protocol, which means x402 client compatible agents can pay any P-Links

See : [How to create a P-Link](/receive-a-payment)
{% endhint %}

{% hint style="info" %}
P-Link MCP server exposes and endpoint that can be called in order to pay for any x402 protected resource, which means P-Link users can use agents to pay for any x402 protected resource using their P-Link account (on Solana only).
{% endhint %}

The protocol relies on a simple, standardized HTTP flow:

1. **Initial request**\
   The client requests a protected resource.
2. **402 – Payment Required response**\
   The server responds with:
   * HTTP status code `402`,
   * payment instructions (amount, currency, recipient, reference).
3. **Automatic payment**\
   A x402-compatible client:
   * parses the payment metadata,
   * executes the payment (e.g. blockchain, stablecoin),
   * stores a proof of payment.
4. **Retry with payment proof**\
   The client retries the original request, including the payment proof.
5. **Access granted**\
   The server verifies the payment and returns the requested resource.

***

### Why x402 in P-Link?

P-Link uses x402 to enable:

* automatic payment of HTTP resources,
* creation of **smart payment links**,
* payments initiated by **AI agents via MCP**,
* seamless integration with crypto wallets.

The goal is to make payments:

* **programmatic**,
* **frictionless**,
* **fully automatable**.

***

### Architecture in P-Link

#### x402 Server

The P-Link server can expose endpoints protected by x402.

When a resource requires payment:

* the server returns an HTTP 402 response,
* it includes all required payment metadata.

Typical protected resources include:

* premium APIs,
* downloadable content,
* paid actions or operations.

***

#### x402 Client

P-Link provides a client that can:

* detect HTTP 402 responses,
* interpret payment instructions,
* execute the payment automatically,
* retry the request with proof of payment.

This client can be used:

* in scripts,
* in MCP tools,
* by AI agents.

***

#### MCP (Model Context Protocol) Integration

All features in P-Link are exposed through **MCP**.

The MCP server is available at <https://mcp.p-link.io/mcp>

The MCP API exposes a JSON manifest describing all available tools for compatible clients (ChatGPT, Claude, n8n, etc.) : <https://mcp.p-link.io/.well-known/mcp/manifest.json>

Source code : <https://github.com/paracetamol951/P-Link-MCP>

This allows an AI to:

* pay a x402-protected URL,
* generate a payment link,
* send funds,
* inspect wallet data,

simply by invoking MCP tools.

***

### MCP Tools Available in P-Link

#### `pay_and_get_402_protected_url`

Pays a x402-protected URL and automatically retrieves the resource.

**Use case**\
An AI agent accesses a paid API without human intervention.

***

#### `request_payment_link`

Creates a customizable x402 payment link.

**Use case**\
Generate a link that can be paid by an external agent or service.

***

#### `send_money`

Sends funds to:

* a wallet address,
* an email address,
* or a phone number.

***

#### `get_wallet_info`

Returns wallet information:

* address,
* balance,
* network.

***

#### `get_wallet_history`

Retrieves the transaction history of the wallet.

***

### Example x402 flow

1. An AI agent attempts to access a premium API.
2. The server responds with HTTP 402 and payment instructions.
3. The agent calls `pay_and_get_402_protected_url`.
4. The payment is executed automatically.
5. The API response is returned.
6. The agent continues its task uninterrupted.

***

### Benefits of the x402 protocol

* Native HTTP payment signaling
* Fully automated payments
* Designed for AI agents
* No user interface required
* Ideal for micro-payments and paid APIs
* MCP-compatible

***

### Limitations and considerations

* The client must be **x402-compatible**
* A properly configured wallet is required
* Network or blockchain fees may apply

***

### Conclusion

The **x402 protocol** is a core building block of P-Link.\
It transforms a simple HTTP response into an **automated, machine-friendly payment mechanism**, enabling truly autonomous services and AI-driven workflows.

To go further:

* explore the examples in the P-Link repository,
* inspect the exposed MCP tools,
* test a full x402 flow with an AI agent.

***

P-Link also offers an **RSS** feed of payments received to an email address, phone number or wallet.

### RSS link format

`https://p-link.io/RSS/[email]`

💡 Example :\
`https://p-link.io/RSS/contact@net-assembly.com` → list of payments received by this email.

### Possible uses

* Integration with **Make**
* Automation with **IFTTT**
* Workflows **Zapier**
* Custom no-code applications


# Payments RSS Feed

The RSS feed allows you to track payments received at a given address, each payment appears as an item in the feed

## Payment RSS Feeds

The **P-Link RSS feed** allows you to automatically track payments received on a given address.\
Each payment triggers the publication of a new item in the feed.

***

### Feed URL

Format:

```
https://p-link.io/rss/<WalletAddressOrEmail>
```

| Parameter                | Description                                                                |
| ------------------------ | -------------------------------------------------------------------------- |
| `<WalletAddressOrEmail>` | The wallet address or the email address associated with the P-Link account |

***

### Example

RSS feed for address `4n9a...h77v`:

```
https://p-link.io/rss/4n9a...h77v
```

RSS feed for email `contact@example.com`:

```
https://p-link.io/rss/contact@example.com
```

***

### Possible uses

* **NoCode** automations (IFTTT, Make, Zapier…)
* Instant notifications when a payment is received
* Real-time payment history

***

### Integration with IFTTT

How to connect a P-Link RSS feed to receive alerts on your phone:

#### 1️⃣ Create a new IFTTT applet

***

#### 2️⃣ Choose the RSS trigger

* Click **Add** to choose a service
* Search for **RSS**
* Select **New feed item**

***

#### 3️⃣ Paste the P-Link feed URL

Example:

```
https://p-link.io/rss/contact@example.com
```

***

#### 4️⃣ Choose the action

Possible examples:

* Send an **email**
* Show a **mobile notification**
* Trigger a **webhook** to another service

***

#### 5️⃣ Activate and test

Once the applet is activated, each new payment to your address will trigger the chosen action.

***

### Example with Make (formerly Integromat)

1. Create a new scenario
2. Add an **RSS → Watch RSS Feed Items** module
3. Paste the P-Link feed URL
4. Connect it to an action (send email, add to Google Sheet, etc.)

💡 Tip: With Make, you can chain multiple actions automatically for each payment.ayments&#x20;


# Payment Status

Check the status of a payment by calling the P-Link.io API

## Checking payment status

### Status verification

After payment, the user is redirected to your URL with added parameter:

```
?idPayment=[numeroDeTransaction]
```

You can then query the URL:

```
https://p-link.io/api/trxState/<paymentID>
```

This URL will return the information about this payment in the form of a json structure

```json
{
"result": 2,
"trx": "39M3...V8jt",
"amount": 9.99,
"sourcePayment": "4n9a...h77v",
"receiverPayment": "FPnf...P6p4"
}
```

### Possible values of `result` :

* `0` : Payment not started
* `1` : Failure
* `2` : Success


# IPN: Instant Payment Notification

Receive payment notifications on a specific URL

## IPN : Instant Payment Notification

If you provided a **webhook**, P-Link will send a JSON POST to the entered URL for each payment.

You can specify a webhook in two ways, either by creating a P-Link using the API, or by creating a P-Link using the interface available on <https://p-link.io/create>

### Payload example

```json
{
  "myParam": "transmitted value",
  "sourcePayment": "payer address",
  "USD_Amount": "USD amount",
  "trx": "transaction ID",
  "secret": "secret-key"
}
```


# API : P-Link creation

Create a P-Link with a simple line of code to easily customize the image, description and title of the payment page

## Creating a dynamic link (API)

You can create a P-Link **on the fly** via the API&#x20;

`POST /api/createPLink`.

This method allows access to additional advanced settings, such as customizing an image, title, or description on the payment page..

### Example in JavaScript

```js
const req = await fetch("https://p-link.io/api/createPLink", {
  method: "POST",
  body: JSON.stringify({
    webhook: "https://my-site.com/webhook",
    notificationEmail: "contact@example.com",
    receivingPayment: "<WalletAddress>",
    returnOKURL: "https://my-site.com/success",
    returnURL: "https://my-site.com/cancel",
    autoConvertToUSD: "1",
    amount: 9.99,
    currency: "USD",
    description: "Product description",
    title: "Title displayed",
    logo: "https://mon-site.com/logo.png",
    expiryDate: Math.floor(Date.now() / 1000) + 60*60*24*15,
    selfDestruct: 1,
    param: "xyz"
  })
});

const plink_Info = await req.json();
console.log(plink_Info);

```

```

{
  "link": "https://p-link.io/...",
  "secret": "secret-key"
}

```


