Update Payment

The Update Payment API is meticulously designed to modify existing payment transactions efficiently and securely. Utilizing the PATCH method, this API allows for precise adjustments to specific parts of a payment transaction, such as transaction amounts or cart items. This targeted updating approach increases trustability as it eliminates the need to resend the entire transaction data.

For secure access, this API supports both API key and Basic Authentication methods. Furthermore, the "Can Change Payment" permission must be activated for users to successfully operate this API when employing Basic Authentication. Detailed instructions on enabling this permission can be found in the Update Permission section.

For comprehensive details on how to implement this API, including the necessary request and response parameters, please consult the Request Parameters and Response Parameters sections.

To further enhance integration and fully leverage the API’s capabilities, merchants are encouraged to review the Setup section within the Checkout API's main documentation. This section provides detailed information on available SDK packages, offering guidance designed to streamline the integration process and optimize the use of the Update Payment Transaction API.

  • Targeted Updates: Utilize the PATCH method to make specific changes to a transaction, which helps in conserving bandwidth and reducing processing time by not resending entire data payloads.

  • Enhanced Trustability: By allowing modifications to only certain parts of a transaction, this API method reinforces the security and accuracy of the transaction data.

  • Flexible Adjustments: Adjust transaction details like amounts, items, or customer information dynamically, responding efficiently to customer requests or operational demands.

To update a payment transaction, use the following endpoint. The request should include the session_id as a query parameter to specify the transaction to be updated:

PATCH https://<ottu-url>/b/checkout/v1/pymt-txn/?session_id={session_id}

Last updated