patch https://api.berbix.com/v0/transactions
Changes a completed transaction's "action", for example upon review in your systems. Returns the updated transaction upon success.
Requires an access_token
bearer token for authentication in the Authorization
header parameter: Authorization: Bearer <token>
API Library Usage
var transactionData = await client.updateTransaction(transactionTokens, {
action: "your action", // action to be taken
note:"your note", // note for this action
})
$transactionData = $client->updateTransaction($transactionTokens, array(
'action' => "your action", // action to be taken
'note' => "your note", // note for this action
));
transaction_data = client.update_transaction(transaction_tokens,
action="your action", # action to be taken
note="your note", # note for this action
)
transaction_data = client.update_transaction(transaction_tokens,
action: 'your action', # action to be taken
note: 'your note', # note for this action
)
transactionData, err := client.UpdateTransaction(transactionTokens, &UpdateTransactionOptions{
Action: "your action", // action to be taken
Note: "your note", // note for this action
})