For Agents
Programmatically create access token, create a standard payment. Covers 10 operations with basic, bearer authentication.
Use for: I need to access token, I want to a standard payment, Search for payment status, Find all refund a payment
Not supported: Does not handle communications, crm, or developer tools - use for payments only.
GoPay payment gateway REST API for creating and managing payments, recurring payments, preauthorized payments, and account statements. The API exposes 10 endpoints secured with basic, bearer authentication.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the GoPay REST API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fspeca.io%2Fspeca" | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fspeca.io%2Fspeca" | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with GoPay REST API.
Create access token
Get payment status
Refund a payment
Cancel recurring payment
Capture preauthorized payment
Patterns agents use GoPay REST API for, with concrete tasks.
★ Payments Operations
Use the GoPay REST API to perform payments operations programmatically. The API provides 10 endpoints covering core functionality including create access token, create a standard payment, get payment status.
Call POST /api/oauth2/token to create access token
Automated Authentication Management
Automate authentication operations by combining multiple GoPay REST API endpoints. Agents can create a standard payment and then get payment status in a single workflow.
Call POST /api/payments/payment to create a standard payment, then verify the result
AI Agent Integration via Jentic
AI agents discover and call GoPay REST API endpoints through Jentic without managing credentials directly. An agent searches for the required operation by intent, receives the matching endpoint schema, and executes the call with Jentic-managed authentication. This eliminates the need to read API documentation or handle basic, bearer tokens manually.
Search Jentic for 'create access token', load the operation schema, and execute with Jentic-managed credentials
10 endpoints — gopay payment gateway rest api for creating and managing payments, recurring payments, preauthorized payments, and account statements.
METHOD
PATH
DESCRIPTION
/api/oauth2/token
Create access token
/api/payments/payment
Create a standard payment
/api/payments/payment/{id}
Get payment status
/api/payments/payment/{id}/refund
Refund a payment
/api/payments/payment/{id}/create-recurrence
Create recurring payment on demand
/api/payments/payment/{id}/void-recurrence
Cancel recurring payment
/api/payments/payment/{id}/capture
Capture preauthorized payment
/api/payments/payment/{id}/void-authorization
Void preauthorized payment
/api/oauth2/token
Create access token
/api/payments/payment
Create a standard payment
/api/payments/payment/{id}
Get payment status
/api/payments/payment/{id}/refund
Refund a payment
/api/payments/payment/{id}/create-recurrence
Create recurring payment on demand
/api/payments/payment/{id}/void-recurrence
Cancel recurring payment
/api/payments/payment/{id}/capture
Capture preauthorized payment
/api/payments/payment/{id}/void-authorization
Void preauthorized payment
What agents get from Jentic-routed access to this vendor.
Setup
Wiring GoPay by hand means running its OAuth2 token flow, carrying the bearer token alongside basic auth, and choosing the production or sandbox gateway host yourself. Through Jentic you install once, import the GoPay REST API from the API Directory, store the credentials once, and your agent calls it.
Permission scoping
GoPay puts the payment id in the URL path (/api/payments/payment/{id}/...), so a rule can pin your agent to one payment: it can read status or capture that payment and nothing else. You choose the operations it may call, so ones like refund or void-authorization are not included unless you add them.
Credential isolation
Your GoPay credentials are stored once, encrypted, by your own Jentic One instance and injected at execution time. They never enter the agent's prompt, logs, or context.
Intent-based discovery
Agents search Jentic by intent such as 'create a payment' or 'check a payment status', and Jentic returns the matching GoPay operation with its input schema so the agent calls the right endpoint without browsing the reference docs.
Alternatives and complements available in the Jentic catalogue.
Stripe
Alternative payments API
Choose Stripe when you need a different approach to payments operations
Specific to using GoPay REST API through Jentic.
What authentication does the GoPay REST API use?
The GoPay REST API uses basic, bearer authentication. Through Jentic, these credentials are stored encrypted in your Jentic One instance and injected at execution time, so raw secrets never enter the agent context.
Can I create access token with the GoPay REST API?
Yes. Use the POST /api/oauth2/token endpoint. The API returns structured JSON responses that agents can parse and act on directly.
What are the rate limits for the GoPay REST API?
Rate limits are not specified in the OpenAPI spec. Check the vendor documentation for current limits. Through Jentic, rate limiting is handled automatically with retry logic built into the execution layer.
How do I create access token through Jentic?
Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'create access token'. Jentic returns the matching GoPay REST API operation with its input schema. Load the schema and execute the call - credentials are injected automatically.
How many endpoints does the GoPay REST API have?
The GoPay REST API exposes 10 endpoints covering authentication, payments, recurringpayments operations.
GET STARTED