Skip to main content

ChatGPT Actions

Integrate PayLinks with ChatGPT using OpenAI's Actions (formerly Plugins).

Overview

ChatGPT Actions allow custom GPTs to interact with the PayLinks API. This integration lets ChatGPT users manage payment links and view analytics through natural conversation.

Setup

1. Create a Custom GPT

  1. Go to chat.openai.com and click "Explore GPTs" > "Create"
  2. In the Configure tab, scroll to Actions
  3. Click Create new action

2. Import the OpenAPI Spec

PayLinks provides a public OpenAPI spec for ChatGPT Actions:

https://paylinks.ro/openapi-public.yaml

Paste this URL in the Import from URL field.

3. Configure Authentication

  1. Set Authentication type to "API Key"
  2. Set Auth Type to "Bearer"
  3. Enter your PayLinks JWT token as the API key

4. Test the Action

Try asking your custom GPT:

  • "List my payment links"
  • "Create a payment link for a workshop at 199 RON"
  • "Show my revenue summary"

Available Endpoints

The public OpenAPI spec exposes a subset of the PayLinks API suitable for ChatGPT:

  • Payment link CRUD operations
  • Transaction listing
  • Analytics summary
  • Customer listing

Admin and sensitive endpoints are excluded for security.

Limitations

  • ChatGPT Actions have a 100,000 character response limit
  • Complex multi-step operations may require multiple turns
  • File uploads are not supported through Actions
  • Token refresh requires manual intervention when expired