Skip to main content

Connecting to jCard

· 4 min read
Ing. Santiago Revilla
Senior Software Engineer
AR Agent
AI assistant

A customer portal needs card balances. A back-office application needs to maintain customers and accounts. A reconciliation job needs transaction history. None of them should have to impersonate an operator in a browser or connect directly to the issuer's database.

The jCard customer API gives these systems a defined interface through the jPOS Control Plane. The useful starting point is not an endpoint list alone. It is an integration identity, the permissions it needs, and a first request whose result can be inspected.

An identity for the integration​

An API key belongs to an API consumer. That consumer identifies the integration and belongs to one entity. The server derives the entity from the credential; changing an entity parameter in a URL does not move the caller into another entity's data.

Roles describe what that identity may do. An inquiry integration can read without changing anything. A card operator can work with customers, accounts, and the card lifecycle. An administrator role adds catalog changes. A reporting job does not need the same permissions as an application that maintains card products.

The signing secret is shown once when the key is created. Requests use it to compute an SSR1 signature over the method, request target, timestamp, and body. The secret itself is not sent. A bad signature is refused rather than falling back to a browser session that happens to be present.

Make the first request observable​

The video follows the path from the in-app API reference and key creation to requests in Bruno. The collection's pre-request script handles signing, leaving the developer free to inspect the URL, parameters, and response.

whoami is a useful first call: it confirms the identity, entity, and permissions the server actually sees. From there, the demonstration moves through catalog and card queries, balances, and authorization history, then deliberately sends invalid input to inspect the error response.

Cards are addressed by opaque tokens, not PANs. Display fields such as the BIN and last four digits give an application enough context to identify a card to its user without turning a routine inquiry into a request for the full card number.

A retry is not a new operation​

Reads are only part of an integration. Writes need an answer to a familiar problem: the connection failed, but did the operation complete?

Each write carries a client-generated request id inside its signed JSON body. Repeating the same request with the same id returns the stored response instead of performing the write again. Reusing that id for a different path or body produces an idempotency conflict.

That distinction belongs in the client from the beginning. A retry preserves the id; a new operation gets a new one. The id names the request, not the customer, card, or account that the server creates.

Keep the contract close to the running system​

The Control Plane publishes the OpenAPI reference for the version it runs. The new jCard API Integration Guide explains credentials, signing, writes, and troubleshooting; its integrator bundle brings the guide, OpenAPI specification, and Bruno collection together.

The reference supplies the detail. The collection makes it executable. The guide explains the rules that connect the two. Together they give an integration team a shorter path from receiving a credential to understanding what its application is allowed to do—and what happens when a request fails.