patch https://api.berbix.com/v0/transactions
Purpose: Changes the action
on a completed transaction.
Auth: Requires an access_token
bearer token for authentication in the Authorization
header parameter. Authorization: Bearer <token>
Expected Response: JSON payload for the specified transaction including the updated action
.
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
})