The platform filters all accruals using accrual_status
. For each accrual type in the results, it adds the values and posts one transaction for the total amount.
The status for each accrual filtered is changed to PROCESSED
.
The 201 Created
HTTP status response code indicates that the accruals were processed. However, the process that posts the transactions on the account's statement is asynchronous. To check if all transactions were created, check the Transaction created event to verify that a transaction was created for each tracking_id
returned by the endpoint.
NOTE: This endpoint requires an account-specific access token. Getting an account token requires you to call Get OpenID access token with an external account ID. Tokens can expire quickly, which can result in an Unauthorized message.