Operations
Version 2
Permission codes for each operation:
Example:
Header Parameter:
Body Parameters:
Example:
Header Parameter:
Body Parameters:
Response:
Private API key to be provided in the format Api-Key <key>.
Api-Key 1sxkXhZt.cz1mPFsYtnPG9nsXhCWuEty6RiaxCbZmThe Tracking-Key is a unique identifier provided by the merchant for each operation request.
It is crucial for ensuring the distinctiveness of each operation.
When initiating an operation, this key is stored alongside other transaction details in the database.
It serves as a reference for future status queries.
Enabling the retrieval of the latest status information for a specific operation.
Ensure that each Tracking-Key is distinct to prevent ambiguities in operation tracking and status updates.
Tracking-Key: your_operation_tracking_keyFetch the payment txn based on the order no or session id also, if the payment txn is not in the accepted state for the input operation, raise an error
This is an optional identifier used to specify the payment transaction upon which the operation should be performed. You can use either the order_no or session_id field; at least one of these two identifiers must be provided to select the payment transaction that should be actioned.
Similar to order_no, session_id is an optional identifier used to specify the payment transaction for the operation. You must provide either order_no or session_id in order to select the appropriate payment transaction.
delete- deletecancel- cancelexpire- expirerefund- refundcapture- capturevoid- void
This field is optional and used to specify the amount you want to action for refund and capture operations. If not specified, Ottu will attempt to perform the operation on the full amount, or the remaining amount if previous operations have been performed. Keep in mind that void operations always concern the full amount; the amount field is not considered in this case. The amount field can be sent for all operations, but it will only be taken into account for refund and capture operations.
^-?\d{0,13}(?:\.\d{0,3})?$Last updated