Transactions
Update a transaction.
Changed onUpdates a Transaction by external transaction ID.
Note: If you are using the Alloy Events API, you do not need to use any of the Transactions endpoints. All data should be sent through the Events API with a relevant event_type.
patch/transactions/{transaction_id}
Request
- Base URLhttps://sandbox.alloy.co/v1
- Auth
- OAuth 2Client credentialsToken URL/oauth/bearer
- or HTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"source": {
"external_account_id": "test-account-001",
"account_class": "deposit",
"entities": [
{
"external_entity_id": "entity-01",
"account_holder_type": "primary"
}
],
"account_snapshot": {
"timestamp": "2022-03-21T21:50:07.623Z",
"details": {
"status": "Active"
}
}
},
"destination": {
"external_account_id": "test-account-001",
"account_class": "deposit",
"entities": [
{
"external_entity_id": "entity-01",
"account_holder_type": "primary"
}
],
"account_snapshot": {
"timestamp": "2022-03-21T21:50:07.623Z",
"details": {
"status": "Active"
}
}
}
}Response
Transaction updated successfully.
Example response
{
"source": {
"external_account_id": "test-account-001",
"account_class": "deposit",
"entities": [
{
"external_entity_id": "entity-01",
"account_holder_type": "primary"
}
],
"account_snapshot": {
"timestamp": "2022-03-21T21:50:07.623Z",
"details": {
"status": "Active"
}
}
},
"destination": {
"external_account_id": "test-account-001",
"account_class": "deposit",
"entities": [
{
"external_entity_id": "entity-01",
"account_holder_type": "primary"
}
],
"account_snapshot": {
"timestamp": "2022-03-21T21:50:07.623Z",
"details": {
"status": "Active"
}
}
}
}Changes
- breaking
added to the request body
allOflist - warning
removed
subschema #1from the request bodyallOflist - info
added to the response body
allOflist for the response status - info
removed from the response body
allOflist for the response status
- breaking