Modifying a shipment transaction
The initial transaction cannot be modified in case of payment upon shipment. However, shipment transactions created based on this initial transaction can be adjusted.
These modifications allow you to adapt the amount (without exceeding the initial amount) and the date of capture in the bank.
In order to modify a transaction, make a call to the Transaction/Update Web Service.
POSThttps://api.gateway.monetico-retail.com/api-payment/V4/Transaction/Update
Use the fields below to build your request:
Field name | Description | Required |
---|---|---|
uuid | Unique transaction identifier generated by the payment gateway. | Yes |
orderId | Order reference. | No |
comment | Comment. | No |
cardUpdate.amount | Payment amount in the smallest currency unit. | Yes |
cardUpdate.currency | Alphabetic code of the currency (ISO 4217 alpha-3). | Yes |
cardUpdate.expectedCaptureDate | Date of capture at the bank expressed in ISO 8601 format. E.g.: 2023-05-09T07:46:06+00:00 | No |
Request example:
POST https://api.gateway.monetico-retail.com/api-payment/V4/Transaction/Update
{ "cardUpdate": { "amount": 3500, "currency": "EUR" }, "orderId": "myOrderId-902805", "uuid": "a0b61d1e159748eaab876cfe342e8c08" }
The Web Service returns a response of Common/ResponseCodeAnswer type.
In order to obtain more information on the contents of the Transaction object, test the Transaction/Update Web Service using our playground.