HomeGuidesAPI ReferenceChangelog
Terms of Use
API Reference

Transaction / Update

Update a non-finalised transaction. When status is finalized and a payment signature was created for the transaction through the Create payment signature action, the request must carry that paymentSignature together with ref; otherwise it returns HTTP 422 on paymentSignature.

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

The Transation ID to fetch

Body Params
integer

The ID of the charging session to associate with this transaction. Can only be set if the transaction does not already have a session assigned.
Sessions initiated over OCPP (local payment terminal, RFID, plug-and-charge) are eligible,
provided the session belongs to the token's operator.

paymentMethod
object

Card and payment method details recorded for this transaction.
Omitting the whole paymentMethod object leaves every stored card value unchanged.
When the object is present, each of its properties is applied independently:
a property that is present is written, and a property that is absent from the
object keeps its stored value.

string
enum
required
Allowed:
number
required
0 to 10000000000000
number
0 to 10000000000000

The PSP-authorised ceiling for this transaction. This field is only accepted
when the transaction is currently in authorized status; otherwise the request
returns HTTP 422.

string

Reference to the payment processor or payment terminal where more information about
the transaction could be checked. It is the primary reference for the payment and is
updated as the payment progresses through authorisation and capture.
Required when paymentSignature is sent, and then holds the payment terminal's transaction ID for the capture, at most 255 characters.

string

The signature returned by the Create payment signature action and sent to the payment terminal with the capture.
Send it with status finalized when the capture used a payment signature; the invoice then reports this signature and ref.
Required with status finalized once a payment signature was created for this transaction; otherwise the request returns HTTP 422.
Accepted only with status finalized and only for a signature created for this transaction; otherwise the request returns HTTP 422.
The totalAmount captured with it must not exceed the amount that was signed; otherwise the request returns HTTP 422.

string
boolean

When set to true and the operator has receipt suppression for invoice issuance enabled,
the receipt will be suppressed for this transaction. This is intended for terminal
transactions where the customer indicates they want an invoice instead of a receipt.
Ignored when the API token is associated with an ad hoc portal that has invoicing disabled.

paymentMetadata
object

Regulatory payment metadata captured from the payment source (terminal or online).
All keys are optional; only the fields present in the request are persisted, fields
omitted from the request keep their stored value (partial-PATCH semantics).

Responses

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