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.
The events authorization-event-1 and creation include "corporate_metadata" in the "metadata" and "details" fields respectively. The "corporate_metadata" contains the following fields:
debit_external_account_id: The debited account in the creation operation.
earmark_id: The created earmark id.
The event earmark only contains internal_operation that refers to the operation performed (Earmark update), it does not contain the complete list of all actions performed on the earmark. If the update action does not change the earmark amount, the internal_operation field is empty.
Click Try It! to start a request and see the response here!