Update a Transaction

Update specific fields of a manually created transaction.

The Update a Transaction endpoint allows you to modify certain details of a manually created transaction. This is useful for correcting or adding additional information to a transaction record.

Key Features

  • Modify custom fields or descriptors.
  • Correct errors in manually created transactions.

Usage Notes

Immutable Fields: Certain fields, such as amount, currency, status, and type cannot be modified.

Validation: Ensure that the data in the request body adheres to the expected formats and types.


Response Structure

CodeResponseReason
200SuccessReturns the updated transaction object with the new metadata or changes applied.
400Bad RequestInvalid request parameters or attempting to modify immutable fields.
401UnauthorizedAuthentication failed.
404Not FoundTransaction ID does not exist or cannot be updated.
500Internal Server ErrorAn unexpected error occurred on the server.

Important Considerations

Audit Trails: Keep records of transaction changes for auditing purposes.

Data Integrity: Avoid altering transaction data in a way that misrepresents the original transaction.

Customer Communication: If changes impact the customer (e.g., receipt information), consider notifying them accordingly.

Language
Credentials
OAuth2
Click Try It! to start a request and see the response here!