HomeGuidesAPI ReferenceChangelog
Terms of Use
API Reference

Payment terminal / Activate with provider

⚠️ Experimental endpoint — not yet a stable contract. This action ships as experimental / beta. While experimental, its schema and behaviour may change without a version bump — including breaking changes within v1.0 itself. Anyone consuming it does so for evaluation only, or by coordinating adoption with their account manager so changes can be sequenced with them. It graduates to a stable, version-locked contract (where the normal breaking-change rules apply) only when this experimental notice is removed.

Activate a payment terminal with the provider of an "OCPI payment terminals" integration and create it in the platform. The provider returns the OCPI terminal object, and the platform creates a payment terminal of type OCPI from it. This action requires the permission to create payment terminals.

This action creates the payment terminal. For integrations that don't allow manual creation, it is the only way to create a terminal through the API.

The request is checked in this order:

  1. The integration must be an "OCPI payment terminals" integration that supports terminal activation and does not allow manual payment terminal creation, otherwise 422 on integrationId.
  2. An API token restricted to an operator can activate terminals only for an integration of the same operator, otherwise 422 on integrationId with the same message as step 1.
  3. No terminal with the same TID number (serialNumber) may exist on the integration's OCPI connection, otherwise 409.
  4. The provider must accept the activation, otherwise 424 with the reason in message. The request also returns 424 when the integration has no working OCPI connection to the provider, or when the provider activated the terminal but the platform could not save it.

The created terminal gets the operator of the integration (none for an integration without an operator) and is not assigned to a charge point or a charging zone. Assign it with the update operation of the payment terminals resource.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
integer
required

The ID of the "OCPI payment terminals" integration through which the terminal is activated.

string
required

The serial number (or TID number) of the terminal, which you get from your merchant.

Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json