Refresh Single Transaction
POST/api/magento2/integration-instances/:magento2IntegrationInstance/transactions/:txn/refresh
Re-fetch a single invoice or credit memo from Magento 2 and return the refreshed row — typically after it was captured or refunded in Magento admin. Synchronous.
This endpoint currently requires session authentication; Personal Access Token scope support is in progress.
Returns 404 when the row does not exist on this instance, and 422 with Magento's reason when Magento 2 refuses or cannot be reached.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.