{
  "x402Version": 2,
  "id": 35478,
  "slug": "35478",
  "resource": "https://api.paidpilot.io/v1/reminder-draft",
  "description": "PaidPilot Invoice API: Draft a payment reminder email (friendly, firm or final notice). Returns subject + plain-text body for an unpaid invoice, days overdue, the recommended tone and the next step. Template-based, deterministic. Draft only: this API never sends email.",
  "type": "http",
  "serviceName": "PaidPilot Invoice API",
  "resourceType": "Payments",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x2dAF658B01e257206375798a15832E9f547D65dD",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "amount": 1610.35,
            "as_of": "2026-10-11",
            "client_name": "Dana",
            "currency": "USD",
            "due_date": "2026-10-01",
            "from_name": "Acme Web Studio",
            "invoice_number": "INV-1001",
            "payment_link": "https://pay.example.com/inv-1001",
            "tone": "firm"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "as_of": "2026-10-11",
            "body": "Hi Dana,\n\nI'm following up on invoice #INV-1001 for $1,610.35, which was due on October 1, 2026. It is now 10 days past due. I haven't received payment yet, so I wanted to check in directly.\n\nYou can pay here: https://pay.example.com/inv-1001\n\nCould you let me know when payment will be sent? If there's a problem with the invoice, tell me and I'll sort it out right away.\n\nThank you,\nAcme Web Studio",
            "days_overdue": 10,
            "next_step": "If still unpaid around 14 days past due, send the final notice.",
            "note": "Draft text only. This API never sends email; review and edit before you send it yourself.",
            "recommended_tone_for_days_overdue": "firm",
            "subject": "Overdue: invoice #INV-1001",
            "tone": "firm"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "description": "Amount due",
                    "exclusiveMinimum": 0,
                    "maximum": 1000000000,
                    "type": "number"
                  },
                  "as_of": {
                    "description": "Today's date for the days-overdue count, YYYY-MM-DD (default: today, UTC)",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "type": "string"
                  },
                  "client_name": {
                    "description": "Client's name for the greeting",
                    "maxLength": 120,
                    "minLength": 1,
                    "type": "string"
                  },
                  "currency": {
                    "default": "USD",
                    "description": "ISO-4217, default USD",
                    "type": "string"
                  },
                  "due_date": {
                    "description": "YYYY-MM-DD",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "type": "string"
                  },
                  "final_deadline_days": {
                    "default": 7,
                    "description": "Final notice: days the client has to pay",
                    "maximum": 60,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "from_name": {
                    "description": "Your name or business, used in the sign-off",
                    "maxLength": 120,
                    "minLength": 1,
                    "type": "string"
                  },
                  "invoice_number": {
                    "maxLength": 64,
                    "minLength": 1,
                    "type": "string"
                  },
                  "late_fee_terms": {
                    "description": "Your agreed late-fee terms, e.g. \"1.5% per month\"; mentioned in the final notice only",
                    "maxLength": 200,
                    "minLength": 1,
                    "type": "string"
                  },
                  "payment_link": {
                    "format": "uri",
                    "maxLength": 500,
                    "type": "string"
                  },
                  "tone": {
                    "description": "\"friendly\" (alias \"polite\"), \"firm\", or \"final\"",
                    "enum": [
                      "friendly",
                      "polite",
                      "firm",
                      "final"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "tone",
                  "from_name"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "invoice",
    "pdf",
    "billing",
    "document-generation",
    "payment-reminder",
    "bazaar"
  ],
  "sourceHost": "api.paidpilot.io",
  "lastUpdated": "2026-10-11T21:44:34.468Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-11T21:44:34.209Z"
  },
  "metadata": {
    "serviceName": "PaidPilot Invoice API",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "amount": 1610.35,
              "as_of": "2026-10-11",
              "client_name": "Dana",
              "currency": "USD",
              "due_date": "2026-10-01",
              "from_name": "Acme Web Studio",
              "invoice_number": "INV-1001",
              "payment_link": "https://pay.example.com/inv-1001",
              "tone": "firm"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "as_of": "2026-10-11",
              "body": "Hi Dana,\n\nI'm following up on invoice #INV-1001 for $1,610.35, which was due on October 1, 2026. It is now 10 days past due. I haven't received payment yet, so I wanted to check in directly.\n\nYou can pay here: https://pay.example.com/inv-1001\n\nCould you let me know when payment will be sent? If there's a problem with the invoice, tell me and I'll sort it out right away.\n\nThank you,\nAcme Web Studio",
              "days_overdue": 10,
              "next_step": "If still unpaid around 14 days past due, send the final notice.",
              "note": "Draft text only. This API never sends email; review and edit before you send it yourself.",
              "recommended_tone_for_days_overdue": "firm",
              "subject": "Overdue: invoice #INV-1001",
              "tone": "firm"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "additionalProperties": false,
                  "properties": {
                    "amount": {
                      "description": "Amount due",
                      "exclusiveMinimum": 0,
                      "maximum": 1000000000,
                      "type": "number"
                    },
                    "as_of": {
                      "description": "Today's date for the days-overdue count, YYYY-MM-DD (default: today, UTC)",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                      "type": "string"
                    },
                    "client_name": {
                      "description": "Client's name for the greeting",
                      "maxLength": 120,
                      "minLength": 1,
                      "type": "string"
                    },
                    "currency": {
                      "default": "USD",
                      "description": "ISO-4217, default USD",
                      "type": "string"
                    },
                    "due_date": {
                      "description": "YYYY-MM-DD",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                      "type": "string"
                    },
                    "final_deadline_days": {
                      "default": 7,
                      "description": "Final notice: days the client has to pay",
                      "maximum": 60,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "from_name": {
                      "description": "Your name or business, used in the sign-off",
                      "maxLength": 120,
                      "minLength": 1,
                      "type": "string"
                    },
                    "invoice_number": {
                      "maxLength": 64,
                      "minLength": 1,
                      "type": "string"
                    },
                    "late_fee_terms": {
                      "description": "Your agreed late-fee terms, e.g. \"1.5% per month\"; mentioned in the final notice only",
                      "maxLength": 200,
                      "minLength": 1,
                      "type": "string"
                    },
                    "payment_link": {
                      "format": "uri",
                      "maxLength": 500,
                      "type": "string"
                    },
                    "tone": {
                      "description": "\"friendly\" (alias \"polite\"), \"firm\", or \"final\"",
                      "enum": [
                        "friendly",
                        "polite",
                        "firm",
                        "final"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "tone",
                    "from_name"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.paidpilot.io",
    "manifest_name": "api.paidpilot.io",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}