curl --request PATCH \
--url https://api.treasuryprime.com/transaction/{id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"category": "interest"
}'
{
"ach_id": "ach_1234567",
"amount": "1975.00",
"balance": "256147.27",
"billpay_payment_id": null,
"book_id": null,
"card_id": null,
"category": "interest",
"check_id": null,
"check_number": null,
"date": "2017-11-27",
"desc": "EXT-XFER Sq. Nbr.: 123456",
"extended_timestamp": "2017-11-27T01:02:03Z",
"extended_timestamp_precise": "2017-11-27T01:02:03.400Z",
"fednow_id": null,
"fingerprint": "2k7vxetham4i1v3ceb5vs6",
"id": "ttx_113333abcd",
"incoming_ach_id": null,
"incoming_wire": null,
"incoming_wire_id": null,
"issued_check_id": null,
"network_transfer_id": null,
"related_transfer_ids": [],
"summary": "ACME CORP VENDOR PMT",
"trace_id": null,
"type": "deposit",
"type_source": null,
"userdata": null,
"wire": null,
"wire_id": null
}
curl --request PATCH \
--url https://api.treasuryprime.com/transaction/{id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"category": "interest"
}'
{
"ach_id": "ach_1234567",
"amount": "1975.00",
"balance": "256147.27",
"billpay_payment_id": null,
"book_id": null,
"card_id": null,
"category": "interest",
"check_id": null,
"check_number": null,
"date": "2017-11-27",
"desc": "EXT-XFER Sq. Nbr.: 123456",
"extended_timestamp": "2017-11-27T01:02:03Z",
"extended_timestamp_precise": "2017-11-27T01:02:03.400Z",
"fednow_id": null,
"fingerprint": "2k7vxetham4i1v3ceb5vs6",
"id": "ttx_113333abcd",
"incoming_ach_id": null,
"incoming_wire": null,
"incoming_wire_id": null,
"issued_check_id": null,
"network_transfer_id": null,
"related_transfer_ids": [],
"summary": "ACME CORP VENDOR PMT",
"trace_id": null,
"type": "deposit",
"type_source": null,
"userdata": null,
"wire": null,
"wire_id": null
}
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Unique identifier for object
The transaction to update
The body is of type object
.
The transaction updated
The response is of type object
.
Was this page helpful?