API · processModification
API v1An MCP tool wraps this operation: Sales and transactions.
POST /api/v1/processModificationWhat it does#
Modifies an already processed transaction: capture, refund or reversal.
Authentication#
Requires the API bearer token in the Authorization header — see authentication.
Parameters#
Number of the order sent in the original charge.
Type of modification.
| Code | Value |
|---|---|
| 1 | Capture |
| 2 | Refund |
| 3 | Reversal |
Amount to modify.
Key associated with the customer. Obtained in Admin panel · Platform integrations.
Request example#
The <...> values are placeholders: replace them with your own credentials and data.
{
"orderNumber": "1214352",
"type": "2",
"amount": "1.00",
"key": "<api_key>"
}Response#
type: "100" means the modification was processed; its outcome is in ReasonCode and ReasonCodeDescription. 1101 = approved.
Approved:
{"type":"100","transactionId":954183,"ReasonCode":"1101","ReasonCodeDescription":"Transaccion aprobada","OrderHash":"<order_hash>"}Rejected:
{"type":"100","transactionId":954183,"ReasonCode":"3","ReasonCodeDescription":"Invalid Retrieval reference number","OrderHash":"<order_hash>"}Error (type 300 or 400):
{"type":"400","message":"Order number: TYP974_172 does not exist"}"100" indicates that the modification was processed.
Transaction identifier.
Result code of the modification.
Result text.
To interpret a response that is not a success, see how to read an error response.
Last verified: 2026-10-22