Skip to main content
POST
/
payment-requests
Create payment request
curl --request POST \
  --url https://api.natural.co/payment-requests \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Idempotency-Key: <idempotency-key>' \
  --data '
{
  "data": {
    "attributes": {
      "amount": 2500,
      "currency": "USD",
      "description": "Invoice 7",
      "payerName": "Ada Lovelace",
      "payer": {
        "type": "email",
        "value": "ada@example.com"
      }
    }
  }
}
'
{
  "data": {
    "type": "paymentRequest",
    "id": "prq_550e8400e29b41d4a716446655440000",
    "attributes": {
      "amount": 2500,
      "currency": "USD",
      "status": "OPEN",
      "description": "Invoice 7",
      "requesterName": null,
      "requesterEmail": null,
      "payerName": "Ada Lovelace",
      "payerEmail": "ada@example.com",
      "payerPhone": null,
      "payerPartyId": null,
      "payerIdentifierType": "email",
      "payerIdentifier": "ada@example.com",
      "paymentLinkUrl": "https://natural.co/paymentLink/token_123",
      "transactionId": null,
      "createdAt": "2026-04-15T00:00:00.000Z",
      "updatedAt": "2026-04-15T00:00:00.000Z"
    },
    "relationships": {
      "requesterParty": {
        "data": {
          "type": "party",
          "id": "pty_019cd1798d617f65a79cb965dda9eac3"
        }
      },
      "payerParty": {
        "data": null
      }
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.natural.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string
required

Unique key for idempotent request handling. If a request with the same key was already processed, the original response is returned.

X-Agent-ID
string | null

Agent ID (agt_xxx) identifying which agent is making the request.

X-Instance-ID
string | null

Required when X-Agent-ID is present. Session or conversation ID for agent observability.

Maximum string length: 1024

Body

application/json
data
object
required

Resource object

Response

Successful Response

data
PaymentRequestCreateResource · object
required