PUT
/
transactions
/
{id}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

Transaction ID.

Body

application/json
description
string

Description of the transaction.

amount
integer

Amount of the transaction.

callback_url
string

URL to receive transaction updates.

status
string

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

Response

200 - application/json
id
integer

Transaction ID.

reference
string

Transaction reference.

amount
integer

Transaction amount.

description
string

Transaction description.

callback_url
string

Transaction callback URL.

status
string

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

customer_id
integer

Customer ID associated with the transaction.

currency_id
integer

Currency ID associated with the transaction.

metadata
object

Additional metadata related to the transaction.

commission
integer

Transaction commission.

fees
integer

Transaction fees.

fixed_commission
integer

Fixed commission applied to the transaction.

amount_transferred
integer

Amount transferred to the beneficiary.

created_at
string

Date and time of transaction creation.

updated_at
string

Date and time of last transaction update.

approved_at
string

Date and time of transaction approval.

canceled_at
string

Date and time of transaction cancellation.

declined_at
string

Date and time of transaction decline.

refunded_at
string

Date and time of transaction refund.

transferred_at
string

Date and time of transaction transfer.

deleted_at
string

Date and time of transaction deletion.

last_error_code
string

Last error code encountered during the transaction.

custom_metadata
object

Custom metadata associated with the transaction.

amount_debited
integer

Amount debited from the payer.

receipt_url
string

URL to the transaction receipt.

payment_method_id
integer

Payment method ID used for the transaction.

sub_accounts_commissions
any[]

Commissions applied to sub-accounts.

transaction_key
string

Unique key associated with the transaction.

merchant_reference
string

Merchant reference provided for the transaction.

account_id
integer

Account ID associated with the transaction.

balance_id
integer

Balance ID associated with the transaction.