C1-PAY-FRZ

This algorithm fetches the payment event created through the payment request. If you are freezing the payments of a payment creation request, this algorithm does the following:

  • Changes the status of the payments which are in the Freezable status to Frozen

  • Changes the status of the payment event to Balanced when there are no payments in the Error status

However, if you are freezing the payments of a payment transfer request, this algorithm does the following:

  • Changes the status of the old payments which are in the Frozen status to Cancelled

  • Deletes the old payments which are in the Error status

  • Changes the status of the new payments which are in the Freezable status to Frozen

  • Changes the status of the payment event to Balanced when there are no payments in the Error status