For Agents
Programmatically obtain an oauth 2.0 access token, get available stores. Covers 8 operations with bearer authentication.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Resurs Bank Merchant 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%2Fresurs.com%2Fresurs" | 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%2Fresurs.com%2Fresurs" | 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 Resurs Bank Merchant API.
Obtain an OAuth 2.0 access token
Get available stores
Create a new payment
Capture an authorized payment
GET STARTED
Use for: I need to obtain an oauth 2.0 access token, I want to available stores, Search for available payment methods for a store, Find all a new payment
Not supported: Does not handle communications, crm, or developer tools - use for payments only.
Resurs Bank Merchant API for e-commerce payment processing. Supports payment creation, management, and store configuration with OAuth 2.0 authentication. The API exposes 8 endpoints secured with bearer authentication.
Cancel an authorized payment
Patterns agents use Resurs Bank Merchant API for, with concrete tasks.
★ Payments Operations
Use the Resurs Bank Merchant API to perform payments operations programmatically. The API provides 8 endpoints covering core functionality including obtain an oauth 2.0 access token, get available stores, get available payment methods for a store.
Call POST /oauth2/token to obtain an oauth 2.0 access token
Automated Oauth2 Management
Automate oauth2 operations by combining multiple Resurs Bank Merchant API endpoints. Agents can get available stores and then get available payment methods for a store in a single workflow.
Call GET /v2/stores to get available stores, then verify the result
AI Agent Integration via Jentic
AI agents discover and call Resurs Bank Merchant 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 bearer tokens manually.
Search Jentic for 'obtain an oauth 2.0 access token', load the operation schema, and execute with Jentic-managed credentials
8 endpoints — resurs bank merchant api for e-commerce payment processing.
METHOD
PATH
DESCRIPTION
/oauth2/token
Obtain an OAuth 2.0 access token
/v2/stores
Get available stores
/v2/stores/{storeId}/payment_methods
Get available payment methods for a store
/v2/payments
Create a new payment
/v2/payments/{paymentId}
Get payment details
/v2/payments/{paymentId}/capture
Capture an authorized payment
/v2/payments/{paymentId}/cancel
Cancel an authorized payment
/v2/payments/{paymentId}/refund
Refund a captured payment
/oauth2/token
Obtain an OAuth 2.0 access token
/v2/stores
Get available stores
/v2/stores/{storeId}/payment_methods
Get available payment methods for a store
/v2/payments
Create a new payment
/v2/payments/{paymentId}
Get payment details
What agents get from Jentic-routed access to this vendor.
Setup
Wiring the Resurs Bank Merchant API by hand means running the OAuth 2.0 client_credentials grant for a bearer token, choosing the production or integration merchant-api.resurs.com host, and managing payment lifecycle calls yourself. Through Jentic you install once, import Resurs Bank Merchant API from the API Directory, store the credentials once, and your agent calls it.
Permission scoping
Resurs Bank Merchant API puts the payment id in the URL path (/v2/payments/{paymentId}/...), so a rule can pin your agent to one payment: it can read and capture that payment and nothing else. You choose the operations it may call, so actions like cancellation or refund are not included unless you add them.
Credential isolation
Your Resurs Bank Merchant API 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 'capture a payment', and Jentic returns the matching Resurs Bank Merchant API 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 Resurs Bank Merchant API through Jentic.
What authentication does the Resurs Bank Merchant API use?
The Resurs Bank Merchant API uses a Bearer token in the Authorization header. 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 obtain an oauth 2.0 access token with the Resurs Bank Merchant API?
Yes. Use the POST /oauth2/token endpoint. The API returns structured JSON responses that agents can parse and act on directly.
What are the rate limits for the Resurs Bank Merchant 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 obtain an oauth 2.0 access token through Jentic?
Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'obtain an oauth 2.0 access token'. Jentic returns the matching Resurs Bank Merchant API operation with its input schema. Load the schema and execute the call - credentials are injected automatically.
How many endpoints does the Resurs Bank Merchant API have?
The Resurs Bank Merchant API exposes 8 endpoints covering oauth2, payments, stores operations.
Can I limit what my agent is allowed to do with the Resurs Bank Merchant API?
Yes. Jentic One is self-hosted by you, so your own rules decide which operations and credentials the agent may use. Because the Resurs Bank Merchant API puts the payment id in the URL path, such as /v2/payments/{paymentId}/capture, you can pin the agent to a single payment and allow only reading and capturing it. You choose the operations it may call, so sensitive actions like cancel or refund stay off limits unless you explicitly grant them.
/v2/payments/{paymentId}/capture
Capture an authorized payment
/v2/payments/{paymentId}/cancel
Cancel an authorized payment
/v2/payments/{paymentId}/refund
Refund a captured payment