v1

latestOpenAPI 3.0.02026-07-2623060.7 KB

Update a transaction

put/transactions/{id}

Path parameters

idinteger required

Transaction ID.

Request body

descriptionstring

Description of the transaction.

amountinteger

Amount of the transaction.

callback_urlstring url

URL to receive transaction updates.

statusstring

Transaction status (e.g., 'pending', 'approved', 'canceled').

Response

Transaction updated successfully.

idinteger

Transaction ID.

referencestring

Transaction reference.

amountinteger

Transaction amount.

descriptionstring

Transaction description.

callback_urlstring

Transaction callback URL.

statusstring

Transaction status (e.g., 'pending', 'approved', 'canceled').

customer_idinteger

Customer ID associated with the transaction.

currency_idinteger

Currency ID associated with the transaction.

metadataobject

Additional metadata related to the transaction.

commissioninteger

Transaction commission.

feesinteger

Transaction fees.

fixed_commissioninteger

Fixed commission applied to the transaction.

amount_transferredinteger

Amount transferred to the beneficiary.

created_atstring date-time

Date and time of transaction creation.

updated_atstring date-time

Date and time of last transaction update.

approved_atstring date-time

Date and time of transaction approval.

canceled_atstring date-time

Date and time of transaction cancellation.

declined_atstring date-time

Date and time of transaction decline.

refunded_atstring date-time

Date and time of transaction refund.

transferred_atstring date-time

Date and time of transaction transfer.

deleted_atstring date-time

Date and time of transaction deletion.

last_error_codestring

Last error code encountered during the transaction.

custom_metadataobject

Custom metadata associated with the transaction.

amount_debitedinteger

Amount debited from the payer.

receipt_urlstring url

URL to the transaction receipt.

payment_method_idinteger

Payment method ID used for the transaction.

transaction_keystring

Unique key associated with the transaction.

merchant_referencestring

Merchant reference provided for the transaction.

account_idinteger

Account ID associated with the transaction.

balance_idinteger

Balance ID associated with the transaction.