canonical: https://jentic.com/apis/scheidt-bachmann.net/scheidt-bachmann

# Scheidt Bachmann PGS Payment API

The PGS Payment API runs the Scheidt & Bachmann Payment Gateway Service (PGS) for parking operators, creating shopping carts per tenant and returning the payment types available for a cart. It tokenizes a customer's card so later charges run against a stored PGS token, checks whether that token is still valid, and deletes it from PGS and the payment service provider. Full and partial refunds are issued against a shopping cart, and both cart status and refund status can be read back by cart id.

## For AI agents

Create PGS shopping carts, charge stored payment tokens, issue full or partial refunds, and read cart and refund status for a Scheidt & Bachmann parking tenant.

## Scope

Does not handle parking reservations, occupancy, or entry and exit gate control. Use for taking, tokenizing, and refunding parking payments through Scheidt & Bachmann PGS only.

## Capabilities

- Open a shopping cart for a tenant with amount, currency, reason, and success and failure callback URLs
- List the payment types available for a cart and locale, optionally filtered by costCenter
- Tokenize a card into a PGS token and charge a token-backed cart with paymentWithToken
- Check whether a stored pgsToken is still valid, optionally validating it at the PSP
- Issue a full refund or a partial refund of a set amount against a cart
- Read the current status of a shopping cart or of a refund sub-payment

## Use cases

### Agent-run parking refunds through Jentic

A support agent handling a parking dispute needs to refund a customer without a developer wiring the PGS client. Through Jentic the agent searches for 'refund a parking payment', loads the PGS partial refund operation with its input schema, and calls it with the tenant, cart id, reason, and amount while the basic-auth credential is injected at call time. It then reads the refund status for the sub-payment to confirm the result.

Example prompt: Call PUT `/refund/partial/{tenant}/{cartId}/{reason}/{amount}` for a cart, then poll GET `/refund/status/{tenant}/{cartId}/{subPayId}` until the refund status is final

### Hosted checkout for a parking session

A parking app collects payment for a session by opening a PGS shopping cart with the amount, currency, correlationId, requestor, reason, and the success and failure callback URLs. The app then lists the payment types available for that cart and locale so the customer can pick one, and reads the cart status after the callback fires to confirm payment.

Example prompt: PUT `/paymentcart/{tenant}` with amount, currency, correlationId, requestor, reason, successCallbackUrl, and failureCallbackUrl, then GET `/status/{tenant}/{cartId}/{correlationId}/{requestor}`

### Stored-card payments for returning parkers

Frequent parkers save a card once and are charged without re-entering it. The operator creates a PGS token through the tokenization flow, then for each session opens a token cart and charges it with paymentWithToken using the cartId and pgsToken. Before charging, the token validity check confirms the token is still usable, and the token delete operation removes it when the customer asks.

Example prompt: PUT `/tokenvalidity/{tenant}` for a pgsToken, then PUT `/tokencart/{tenant}` and PUT `/paymentwithtoken/{tenant}` with the returned cartId, pgsToken, correlationId, and requestor

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| PUT | `/paymentcart/{tenant}` | Create a shopping cart |
| GET | `/paymenttypes/{tenant}/{cartId}/{correlationId}/{requestor}/{locale}` | List available payment types for a cart |
| GET | `/status/{tenant}/{cartId}/{correlationId}/{requestor}` | Get shopping cart status |
| PUT | `/tokenization/{tenant}` | Create a payment token |
| PUT | `/paymentwithtoken/{tenant}` | Pay with a stored token |
| PUT | `/refund/partial/{tenant}/{cartId}/{reason}/{amount}` | Issue a partial refund |
| GET | `/refund/status/{tenant}/{cartId}/{subPayId}` | Get refund status |

## Key resources

- **Shopping carts** — Per-tenant carts that carry an amount, currency, reason, and callback URLs, with status lookups by cart id
- **Payment tokens** — PGS tokens created through tokenization, checked for validity, charged through token carts, and deletable
- **Refunds** — Full and partial refunds against a cart, with status lookups per sub-payment

## AI readiness

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

- **Score:** 39 / 100
- **Maturity:** Non-Ready
- **Dimensions:**
  - Foundational Compliance: 73 / 100
  - Developer Experience & Jentic Compatibility: 75 / 100
  - AI-Readiness & Agent Experience: 47 / 100
  - Agent Usability: 94 / 100
  - Security: 10 / 100
  - AI Discoverability: 62 / 100
- **View full report:** https://jentic.com/apis/scheidt-bachmann.net/scheidt-bachmann/scorecard
- **How the score is calculated:** https://docs.jentic.com/reference/api-readiness-framework/overview/
- **More about the dimensions:** https://docs.jentic.com/reference/api-readiness-framework/specification/#dimensional-model-overview

### Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

- **Score your own API:** https://jentic.com/scorecard.md
- **Scoring CLI agent skill:** https://github.com/jentic/jentic-api-scorecard/blob/main/skills/jentic-api-scorecard/SKILL.md

```sh
npx @jentic/api-scorecard-cli score <openapi-url>
```

## Why Jentic

- **Setup:** Wiring PGS by hand means sending basic-auth credentials on every call, building XML request bodies, and threading tenant, cartId, correlationId, and requestor through each path. Through Jentic you install once, import PGS from the API Directory, store the credential once, and your agent calls it.
- **Permission scoping:** PGS puts the tenant id in every URL path (`/paymentcart/{tenant}`, `/refund/full/{tenant}/...`), so a rule can pin your agent to one tenant and the operations you pick. You choose the operations it may call, so money-moving ones like full refunds or token deletion are not included unless you add them.
- **Credential handling:** Your PGS basic-auth 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.
- **Discovery method:** Agents search Jentic by intent such as 'refund a parking payment' or 'check a cart's status', and Jentic returns the matching PGS operation with its input schema so the agent fills the tenant and cart path values correctly.

## Related APIs

- **ParkMobile** — Parking session and zone data from a consumer parking platform
- **Stripe** — General-purpose card payments, refunds, and saved payment methods
- **Mollie Payments API** — European payment methods with hosted checkout and refunds

## FAQ

### What authentication does the PGS Payment API use?

Per its OpenAPI spec, every PGS Payment API operation uses HTTP basic authentication, sending a username and password in the Authorization header. Through Jentic those credentials are stored by your own instance and attached to each call, so the agent never handles them.

### Can I issue partial refunds with the PGS Payment API?

Yes. PUT `/refund/partial/{tenant}/{cartId}/{reason}/{amount}` refunds a set amount against a shopping cart, and PUT `/refund/full/{tenant}/{cartId}/{reason}` refunds the whole cart. GET `/refund/status/{tenant}/{cartId}/{subPayId}` returns the current refund status for a sub-payment.

### What are the rate limits for the PGS Payment API?

The OpenAPI spec does not specify rate limits. Check with Scheidt & Bachmann at https://www.scheidt-bachmann.com for the limits that apply to your tenant.

### Is there a PGS Payment MCP server?

You don't need an MCP server to give your agent the PGS Payment API. Jentic connects it directly from the API Directory: import it, store your credential once, and your agent calls the cart, token, and refund operations it needs without loading another server's tool definitions into its context.

### How do I check a shopping cart's status through Jentic?

Search Jentic for 'get the status of a shopping cart', load the GET `/status/{tenant}/{cartId}/{correlationId}/{requestor}` operation, and call it with the tenant, cart id, correlation id, and requestor from the cart you created. To run it on your own infrastructure, install Jentic One from its GitHub repo.

### Can I limit what my agent is allowed to do with the PGS Payment API?

Yes. Write a rule that allows only the cart status and refund status reads for one tenant, so the agent can report on payments and refunds for that tenant but cannot create carts, charge tokens, or issue refunds. Every call it makes is logged.

### Which server does the PGS Payment API spec point to?

The spec lists a pre-production host, pm.preprod.parking.scheidt-bachmann.net, under the `/pgs/public/api/payment` base path. Confirm the production host for your tenant with Scheidt & Bachmann before moving real payments.
