post https://api-sandbox.pismolabs.io/corporate/v2/earmarks
Creates an earmark.
An account holder can use an earmark to hold needed funds in reserve until a specified release date and time.
Optionally, the account holder can schedule a payout for the release date and time. At that time, an automatic process releases the earmarked funds and settles the payout.
It's possible to force the creation of an earmark by not performing any regular validations, such as account status, account balance, or flex controls validations.
This endpoint generates the following events:
- Platform authorization created
- Account balance changed
- Account balance changed (Availables)
- Transaction created
- Earmark created, updated, or canceled with
CREATED
action.
NOTES:
- This endpoint requires an account-specific access token. Getting an account token requires you to call the Get OpenID access token endpoint with an external account ID. Tokens can expire quickly, which can result in an unauthorized message.
- To find the correct reason IDs, refer to the List account status reasons endpoint.