Skip to main content

Update an existing Transaction.

PATCH 

/transactions/:id

Update an existing Transaction.

Request

Path Parameters

    id uuidrequired

Body

required

Partial Transaction, only containing the fields that should be updated.

    transaction

    object

    Partial Transaction, only containing the fields that should be updated. Note that id, externalId, type, user, amountCents, fromAccount, fromDream, toAccount and toDream cannot be changed after creation. The state is changed by setting the settledAt and failedAt timestamps respectively.

    requestedAt RFC3339
    settledAt RFC3339
    failedAt RFC3339

Responses

The updated transaction.

Schema

    transaction

    object

    oneOf

    type stringrequired

    Possible values: [Deposit]

    id stringrequired
    externalId string
    transferConsentId uuid

    user

    object

    required

    type stringrequired
    id stringrequired
    externalId string
    amountCents integerrequired
    state stringrequired

    Possible values: [requested, settled, failed]

    requestedAt RFC3339required
    settledAt RFC3339
    failedAt RFC3339

    toAccount

    object

    required

    type stringrequired
    id stringrequired
    externalId string

    toDream

    object

    type stringrequired
    id stringrequired
    name stringrequired
Loading...