Payfet/Docs
PricingDashboard

Introduction

  • Getting started

Guides

  • Accept payments on your site

SDKs

  • Node.js SDK
  • Python SDK

Reference

  • API reference

For AI agents

/llms.txt

Reference

Endpoint reference for the Payfet API.

View as Markdown

API reference

The full generated reference is still being written. The checkout endpoints below are live and documented in full on Accept payments on your site.

Checkout

Base URL https://api.payfet.org.

MethodEndpointAuthPurpose
POST/v1/checkout/sessions/Tenant tokenCreate a checkout, get a checkout_url
GET/v1/checkout/sessions/{reference}/Tenant tokenStatus of one checkout
GET/v1/checkout/{slug}/NoneWhat the hosted page renders
POST/v1/checkout/{slug}/initiate/NoneIssue the bank account for a payer
GET/v1/checkout/{slug}/status/NonePoll while the payer transfers

The unauthenticated endpoints are what the hosted checkout page itself calls. Your customers have no Payfet account, so those cannot require credentials.

Authentication

http
X-Tenant-Token:  your access token
X-Tenant-Secret: your secret key
X-Tenant-BID:    your business id

From Payfet for Business → Settings → Token. Server-side only.

Need help?

Email support@payfet.org.

Building with an AI assistant? Use /llms.txt to give it every page at once.