that is called ‘kiting’
I do not think that is what credit card kiting is:
“Credit card kiting is using one or more credit cards to obtain cash and purchasing power they do not have or the payment of credit card balances with the profit from the other card. It is distinct from check-kiting and, in almost all cases, illegal.”
There was no profit involved. The poster was not getting cash.