---
title: "Prepare a payment request for THE PAYEE to sign"
method: POST
path: "/api/payreq/prepare"
tags: ["payments"]
---

# Prepare a payment request for THE PAYEE to sign

`POST /api/payreq/prepare`

## Request

- Base URL: `https://api.anygas.xyz/svc`
- URL: `https://api.anygas.xyz/svc/api/payreq/prepare`
- Auth: none declared

Build the canonical request (payee, chain, token, amount, memo, expiry) and return the digest for the payee to sign with their own wallet. ROBYN NEVER SIGNS THESE and holds no payee keys — a request signed by Robyn would prove only that Robyn said so, which is exactly the trust this removes.

## Request body

- object

## Response `200`

request + digest + signing instructions

- object

## Other responses

- `400`: missing/invalid fields

---

[API](https://skmtc.dev/anygas/apis/robyn-anygas-api.md) · [All operations](https://skmtc.dev/anygas/apis/robyn-anygas-api/llms.txt) · [OpenAPI document](https://skmtc.dev/anygas/apis/robyn-anygas-api/revisions/9b7498be8304?raw)
