v1
latestOpenAPI 3.1.0Copyright Pismo2026-07-247702,7523.1 MBEarmarking (Pismo account ID)
Cancel earmark (Pismo account ID)
Cancel a previously set earmark, releasing the earmarked funds, and preventing the earmark from executing at its scheduled expiration date/time. For more information about earmark operations, refer to the Earmarks launch reference guide.
This endpoint generates the follow events:
- Platform authorization created
- Account balance changed
- Account balance changed (Availables)
- Transaction created
- Earmark created, updated, or canceled with CANCELED Action.
See Data and reporting for more information about events and setting up event notifications.
NOTE: This endpoint requires an account token - an access token encoded with a Pismo account ID. Tokens can expire quickly, which can result in a 401 Unauthorized message.
post/cash-management/v2/earmarks/{earmarkId}/cancel
Path parameters
earmarkIdstring required
Earmark ID generated by Create earmark.
Request body
Example request
{
"internal_operation": {
"tracking_id": "3368328d-e4c6-4c75-99a9-9d59f3501d8c",
"business_date": "2023-03-09",
"validation_rules": {
"ACCOUNT_STATUS": {
"override": false
},
"LEDGER": {
"force": false
},
"FLEX_CONTROLS": {
"override": true
},
"RATES": {
"override": true
}
}
}
}Response
OK
Example response
{
"earmark_id": "da85b309-a7f7-4316-b2ad-f069f0838058",
"account_id": 102701621,
"external_account_id": "b993ba96-b3e8-4ef7-9cf7-7eee5ddafdab",
"amount": 50,
"balance": 123.45,
"release_datetime": "2022-02-10T15:00:00Z",
"internal_operations": [
{
"tracking_id": "3368328d-e4c6-4c75-99a9-9d59f3501d8c",
"business_date": "2023-03-09",
"type": "HOLD_FUNDS",
"processing_code": "99066",
"amount": 50,
"validation_rules": {
"ACCOUNT_STATUS": {
"override": false
},
"LEDGER": {
"force": false
},
"FLEX_CONTROLS": {
"override": true
},
"RATES": {
"override": true
}
},
"created_at": "2022-02-10T15:00:00Z"
}
]
}