patch https://api-sandbox.pismolabs.io/corporate/v2/earmarks/
Update an earmark balance.
This endpoint generates the following events:
- Platform authorization created
- Account balance changed
- Account balance changed (Availables)
- Transaction created
- Earmark created, updated, or canceled with
UPDATED
action.
NOTES:
- 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.
- To find the correct reason IDs, refer to the List account status reasons endpoint.
- The maximum number of internal operation inputs (updates that change the earmark amount) allowed is 2,000. Update requests that exceed this limit return bad request errors.
- An earmark balance cannot be reduced to zero as a result of this operation. If succussfully executing the request would result in a zero balance, the request fails and a bad request error is returned. If you want to reduce the balance to zero, you must use Cancel earmark, instead.